/* ─────────────────────────────────────────────
   meltemanafarta.com — ana stil dosyası
   Palet: mavi · açık yeşil · siyah · gri
   ───────────────────────────────────────────── */
:root {
  --ink:        #111418;
  --navy:       #14304f;
  --blue:       #2b6cb0;
  --blue-dark:  #1d4f86;
  --blue-soft:  #e9f1fa;
  --green:      #8fcfae;
  --green-deep: #4b9a75;
  --green-soft: #ebf6f0;
  --gray-900:   #2a2f36;
  --gray-700:   #444c56;
  --gray-500:   #6b7480;
  --gray-300:   #d6dbe1;
  --gray-100:   #f4f6f8;
  --white:      #ffffff;
  --radius:     10px;
  --shadow:     0 6px 24px rgba(17, 20, 24, .08);
  --nav-h:      64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 600; }
h6 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.center { text-align: center; }
.muted { color: var(--gray-500); }
.section-title { font-size: 1.7rem; margin-bottom: 28px; }
.section-title i { color: var(--green-deep); margin-right: 6px; font-size: .85em; }
.section-label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; font-weight: 700; }
.lead { font-size: 1.12rem; line-height: 1.85; color: var(--gray-700); margin-bottom: 40px; }

/* ── Navigasyon (template ile aynı yapı: sabit, cam efektli) ── */
.site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(17, 20, 24, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav-inner { max-width: 1200px; margin: 0 auto; height: var(--nav-h); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav.scrolled { background: rgba(17, 20, 24, .9); }
.nav-brand { font-family: 'Lora', serif; color: var(--white); font-weight: 600; font-size: 17px; letter-spacing: .3px; white-space: nowrap; }
.nav-brand:hover { color: var(--green); }
.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .88); font-size: 13.5px; font-weight: 600; letter-spacing: .3px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--green); }
.lang-switcher { display: flex; gap: 6px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .4); }
.lang-switcher a { color: rgba(255, 255, 255, .7); font-weight: 700; }
.lang-switcher a.active, .lang-switcher a:hover { color: var(--green); }
.menu-toggle { display: none; width: 32px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Ana sayfa hero ── */
.home-hero { position: relative; margin-top: var(--nav-h); height: calc(100svh - var(--nav-h)); min-height: 480px; background: #0c1014; overflow: hidden; }
.home-hero-photo { position: absolute; inset: 0; background: #0c1014; }
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.home-hero-caption { position: absolute; inset: auto 0 0; padding: 110px 0 24px; background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .92) 100%); text-align: center; }
.hero-content { width: 100%; }
.home-hero h1 { margin: 0 0 12px; color: var(--white); font-family: 'Nunito', system-ui, sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; line-height: 1.18; }
.hero-title-prefix { display: block; margin-bottom: 6px; color: #cbd2d8; font-size: .46em; letter-spacing: .04em; }
.home-hero p { margin: 0 auto; color: #e0e4e8; font-size: clamp(.95rem, 2vw, 1.12rem); line-height: 1.6; max-width: 680px; }
.home-hero-links { padding: 20px 0; background: var(--ink); }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 40px; font-weight: 700; font-size: 14px; letter-spacing: .3px; transition: .2s; }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--white); color: var(--ink); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.welcome-text { font-size: 1.1rem; line-height: 1.9; color: var(--gray-700); text-align: center; margin: 0; }
.welcome-text a { color: var(--blue); border-bottom: 1px solid var(--green); }

/* ── Etkinlikler ── */
.events { display: flex; flex-direction: column; gap: 14px; }
.event { display: grid; grid-template-columns: 170px 1fr auto; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 20px 26px; border-left: 4px solid var(--green); box-shadow: var(--shadow); }
.event-date { font-family: 'Lora', serif; font-weight: 700; color: var(--blue); font-size: 1.1rem; }
.event-body h3 { font-size: 1.15rem; margin: 0 0 4px; }
.event-body p { margin: 0; color: var(--gray-500); font-size: .92rem; }
.event-body i, .event-time i { color: var(--green-deep); margin-right: 4px; }
.event-time { color: var(--gray-700); font-weight: 700; white-space: nowrap; }

/* ── Ana sayfa blog bölümü ── */
.hbs-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--gray-300); padding-bottom: 12px; margin-bottom: 22px; }
.hbs-all { color: var(--blue); font-weight: 700; font-size: .9rem; }
.hbs-featured { display: flex; gap: 22px; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; transition: background .2s; }
.hbs-featured:hover { background: var(--blue-soft); }
.hbs-feat-img { flex: 0 0 260px; min-height: 190px; overflow: hidden; }
.hbs-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hbs-featured:hover .hbs-feat-img img { transform: scale(1.04); }
.hbs-feat-body { padding: 20px 22px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.hbs-feat-body h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.hbs-excerpt { color: var(--gray-700); font-size: .93rem; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hbs-date, .hbs-item-date { color: var(--gray-500); font-size: .8rem; }
.hbs-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hbs-item { min-width: 0; display: flex; gap: 12px; align-items: center; background: var(--gray-100); border-radius: 8px; padding: 10px; transition: background .2s; }
.hbs-item:hover { background: var(--blue-soft); }
.hbs-item-img { flex: 0 0 70px; height: 54px; border-radius: 6px; overflow: hidden; }
.hbs-item-img img { width: 100%; height: 100%; object-fit: cover; }
.hbs-item-body { min-width: 0; }
.hbs-item-title { color: var(--ink); font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tag { background: var(--green-soft); color: var(--green-deep); font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }

/* ── Görselli tanıtım kartları ── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17, 20, 24, .12); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20, 48, 79, .35)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.25rem; }
.card-body p { font-size: .93rem; flex: 1; }
.card-link { font-weight: 700; font-size: .88rem; }
.card-link i { font-size: .75em; margin-left: 4px; }

/* ── Videolar ── */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.video-title { font-size: 1.25rem; text-align: center; margin-bottom: 4px; }
.video-desc { text-align: center; color: var(--gray-500); font-size: .9rem; }
.yt-facade { position: relative; cursor: pointer; background: var(--ink); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.yt-facade:hover img { opacity: 1; }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; border: 0; background: rgba(43, 108, 176, .92); color: var(--white); font-size: 24px; cursor: pointer; padding-left: 5px; transition: background .2s; }
.yt-facade:hover .yt-play { background: var(--green-deep); }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }

/* ── İç sayfa başlığı + breadcrumb ── */
.page-hero { height: 400px; background-size: cover; background-position: center; position: relative; }
.page-hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(17, 20, 24, .35), rgba(20, 48, 79, .55) 55%, rgba(17, 20, 24, .85)); padding-bottom: 36px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 6px; }
.page-hero p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 1.05rem; }
.breadcrumb-bar { background: var(--gray-100); border-bottom: 1px solid var(--gray-300); padding: 12px 0; font-size: .88rem; color: var(--gray-500); }
.breadcrumb-bar .sep { margin: 0 8px; color: var(--green-deep); }
.breadcrumb-bar span:last-child { color: var(--gray-900); font-weight: 600; }

