/* ==========================================================
   Sakarya Rizeliler Derneği - Ortak Stil Dosyası
   Renkler: Yeşil, Mavi, Beyaz
   ========================================================== */
:root {
  --green: #1e7d4f;
  --green-dark: #14593a;
  --green-light: #e8f5ee;
  --blue: #1a62a8;
  --blue-dark: #124a82;
  --blue-light: #e8f1fa;
  --text: #1f2a37;
  --muted: #5b6776;
  --border: #e3e8ee;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(18, 74, 130, 0.09);
  --shadow-sm: 0 2px 10px rgba(18, 74, 130, 0.08);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: #12304d; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: 84px 0; }
.section.alt { background: linear-gradient(180deg, #f6fbf8 0%, #f3f8fd 100%); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-head p { color: var(--muted); }
.divider {
  width: 70px; height: 4px; border-radius: 4px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease;
  font-family: inherit;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--green-light); color: var(--green-dark); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost-white:hover { background: #fff; color: var(--blue-dark); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar { background: var(--green-dark); color: #dff0e7; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: #bfe6cf; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.12); }
.topbar-social a:hover { background: var(--green); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.ico { width: 1em; height: 1em; fill: none !important; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar svg.ico { width: 15px; height: 15px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--green), var(--blue)) 1;
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand-logo {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text strong { display: block; font-size: 1.05rem; color: var(--green-dark); letter-spacing: .02em; line-height: 1.2; }
.brand-text { white-space: nowrap; }
.brand-text span { display: block; font-size: .7rem; color: var(--blue); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }

.nav-collapse { display: flex; align-items: center; gap: 14px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  display: block; padding: 8px 10px; border-radius: 8px; white-space: nowrap;
  color: var(--text); font-weight: 600; font-size: .92rem;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--green); background: var(--green-light); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 9px 20px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--blue-dark); margin: 5px 0; border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; background: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(26,98,168,.16), transparent 70%); }
.hero::after { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(30,125,79,.16), transparent 70%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue-dark); font-weight: 600; font-size: .85rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.hero h1 .g { color: var(--green); }
.hero h1 .b { color: var(--blue); }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-card {
  background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-card { max-width: 440px; width: 100%; margin-inline: auto; }
.hero-visual { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 3 / 4; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--green), var(--blue)); }

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img {
  border-radius: 20px; position: relative; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4;
  border-bottom: 6px solid var(--green); max-width: 480px; width: 100%; margin-inline: auto;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.about-text p { color: var(--muted); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.mv div { padding: 20px; border-radius: var(--radius); }
.mv .m { background: var(--green-light); border-left: 4px solid var(--green); }
.mv .v { background: var(--blue-light); border-left: 4px solid var(--blue); }
.mv h4 { margin-bottom: 6px; }
.mv p { margin: 0; font-size: .92rem; }

/* ---------- Faaliyetler ---------- */
.slider { position: relative; --gap: 24px; --per: 3; }
.slider-viewport { overflow: hidden; padding: 12px 4px 26px; margin: -12px -4px -26px; }
.slider-track { display: flex; gap: var(--gap); transition: transform .55s cubic-bezier(.4,.1,.2,1); will-change: transform; }
.slider-track .card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 38px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; color: var(--blue);
  display: grid; place-items: center; cursor: pointer; transition: .2s; padding: 0;
}
.slider-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.slider-btn:disabled { opacity: .35; cursor: default; border-color: var(--border); color: var(--muted); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: 10px; }
.slider-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: #c9d6e2; cursor: pointer; transition: .25s; }
.slider-dots button.active { background: var(--green); width: 30px; border-radius: 8px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: .25s; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: .3s; }
.card:nth-child(even)::before { background: var(--blue); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; background: var(--green-light); color: var(--green-dark); }
.card:nth-child(even) .icon { background: var(--blue-light); color: var(--blue-dark); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Duyurular ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-item { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.news-top { padding: 22px 24px 0; display: flex; align-items: center; gap: 14px; }
.date { width: 62px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); flex-shrink: 0; }
.date b { display: block; background: var(--green); color: #fff; font-size: .72rem; letter-spacing: .08em; padding: 3px 0; text-transform: uppercase; }
.news-item:nth-child(even) .date b { background: var(--blue); }
.date span { display: block; font-size: 1.6rem; font-weight: 700; color: var(--text); padding: 4px 0; }
.tag { font-size: .78rem; font-weight: 700; color: var(--blue); background: var(--blue-light); padding: 4px 12px; border-radius: 999px; }
.news-body { padding: 18px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 1.1rem; }
.news-body p { color: var(--muted); font-size: .93rem; }
.news-body a { margin-top: auto; font-weight: 600; font-size: .92rem; }

/* ---------- CTA bandı ---------- */
.cta { background: linear-gradient(115deg, var(--green) 0%, var(--blue) 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.cta p { margin: 0; opacity: .92; max-width: 620px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Galeri ---------- */
/* Galeri: tüm ekranlarda kaydırmalı slider (masaüstünde 3, tablette 2, telefonda 1+ görünür) */
.gallery {
  position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 14px; margin: -6px -4px -14px; scroll-padding-inline: 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery > .g-item { flex: 0 0 calc((100% - 40px) / 3); width: auto; scroll-snap-align: start; }
.snap-controls { margin-top: 28px; }
/* Tüm kutular aynı boyutta; fotoğraf kesilmeden tamamı görünür, boşluklar bulanık arka planla dolar */
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: #e9eff5; aspect-ratio: 4 / 3; width: 100%;
  border: 0; padding: 0; font-family: inherit; box-shadow: var(--shadow-sm);
}
.g-item::before {
  content: ""; position: absolute; inset: -24px; background: var(--img) center / cover no-repeat;
  filter: blur(22px) saturate(1.1); opacity: .85;
}
.g-item img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-item .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 600; font-size: .9rem; text-align: left;
  background: linear-gradient(0deg, rgba(8,40,70,.78), transparent);
  opacity: 0; transform: translateY(8px); transition: .25s;
}
.g-item:hover .label, .g-item:focus-visible .label { opacity: 1; transform: none; }
.gallery-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 22px; }

.lightbox { position: fixed; inset: 0; background: rgba(6,24,42,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-content { max-width: 900px; width: 100%; text-align: center; color: #fff; }
.lightbox-content img { max-height: 76vh; margin: 0 auto; border-radius: 12px; }
.lightbox-content p { margin: 14px 0 0; font-weight: 600; }
.lb-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Konum ---------- */
.loc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.location { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: stretch; }
.info-box { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--green); display: flex; flex-direction: column; }
.info-box .info-list { flex: 1; }
.info-box .btn + .btn { margin-top: 10px; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--blue-light); display: grid; place-items: center; font-size: 1.15rem; color: var(--blue-dark); }
.info-list li:nth-child(odd) .ic { background: var(--green-light); color: var(--green-dark); }
.info-list strong { display: block; color: #12304d; }
.info-list span, .info-list a { color: var(--muted); font-size: .94rem; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.contact-side { background: linear-gradient(160deg, var(--green-dark), var(--blue-dark)); color: #fff; border-radius: 18px; padding: 38px; align-self: start; }
.contact-side .info-list li:last-child { margin-bottom: 0; }
.contact-side .info-list { margin-bottom: 0; }
.contact-side h3 { color: #fff; font-size: 1.4rem; }
.contact-side > p { opacity: .9; }
.contact-side .info-list .ic, .contact-side .info-list li:nth-child(odd) .ic { background: rgba(255,255,255,.15); color: #fff; }
.contact-side .info-list strong { color: #fff; }
.contact-side .info-list span, .contact-side .info-list a { color: #dcebf7; }
.contact-side .info-list a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; color: #fff; transition: .2s; }
.social-row a:hover { background: #fff; color: var(--green-dark); transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; fill: currentColor; }
.social-row a.social-handle { width: auto; height: 42px; border-radius: 999px; padding: 0 20px 0 13px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }

.form-box { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.form-box h3 { font-size: 1.4rem; }
.form-box > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: #29415a; }
.field label .req { color: #d23b3b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font: inherit; font-size: .95rem; color: var(--text); background: #fbfcfd; transition: .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26,98,168,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 4px; accent-color: var(--green); width: 17px; height: 17px; }
.alert { display: none; padding: 14px 18px; border-radius: 10px; background: var(--green-light); color: var(--green-dark); border: 1px solid #b7e0c9; font-weight: 600; margin-top: 16px; }
.alert.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: #0f2a43; color: #b9c8d8; padding: 64px 0 0; border-top: 5px solid var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--green); }
.footer a { color: #b9c8d8; }
.footer a:hover { color: #7fe0ae; }
.footer li { margin-bottom: 10px; font-size: .94rem; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: #8cc4f0; }
.footer .brand p { margin-top: 14px; }
.footer-about { font-size: .93rem; margin-top: 16px; }
.footer .social-row { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .86rem; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff; border: 0; font-size: 1.3rem; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--blue); }

/* ---------- Giriş / Üye Ol sayfaları ---------- */
.page-banner { background: linear-gradient(115deg, var(--green) 0%, var(--blue) 100%); color: #fff; padding: 52px 0; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 8px; }
.page-banner p { margin: 0; opacity: .92; }
.crumbs { font-size: .85rem; margin-bottom: 12px; opacity: .85; }
.crumbs a { color: #fff; text-decoration: underline; }

.form-page { padding: 56px 0 80px; background: linear-gradient(180deg, #f6fbf8, #fff 40%); }
.form-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 42px; box-shadow: var(--shadow); }
.form-card.narrow { max-width: 460px; }
.form-section-title { font-size: 1.02rem; color: var(--green-dark); padding-bottom: 8px; margin: 10px 0 18px; border-bottom: 2px solid var(--green-light); }
.form-links { display: flex; justify-content: space-between; font-size: .9rem; margin: 4px 0 20px; }
.switch { text-align: center; margin-top: 22px; color: var(--muted); font-size: .94rem; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 0 auto 28px; }
.benefits div { background: var(--green-light); border-radius: 12px; padding: 14px 16px; font-size: .9rem; color: var(--green-dark); font-weight: 600; }
.benefits div:nth-child(2) { background: var(--blue-light); color: var(--blue-dark); }

/* ---------- Yardımcılar ---------- */
body { overflow-x: clip; }
.info-list a, .info-list span, .footer li { overflow-wrap: anywhere; }
.nav-overlay, .nav-contact { display: none; }

/* ---------- Duyarlı: hamburger menü ---------- */
@media (max-width: 1230px) {
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; flex-shrink: 0;
    background: var(--blue-light); border-radius: 12px; transition: background .2s;
  }
  .nav-toggle span { margin: 0; width: 22px; }
  .nav-toggle.open { background: var(--green-light); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 99; background: rgba(8,30,50,.5);
    opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(2px);
  }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }

  .nav-collapse {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 16px 4% 20px; border-radius: 0 0 22px 22px;
    max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto;
    box-shadow: 0 24px 40px rgba(8,30,50,.22); border-bottom: 0;
  }
  .nav-collapse.open { display: flex; animation: navIn .25s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

  .nav-menu {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 6px; width: 100%; margin: 0; padding: 0; list-style: none;
  }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    display: block; width: 100%; box-sizing: border-box; text-align: left;
    background: #f3f7fb; padding: 13px 16px; border-radius: 12px; font-size: 1rem;
    white-space: normal;
  }
  .nav-menu > li > a.active {
    background: var(--green-light); color: var(--green-dark);
    box-shadow: inset 3px 0 0 var(--green);
  }
  .nav-actions {
    display: flex; flex-direction: column; gap: 10px; width: 100%;
  }
  .nav-actions .btn {
    width: 100%; padding: 13px 16px; text-align: center; justify-content: center;
  }
  .nav-contact {
    display: flex; flex-direction: column; gap: 8px;
    padding-top: 14px; border-top: 1px solid var(--border);
  }
  .nav-contact a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
    color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap;
    background: #f8fafc;
  }
  .nav-contact svg { width: 18px; height: 18px; }
  .nav-contact svg.wa { fill: #25a35a; stroke: none; }
}

/* ---------- Duyarlı: tablet ---------- */
@media (max-width: 980px) {
  .about-grid, .location, .contact { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .hero .container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero p.lead { font-size: 1rem; }
  .hero-card { max-width: 420px; margin-right: 0; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .slider { --per: 2; }
  .gallery > .g-item { flex-basis: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- Duyarlı: telefon ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .topbar { display: none; }
  .container { width: min(var(--container), 86%); }
  .section { padding: 40px 0; }
  .section-head {
    margin: 0 auto 22px;
    max-width: 22rem;
    text-align: center;
  }
  .section-head h2 { font-size: 1.48rem; margin-bottom: 4px; }
  .section-head p {
    font-size: .96rem; margin: 8px auto 0 !important; line-height: 1.55;
    max-width: 20rem;
  }
  .eyebrow { font-size: .7rem; padding: 5px 11px; margin-bottom: 8px; }
  .divider { width: 44px; height: 3px; margin: 10px auto 0; }

  /* Navbar */
  .nav-inner { min-height: 64px; gap: 10px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text span { display: none; }
  .nav-collapse { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); }

  /* Hero: blur'lu yayla arka planı + okunaklı yazı */
  .hero {
    padding: 42px 0 46px;
    background: #0d2a1a;
    isolation: isolate;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: -20px; right: -20px; bottom: -20px; left: -20px;
    width: auto; height: auto;
    z-index: 0;
    border-radius: 0;
    background: url("../images/hero-mobile-bg.jpg") center / cover no-repeat;
    filter: blur(5px);
    transform: scale(1.08);
  }
  .hero::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: auto; height: auto;
    z-index: 0;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(8, 32, 22, .42) 0%, rgba(10, 40, 28, .5) 45%, rgba(8, 28, 20, .58) 100%);
  }
  .hero .container {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr; gap: 0;
    justify-items: center; text-align: center;
  }
  .hero-text {
    display: block;
    width: 100%;
    max-width: 21rem;
    margin-inline: auto;
  }
  .hero h1 {
    font-size: 1.72rem; line-height: 1.28; margin: 0 auto 14px;
    max-width: 17.5rem;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
  }
  .hero h1 .g { color: #8fe0b0; }
  .hero h1 .b { color: #9ec8f5; }
  .hero p.lead {
    font-size: 1.02rem; line-height: 1.62; margin: 0 auto;
    max-width: 18.5rem;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
  }
  .hero-cta {
    margin: 18px auto 0; gap: 10px; flex-wrap: nowrap;
    justify-content: center; max-width: 14.5rem;
  }
  .hero-cta .btn {
    flex: 1; padding: 10px 14px; font-size: .88rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  }
  .hero-cta .btn-green {
    background: #fff;
    color: var(--green-dark);
    border-color: #fff;
  }
  .hero-cta .btn-green:hover {
    background: var(--green-light);
    color: var(--green-dark);
  }
  .hero-card { display: none !important; }

  /* Hakkımızda */
  .about-grid { gap: 18px; }
  .about-img {
    aspect-ratio: 16 / 9; max-width: 22rem; margin-inline: auto;
    border-radius: 16px; border-bottom-width: 4px;
  }
  .about-img img { object-position: center 30%; }
  .about-text { text-align: center; max-width: 22rem; margin-inline: auto; }
  .about-text h2 { font-size: 1.35rem; }
  .about-text p { margin-left: auto; margin-right: auto; }
  .about-text .more { display: none; }
  .mv { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; text-align: left; }
  .mv div { padding: 14px 16px; }
  .mv h4 { font-size: .95rem; margin-bottom: 4px; }
  .mv p { font-size: .86rem; line-height: 1.5; }

  /* Faaliyetler */
  .slider { --per: 1; --gap: 12px; max-width: 24rem; margin-inline: auto; }
  .slider-viewport {
    overflow: hidden;
    padding: 4px 0 18px;
    margin: -4px 0 -18px;
  }
  .slider-track .card { flex: 0 0 calc(100% - 24px); }
  .card {
    padding: 22px 18px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(18, 74, 130, 0.06);
  }
  .card:hover { transform: none; }
  .icon {
    width: 40px; height: 40px; font-size: .95rem; margin: 0 auto 12px;
    border-radius: 10px;
  }
  .card h3 { font-size: 1.02rem; margin-bottom: .45em; }
  .card p { font-size: .9rem; line-height: 1.55; max-width: 16rem; margin-inline: auto; }
  .slider-controls { margin-top: 14px; gap: 12px; }
  .slider-btn { width: 38px; height: 38px; }
  .slider-dots { gap: 7px; }
  .slider-dots button { width: 7px; height: 7px; }
  .slider-dots button.active { width: 18px; border-radius: 6px; }

  /* CTA */
  .cta { padding: 36px 0; text-align: center; }
  .cta .container {
    justify-content: center; gap: 16px;
    flex-direction: column; align-items: center;
  }
  .cta .container > div:first-child { max-width: 20rem; }
  .cta h2 { font-size: 1.28rem; margin-bottom: 8px; }
  .cta p { font-size: .9rem; margin-inline: auto; max-width: 18rem; }
  .cta-btns {
    width: 100%; max-width: 18rem; margin-inline: auto;
    flex-wrap: nowrap; justify-content: center;
  }
  .cta-btns .btn { flex: 1; padding: 12px 10px; font-size: .92rem; }

  /* Galeri / konum */
  .gallery,
  .loc-photos.snap {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 auto;
    max-width: 24rem;
    padding: 4px 2px 10px;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gallery::-webkit-scrollbar,
  .loc-photos.snap::-webkit-scrollbar { display: none; }
  .gallery > .g-item,
  .loc-photos.snap > .g-item {
    flex: 0 0 88%;
    width: auto;
    scroll-snap-align: center;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 40, 80, 0.1);
  }
  .gallery > .g-item { aspect-ratio: 4 / 3; }
  .loc-photos.snap > .g-item { aspect-ratio: 16 / 10; }
  .loc-photos { margin: 0 auto 18px; max-width: 24rem; }
  .g-item .label,
  .snap .g-item .label {
    opacity: 1; transform: none;
    font-size: .82rem; font-weight: 600;
    padding: 28px 12px 11px;
    text-align: center;
  }
  .g-item:hover img { transform: none; }
  .snap-controls { margin-top: 6px; gap: 10px; justify-content: center; }
  .snap-controls .slider-btn {
    display: grid;
    width: 34px; height: 34px;
    border-width: 1.5px;
  }
  .snap-controls .slider-btn svg { width: 16px; height: 16px; }
  .snap-controls .slider-dots { gap: 6px; }
  .snap-controls .slider-dots button { width: 6px; height: 6px; background: #c5d0db; }
  .snap-controls .slider-dots button.active { width: 16px; background: var(--green); }
  .gallery-note {
    margin: 12px auto 0; font-size: .82rem; line-height: 1.5;
    text-align: center; max-width: 18rem;
  }

  /* Konum */
  .location { gap: 14px; max-width: 24rem; margin-inline: auto; }
  .info-box { padding: 18px 16px; border-radius: 16px; }
  .info-list li { margin-bottom: 12px; gap: 12px; }
  .info-list .ic { width: 36px; height: 36px; border-radius: 10px; }
  .info-list strong { font-size: .92rem; }
  .info-list span, .info-list a { font-size: .88rem; }
  .map, .map iframe { min-height: 220px; height: 220px; border-radius: 16px; }

  /* İletişim */
  .contact { gap: 14px; max-width: 24rem; margin-inline: auto; }
  .contact-side { padding: 22px 18px; border-radius: 16px; text-align: center; }
  .contact-side h3 { font-size: 1.15rem; margin-bottom: 14px; }
  .contact-side > p, .contact-side .info-list li:last-child { display: none; }
  .contact-side .info-list { text-align: left; }
  .contact-side .info-list li:nth-last-child(2) { margin-bottom: 0; }
  .social-row { margin-top: 16px; gap: 8px; justify-content: center; }
  .social-row a { width: 40px; height: 40px; }
  .form-box { padding: 22px 18px; border-radius: 16px; box-shadow: var(--shadow-sm); text-align: center; }
  .form-box h3 { font-size: 1.15rem; }
  .form-box > p { display: none; }
  .form-box form { text-align: left; }
  .field { margin-bottom: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 11px 12px; border-radius: 10px; }
  .field textarea { min-height: 88px; }
  .news, .benefits { grid-template-columns: 1fr; }
  .form-box .form-grid { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .form-box .form-grid .field.full { grid-column: 1 / -1; }
  .form-card .form-grid { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer { padding: 28px 0 0; text-align: center; }
  .footer-grid {
    grid-template-columns: 1fr 1fr; gap: 20px 14px; padding-bottom: 20px;
    max-width: 24rem; margin-inline: auto;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { display: none; }
  .footer-about { display: none; }
  .footer .brand { justify-content: center; }
  .footer .social-row { margin-top: 12px; justify-content: center; }
  .footer h4 {
    margin-bottom: 8px; padding-bottom: 6px; font-size: .92rem;
  }
  .footer h4::after { left: 50%; transform: translateX(-50%); }
  .footer li { margin-bottom: 5px; font-size: .86rem; }
  .footer-bottom { padding: 12px 0; font-size: .78rem; }

  /* Giriş / Üye Ol */
  .page-banner { padding: 28px 0; }
  .page-banner p { font-size: .92rem; }
  .form-page { padding: 24px 0 44px; }
  .form-card { padding: 22px 18px; border-radius: 16px; }
  .benefits { gap: 8px; margin-bottom: 18px; }
  .benefits div { padding: 10px 14px; font-size: .86rem; }

  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
@media (min-width: 440px) and (max-width: 640px) {
  .hero h1 { font-size: 1.85rem; max-width: 19rem; }
  .hero p.lead { font-size: 1.05rem; }
  .gallery > .g-item,
  .loc-photos.snap > .g-item { flex-basis: 82%; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 1.5rem; }
  .hero p.lead { font-size: .95rem; }
  .hero-cta { max-width: 13rem; }
  .brand-text strong { font-size: .85rem; }
  .nav-contact a { font-size: .82rem; }
  .gallery > .g-item,
  .loc-photos.snap > .g-item { flex-basis: 92%; }
}