/* dtpinardumancapraz - Diş kliniği teması (beyaz / mavi) */
:root {
  --white: #ffffff;
  --bg: #f8fafc;
  --royal: #1e40af;
  --royal-dark: #1e3a8a;
  --royal-light: #3b82f6;
  --light-blue: #dbeafe;
  --nav-bg: #eff6ff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --before-label: #b45309;
  --after-label: #15803d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Üst çubuk - koyu mavi */
.top-bar {
  background: var(--royal);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-link {
  color: var(--white);
  text-decoration: none;
  opacity: 0.95;
}

.top-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.top-link.wa {
  font-weight: 600;
}

/* Ana header - açık mavi */
.main-header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-circle,
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--royal-dark);
}

.brand-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--royal);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--royal);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--royal-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--royal);
  border: 2px solid var(--royal);
}

.btn-outline:hover {
  background: var(--light-blue);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--nav-bg) 0%, var(--white) 50%);
  padding: 3rem 1rem 4rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--royal);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-out;
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--light-blue);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--royal-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: background 0.2s, transform 0.1s;
}

.slider-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--royal);
}

.hero-card {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
  border: 1px solid var(--border);
}

.hero-card strong {
  display: block;
  color: var(--royal-dark);
  font-size: 0.95rem;
}

.hero-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hakkında */
.about {
  padding: 4rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about .section-title {
  margin-bottom: 1.5rem;
}

.about-bio {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
}

/* BEFORE - AFTER */
.before-after {
  padding: 4rem 1rem 5rem;
  background: var(--white);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.ba-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ba-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.12);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 200px;
}

.ba-half {
  position: relative;
  min-height: 200px;
}

.ba-label {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.ba-half.before .ba-label {
  color: var(--before-label);
}

.ba-half.after .ba-label {
  color: var(--after-label);
}

.ba-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-repeat: no-repeat;
}

/* Görsel yoksa renkli kutu */
.ba-half.before .ba-placeholder:not(.ba-img) {
  background-color: #e2e8f0;
}

.ba-half.after .ba-placeholder:not(.ba-img) {
  background-color: var(--light-blue);
}

/* BEFORE-AFTER fotoğrafları */
.ba-placeholder.ba-img {
  background-color: #f1f5f9;
}

.ba-half.after {
  border-left: 2px solid var(--border);
}

.ba-caption {
  padding: 1rem;
  text-align: center;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Konum */
.location {
  padding: 4rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.location-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.location .section-title {
  margin-bottom: 1rem;
}

.location-address {
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.location-btn {
  margin-bottom: 2rem;
}

.location-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.location-map iframe {
  display: block;
}

/* İletişim */
.contact {
  background: var(--nav-bg);
  padding: 3rem 1rem 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact .section-title {
  margin-bottom: 0.5rem;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp);
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.03);
}

.phone-note {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.phone-note strong {
  color: var(--text);
}

/* Sabit WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-slider .slider-slide {
    max-height: 240px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .ba-images,
  .ba-half,
  .ba-img {
    min-height: 160px;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-right {
    display: none;
  }
}