/* ── Biyografi ── */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.prose p { font-size: 1.02rem; line-height: 1.9; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--green); background: var(--green-soft); color: var(--gray-900); font-style: italic; border-radius: 0 8px 8px 0; }
.prose code { background: var(--gray-100); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.side-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 28px; }
.milestone-list { list-style: none; margin: 0; padding: 0; }
.milestone-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--gray-300); font-size: .93rem; line-height: 1.55; }
.milestone-list li:last-child { border-bottom: 0; }
.milestone-year { min-width: 58px; font-weight: 800; color: var(--blue); }
.link-stack { display: flex; flex-direction: column; gap: 6px; }

/* ── Araştırma ── */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.area, .contact-item { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 3px solid var(--green); }
.area h3, .contact-item h3 { font-size: 1.12rem; }
.area p { font-size: .92rem; margin: 0; }
.area-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--green); }
.timeline li { position: relative; padding: 0 0 26px 28px; display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--white); }
.tl-year { font-weight: 800; color: var(--blue); }

/* ── Yayınlar ── */
.pub-list { padding-left: 22px; margin: 0 0 48px; }
.pub-list li { padding: 10px 0 10px 6px; border-bottom: 1px dashed var(--gray-300); line-height: 1.65; }
.pub-list li::marker { color: var(--green-deep); font-weight: 700; }

/* ── Dersler ── */
.course-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.course-list { list-style: none; padding: 0; margin: 0 0 30px; }
.course-list li { padding: 12px 0; border-bottom: 1px solid var(--gray-300); display: flex; gap: 14px; align-items: baseline; }
.course-code { display: inline-block; min-width: 76px; font-size: .78rem; font-weight: 800; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 4px; text-align: center; }
.note-box { background: var(--green-soft); border-radius: var(--radius); padding: 22px 26px; margin-top: 20px; }
.note-box h3 { font-size: 1.15rem; }
.note-box h3 i, .note-box > i { color: var(--green-deep); }
.note-box p:last-child { margin: 0; }
.note-box.small { font-size: .9rem; color: var(--gray-700); }

/* ── Blog listesi ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; color: inherit; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17, 20, 24, .12); color: inherit; }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 18px 20px 22px; }
.post-card-body h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.post-card-body p { font-size: .9rem; color: var(--gray-700); }
.post .tags { margin-bottom: 24px; }

/* ── İletişim ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
.contact-item p { margin: 0; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: 56px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { color: var(--white); font-size: 1.3rem; }
.footer-muted { color: rgba(255, 255, 255, .5); line-height: 1.7; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 6px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--green); }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .82rem; color: rgba(255, 255, 255, .45); }

/* ── Tablet ── */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .cards, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobil ── */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav { background: rgba(17, 20, 24, .88); }
  .nav-inner { justify-content: flex-start; }
  .lang-switcher { font-size: 14px; }
  .lang-switcher a { color: rgba(255, 255, 255, .9); padding: 8px 4px; }
  .lang-switcher { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; width: 100%;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: rgba(17, 20, 24, .94);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 24px; border-bottom: 0; border-left: 3px solid transparent; }
  .nav-links a.active, .nav-links a:hover { border-left-color: var(--green); background: rgba(255, 255, 255, .04); }
  .section { padding: 48px 0; }
  .home-hero-photo img { object-position: center 35%; }
  .home-hero-caption { padding: 100px 0 20px; }
  .home-hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.5rem); }
  .home-hero p { font-size: .92rem; line-height: 1.5; }
  .event { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .hbs-featured { flex-direction: column; }
  .hbs-feat-img { flex: none; height: 190px; }
  .hbs-feat-body { padding: 0 18px 18px; }
  .hbs-list, .video-grid, .two-col, .course-cols, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .two-col { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { height: 300px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 560px) {
  .nav-brand { display: none; }
  .cards, .area-grid, .post-grid { grid-template-columns: 1fr; }
}
