/* =====================================================================
   KORCAN DİŞ KLİNİĞİ — Style
   Renk paleti, font ve boşluk değerleri en üstte CSS custom property
   olarak tanımlıdır. Marka renklerini değiştirmek için sadece :root'u
   düzenlemeniz yeterlidir.
   ===================================================================== */

:root {
  /* === RENK PALETİ — Lacivert + Altın/Krem (premium) === */
  --c-navy-900: #0A2540;
  --c-navy-800: #102F52;
  --c-navy-700: #1B3A66;
  --c-gold:     #C9A961;
  --c-gold-dk:  #A88842;
  --c-cream:    #FAF6EE;
  --c-cream-2:  #F2EADB;
  --c-white:    #FFFFFF;
  --c-text:     #1C2433;
  --c-muted:    #5C6577;
  --c-line:     #E5DFD2;

  /* WhatsApp & telefon marka renkleri */
  --c-wa:       #25D366;
  --c-wa-dk:    #1EBE57;
  --c-call:     var(--c-gold);
  --c-call-dk:  var(--c-gold-dk);

  /* === SPACING === */
  --pad-x: clamp(1rem, 4vw, 2.5rem);
  --section-py: clamp(4rem, 9vw, 7rem);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* === TYPOGRAPHY === */
  --ff-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-serif: 'Playfair Display', Georgia, serif;
  --fs-h1: clamp(2.2rem, 6vw, 4rem);
  --fs-h2: clamp(1.7rem, 4vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 2vw, 1.3rem);
  --fs-body: clamp(0.95rem, 1.4vw, 1.05rem);

  /* === SHADOWS === */
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);
}

/* =====================================================================
   RESET / BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--ff-serif); margin: 0; line-height: 1.2; }
section { scroll-margin-top: 80px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* "Eyebrow" — section üst etiketi */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-dk);
  margin-bottom: 0.9rem;
}

/* =====================================================================
   BUTONLAR
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: var(--c-wa); color: #fff; }
.btn-whatsapp:hover { background: var(--c-wa-dk); }
.btn-call { background: var(--c-gold); color: var(--c-navy-900); }
.btn-call:hover { background: var(--c-gold-dk); color: #fff; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--c-navy-900);
  color: var(--c-gold);
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 700;
}
.logo-text { color: var(--c-navy-900); font-size: 1.05rem; }

.nav-desktop ul { display: flex; gap: 1.8rem; }
.nav-desktop a {
  color: var(--c-navy-900);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.18s ease;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--c-gold);
  transition: width 0.22s ease;
}
.nav-desktop a:hover { color: var(--c-gold-dk); }
.nav-desktop a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--c-navy-900);
  color: var(--c-gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.header-cta:hover { background: var(--c-gold); color: var(--c-navy-900); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-navy-900);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.nav-mobile.open { max-height: 70vh; box-shadow: var(--shadow-md); }
.nav-mobile ul { padding: 1rem 0 1.5rem; }
.nav-mobile a {
  display: block;
  padding: 1rem var(--pad-x);
  color: var(--c-navy-900);
  font-weight: 500;
  border-bottom: 1px solid var(--c-line);
}
.nav-mobile a:hover { background: var(--c-cream); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  color: var(--c-cream);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.78) 55%, rgba(10,37,64,0.5) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
}
.hero .eyebrow { color: var(--c-gold); }
.hero-title {
  font-size: var(--fs-h1);
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.hero-title .hl {
  display: block;
  color: var(--c-gold);
  font-style: italic;
  font-weight: 600;
}
.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 640px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}
.hero-ctas .btn { padding: 1.05rem 1.8rem; font-size: 1rem; }

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 720px;
}
.keyword-chips li {
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 169, 97, 0.3);
}

/* =====================================================================
   HAKKIMIZDA
   ===================================================================== */
