/* ===================================================================
   Ay & Tuğ Psikolojik Danışmanlık Merkezi - Ana Stil Dosyası
   Koyu yeşil + altın vurgulu, sakin ve güven veren tasarım
   =================================================================== */

:root {
  --green: #0E3A2C;
  --green-2: #124A39;
  --green-dark: #09291F;
  --green-deep: #061B14;
  --sage: #4C7A63;
  --sage-light: #EDF3EF;
  --gold: #C9A45C;
  --gold-dark: #A9853A;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --bg: #F5F7F5;
  --white: #ffffff;
  --text: #14201A;
  --muted: #5A6A60;
  --line: #E2E8E4;
  --shadow: 0 16px 40px rgba(6, 27, 20, 0.10);
  --shadow-sm: 0 6px 18px rgba(6, 27, 20, 0.07);
  --radius: 10px;
  --radius-sm: 7px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--green-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 2000;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Butonlar --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-call { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1B2A24; box-shadow: 0 8px 20px rgba(212, 175, 106, 0.4); }
.btn-call:hover { color: #1B2A24; box-shadow: 0 10px 26px rgba(212, 175, 106, 0.5); }
.btn-whatsapp { background: linear-gradient(135deg, #2BE26A, var(--wa-dark)); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32); }
.btn-whatsapp:hover { color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { color: var(--green); }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* --- Üst bilgi çubuğu --- */
.topbar { background: var(--green-deep); color: #CFE3D8; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-phone { color: var(--gold); font-weight: 700; }
.topbar-phone:hover { color: var(--gold); }

/* --- Header --- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 900; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-light { color: #fff; }
.logo-mark { height: 46px; width: auto; object-fit: contain; display: block; }
.brand-light .logo-mark { background: #fff; border-radius: 8px; padding: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 17px; color: var(--green); font-weight: 700; letter-spacing: -0.01em; }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

.main-nav ul { display: flex; list-style: none; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 7px; font-weight: 500; font-size: 15px;
  color: var(--text); transition: background .15s, color .15s; position: relative;
}
.main-nav a:hover { background: var(--sage-light); color: var(--green); }
.main-nav a.is-active { color: var(--green); font-weight: 600; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--green); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .header-wa span, .header-actions .btn-call span { display: inline; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--green-deep); border-radius: 3px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-close { display: none; position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; z-index: 2; }
.nav-close span { position: absolute; top: 50%; left: 50%; width: 24px; height: 2.5px; background: var(--green-deep); border-radius: 3px; }
.nav-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(7, 28, 21, 0.55); z-index: 890; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* --- Sticky hero: masaüstü yan yana, mobil sırayla (kaydırdıkça kararır) --- */
.hero { position: sticky; top: 78px; height: calc(100vh - 78px); width: 50%; z-index: 0; overflow: hidden; background: var(--green-deep); }
.hero + .hero { z-index: 1; margin-top: calc(78px - 100vh); margin-left: 50%; border-left: 1px solid rgba(255,255,255,.14); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,27,20,.66), rgba(6,27,20,.08) 52%); }
.hero-label { position: absolute; left: 0; right: 0; bottom: 60px; text-align: center; color: #fff; z-index: 4; padding: 0 16px; }
.hero-label .name { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.01em; }
.hero-label .role { color: var(--gold); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; margin-top: 8px; }
.hero-overlay { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 3; pointer-events: none; will-change: opacity; }

/* Hero üzerine kayan içerik */
.home-sections { position: relative; z-index: 2; }

/* --- Google Yorumları (3 kolon, kaydırdıkça satırlar belirir) --- */
.reviews { background: #fff; border-radius: 26px 26px 0 0; padding: 76px 24px 76px; box-shadow: 0 -22px 60px rgba(6,27,20,.16); }
.reviews-head { text-align: center; margin-bottom: 46px; }
.reviews-head .kicker { color: var(--gold-dark); }
.reviews-head h2 { font-family: var(--font-display); color: var(--green-deep); font-size: clamp(26px, 3.4vw, 40px); margin: 10px 0 16px; }
.google-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: #333; }
.google-badge .g { width: 24px; height: 24px; border-radius: 50%; background: #4285F4; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.google-badge .stars { display: inline-flex; gap: 2px; }
.google-badge .rating { color: var(--green-deep); }

.reviews-grid { display: flex; flex-direction: column; gap: 24px; }
.reviews-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; opacity: 0; transform: translateY(48px); transition: opacity .7s ease, transform .7s ease; }
.reviews-row.is-visible { opacity: 1; transform: none; }
.review-card { background: #fafaf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage); }
.review-card .stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review-card p { color: #444; font-size: 15px; line-height: 1.65; font-style: italic; }
.review-card .author { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 700; color: var(--green-deep); }
.review-card .author .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: none; }
.reviews-foot { text-align: center; margin-top: 40px; }

/* Mobil: hero sırayla (yapışkan yığın) */
@media (max-width: 640px) {
  .hero { width: 100%; }
  .hero + .hero { margin-top: 0; margin-left: 0; border-left: none; }
  .reviews-row { grid-template-columns: 1fr; }
}

/* --- Genel bölüm yapıları --- */
.section { padding: 70px 0; background: var(--bg); }
.section.alt { background: var(--sage-light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.kicker { color: var(--gold-dark); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 10px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sage); }
.card .icon-wrap { width: 52px; height: 52px; border-radius: 10px; background: var(--sage-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .icon-wrap .icon-svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card h3 a { color: var(--green-deep); }
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-link { font-weight: 700; color: var(--gold-dark); font-size: 14px; }
.card .card-media { display: block; margin: -28px -24px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }

/* --- Ekip kartları (hakkımızda) --- */
.team-card { display: flex; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.team-card .photo { flex: 0 0 180px; }
.team-card .photo img { border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 3/4; }
.team-card .info h3 { font-size: 22px; margin-bottom: 2px; }
.team-card .info .role { color: var(--gold-dark); font-weight: 700; margin-bottom: 12px; display:block; }
.team-card .info ul { padding-left: 1.1em; }
.team-card .info .ig-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--green); }

/* --- Breadcrumb / Hizmet & Bölge sayfa düzeni --- */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 6px; }
.page-title { font-size: clamp(26px, 3.6vw, 38px); }
.page-intro { font-size: 17px; color: var(--muted); max-width: 760px; }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 44px 20px 20px; align-items: start; }
.content { min-width: 0; }
.prose h2 { font-size: 22px; margin-top: 34px; color: var(--green); }
.prose p { color: #33463C; font-size: 16px; }
.prose a { text-decoration: underline; }
.prose .page-intro { text-decoration: none; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--green-deep); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--gold-dark); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 16px; color: var(--muted); font-size: 15px; }

/* --- Sidebar (hizmet/bölge sayfaları) --- */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-links { display: flex; flex-direction: column; gap: 8px; }
.side-link-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--sage-light); font-weight: 600; font-size: 14.5px; color: var(--green-deep); }
.side-link-card:hover { background: #DCEAE1; }
.side-link-icon { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.side-link-arrow { margin-left: auto; color: var(--gold-dark); }
.side-cta { background: linear-gradient(150deg, var(--green), var(--green-deep)); color: #fff; text-align: center; }
.side-title { color: #fff; font-size: 18px; }
.side-cta p { color: #CFE3D8; font-size: 14px; }
.side-cta .btn { width: 100%; margin-top: 10px; }
.side-trust ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.side-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.side-trust .icon-svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }

/* --- Bölge chip grid --- */
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.region-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-weight: 500; font-size: 14px; color: var(--green-deep); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease; }
.region-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transition: background .18s ease; }
.region-chip::after { content: "→"; margin-left: auto; color: var(--gold); font-weight: 700; font-size: 15px; line-height: 1; transition: transform .18s ease, color .18s ease; }
.region-chip:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.region-chip:hover::before { background: #fff; }
.region-chip:hover::after { color: #fff; transform: translateX(3px); }

/* --- CTA bandı --- */
.cta-band { background: linear-gradient(135deg, var(--green-deep), var(--green)); border-radius: 14px; padding: 48px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CFE3D8; max-width: 560px; margin: 0 auto 24px; }

/* --- Footer --- */
.site-footer { background: var(--green-deep); color: #CFE3D8; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.footer-about p { font-size: 14px; color: #A9C2B4; margin-top: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #CFE3D8; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; color: #CFE3D8; }
.footer-contact a { color: #CFE3D8; display: inline-flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact a svg, .footer-contact li > svg { flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--gold); color: var(--green-deep); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom-inner { text-align: center; font-size: 13px; color: #7FA08D; }

/* --- Sabit CTA butonları (sağ alt) --- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 960; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-btn { display: flex; align-items: center; gap: 8px; height: 56px; border-radius: 999px; padding: 0 18px 0 16px; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,0.25); position: relative; }
.float-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.float-label { font-weight: 700; font-size: 14px; white-space: nowrap; }
.float-wa { background: linear-gradient(135deg, #2BE26A, var(--wa-dark)); }
.float-call { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1B2A24; }
.pulse-ring { position: absolute; inset: 0; border-radius: 999px; border: 2.5px solid var(--gold); animation: pulseRing 1.6s cubic-bezier(0.4,0,0.6,1) infinite; }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

/* --- İletişim kartları --- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 34px 0 44px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.contact-card .icon-wrap { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card a { font-weight: 700; color: var(--green); font-size: 15px; }
.contact-cards-2 { grid-template-columns: 1fr 1fr; }

/* --- Sözleşme uyarısı benzeri kutular (SSS bilgi vb.) --- */
.info-note { background: var(--sage-light); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 20px; font-size: 14.5px; color: var(--green-deep); }

/* --- Responsive --- */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-box { flex: 1 1 260px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards, .contact-cards-2 { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-card .photo { flex: none; max-width: 220px; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(340px, 86vw); height: 100vh; background: #fff; z-index: 940; padding: 80px 24px 24px; transition: right .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.15); }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-close { display: block; }
  .topbar { display: none; }
  .header-actions .btn-call { display: none; }
  .brand { gap: 9px; }
  .brand .logo-mark { height: 36px; width: auto; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 9px; letter-spacing: 0.03em; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .float-label { display: none; }
  .float-btn { width: 56px; padding: 0; justify-content: center; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .grid-4 { grid-template-columns: 1fr; }
}