.about {
  padding: var(--section-py) 0;
  background: var(--c-cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 22px; right: 22px;
  background: var(--c-navy-900);
  color: var(--c-gold);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.about-badge .num { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.about-badge .lbl { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; opacity: 0.9; }

.about-text h2 { font-size: var(--fs-h2); color: var(--c-navy-900); margin-bottom: 1.2rem; }
.about-text p { color: var(--c-muted); margin: 0 0 1rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.stats li { text-align: left; }
.stats .stat-num { display: block; font-family: var(--ff-serif); font-size: 1.8rem; color: var(--c-navy-900); font-weight: 700; }
.stats .stat-lbl { font-size: 0.82rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* =====================================================================
   SECTION HEAD (treatments & testimonials)
   ===================================================================== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: var(--fs-h2); color: var(--c-navy-900); margin-bottom: 0.8rem; }
.section-head p { color: var(--c-muted); margin: 0; }
.section-head.light h2 { color: var(--c-cream); }
.section-head.light p { color: rgba(250, 246, 238, 0.75); }
.section-head.light .eyebrow { color: var(--c-gold); }

/* =====================================================================
   TEDAVİLER
   ===================================================================== */
.treatments {
  padding: var(--section-py) 0;
  background: var(--c-white);
}
.treatments-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.treatment-card {
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: left;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.treatment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 97, 0.3);
  background: var(--c-white);
}
.treatment-card:hover::before { transform: scaleX(1); }
.treatment-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--c-navy-900);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.treatment-icon svg { width: 30px; height: 30px; }
.treatment-card h3 {
  font-size: var(--fs-h3);
  color: var(--c-navy-900);
  margin-bottom: 0.6rem;
}
.treatment-card p { color: var(--c-muted); margin: 0; font-size: 0.95rem; }

/* Slider kontrolleri — desktop'ta grid olduğunda gizli */
.slider-controls {
  display: none;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-navy-900);
  border: 1px solid var(--c-line);
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  font-weight: 600;
}
.slider-btn:hover { background: var(--c-navy-900); color: var(--c-gold); transform: scale(1.08); }
.slider-controls.light .slider-btn { background: transparent; color: var(--c-cream); border-color: rgba(255,255,255,0.25); }
.slider-controls.light .slider-btn:hover { background: var(--c-gold); color: var(--c-navy-900); border-color: var(--c-gold); }

/* =====================================================================
   YORUMLAR
   ===================================================================== */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--c-navy-900);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.06);
  pointer-events: none;
}
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--c-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.testimonial-text {
  font-size: 0.98rem;
  color: rgba(250, 246, 238, 0.92);
  flex: 1;
  margin: 0 0 1.4rem;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.testimonial-author .ta-name {
  display: block;
  font-weight: 600;
  color: var(--c-cream);
  font-size: 0.95rem;
}
.testimonial-author .ta-name::before {
  content: '— ';
  color: var(--c-gold);
}

/* =====================================================================
   İLETİŞİM
   ===================================================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--c-cream-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.contact-info h2 {
  font-size: var(--fs-h2);
  color: var(--c-navy-900);
  margin-bottom: 0.8rem;
}
.contact-lead { color: var(--c-muted); margin: 0 0 2rem; }

.contact-list { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-navy-900);
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ci-label { display: block; font-size: 0.78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.ci-value { display: block; color: var(--c-navy-900); font-weight: 500; }
a.ci-value:hover { color: var(--c-gold-dk); }

.contact-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.contact-map iframe {
  width: 100%; height: 100%; border: 0; min-height: 420px;
  display: block;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--c-navy-900);
  color: rgba(250, 246, 238, 0.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .logo-text { color: var(--c-cream); }
.footer-brand p { margin: 1rem 0; color: rgba(250, 246, 238, 0.65); }

.footer-col h4 {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { transition: color 0.18s; }
.footer-col a:hover { color: var(--c-gold); }

.footer-socials { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.footer-socials a:hover { background: var(--c-gold); color: var(--c-navy-900); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  font-size: 0.85rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-meta { opacity: 0.6; }

/* =====================================================================
   FLOATING CTA (sticky WhatsApp & call)
   ===================================================================== */
.floating-ctas {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.float-whatsapp { background: var(--c-wa); }
.float-call { background: var(--c-navy-900); color: var(--c-gold); }

/* WhatsApp butonu için subtle pulse animasyonu */
.float-whatsapp {
  position: relative;
}
.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-wa);
  opacity: 0.5;
  animation: pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* =====================================================================
   SCROLL REVEAL (basit fade-in)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   RESPONSIVE — Tablet (≤960px) & Mobile (≤640px)
   ===================================================================== */
@media (max-width: 1024px) {
  .treatments-slider { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .hamburger { display: inline-flex; }

  .hero { min-height: auto; padding: 110px 0 60px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; }
  .about-badge { bottom: 16px; right: 16px; padding: 0.75rem 1rem; }
  .about-badge .num { font-size: 1.4rem; }

  /* Tedaviler — horizontal scroll slider'a dönüşür */
  .treatments-slider {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    scroll-padding-left: var(--pad-x);
    scrollbar-width: none;
  }
  .treatments-slider::-webkit-scrollbar { display: none; }
  .treatment-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .slider-controls { display: flex; }

  /* Yorumlar — horizontal scroll slider */
  .testimonials-slider {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    scroll-padding-left: var(--pad-x);
    scrollbar-width: none;
  }
  .testimonials-slider::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .contact-map iframe { min-height: 320px; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }

  /* Floating CTA mobilde daha belirgin */
  .floating-ctas { bottom: 14px; right: 14px; }
  .float-btn { width: 52px; height: 52px; }

  .hero-ctas .btn { flex: 1; min-width: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .stats .stat-num { font-size: 1.35rem; }
  .stats .stat-lbl { font-size: 0.7rem; }
}

@media (max-width: 420px) {
  .header-inner { height: 64px; }
  .nav-mobile { top: 64px; }
  .logo-text { font-size: 0.95rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   PRINT
   ===================================================================== */
@media print {
  .site-header, .floating-ctas, .nav-mobile, .slider-controls { display: none !important; }
}
