:root {
  --primary: #1a8fe3;
  --primary-dark: #0f6ba9;
  --accent: #08c6b9;
  --bg: #f1f7ff;
  --text: #233044;
  --muted: #6b788c;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: 60px; /* alttaki bar için boşluk */
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

/* Scroll ile gelen fade-in animasyonu */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-delay-1 { transition-delay: 0.12s; }
.fade-delay-2 { transition-delay: 0.24s; }
.fade-delay-3 { transition-delay: 0.36s; }
.fade-delay-4 { transition-delay: 0.48s; }

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(241, 247, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary-dark);
}

.logo span:first-child {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.logo span:last-child {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  font-size: 0.95rem;
}

nav ul li a {
  position: relative;
  padding-bottom: 3px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.2s ease;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after {
  width: 100%;
}

.btn-cta-nav {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(26, 143, 227, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-cta-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(26, 143, 227, 0.4);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    padding: 12px 0;
    box-shadow: var(--shadow-soft);
    transform: translateY(-24px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  nav ul.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .btn-cta-nav {
    width: calc(100% - 24px);
    margin: 4px 12px 0;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding: 30px 0 40px;
}

.hero-image-full {
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ffffff 0%, #e6f0ff 40%, #d3e9ff 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}

.hero-image-full-inner {
  width: 100%;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.hero-text-block {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  margin-bottom: 14px;
}

.hero-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle-main {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-primary {
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(26, 143, 227, 0.5);
}

.btn-outline {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(26, 143, 227, 0.4);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--primary);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 6px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.hero-highlights span::before {
  content: "•";
  color: var(--accent);
  font-size: 1.1rem;
}

/* Sections */
section {
  padding: 32px 0;
}

.section-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 22px 30px;
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
}

.section-header {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.section-title {
  font-size: 1.35rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
}

/* Hakkımızda Section (arka plan ve spacing) */
.about-section {
  background: #ffffff;
  padding: 48px 0;
}

/* Masaüstünde daha yüksek ve dolu görünsün */
@media (min-width: 992px) {
  .about-section {
    padding: 80px 0;
  }

  #hakkimizda .section-card {
    padding: 40px 48px;
  }
}

/* About Section Grid */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.about-item {
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #f5f9ff;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-item::before {
  content: "✓";
  font-weight: 700;
  color: var(--primary);
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Icon Services Section */
.icon-services {
  background: #f5f5f7;
  padding: 40px 0;
}

.icon-services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.icon-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 40px;
}

/* Her kart */
.icon-service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* İkon kutusu */
.icon-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-service-icon.icon-pink {
  border: 2px solid #d46cae;
  color: #d46cae;
}

.icon-service-icon.icon-blue {
  border: 2px solid #1a8fe3;
  color: #1a8fe3;
}

.icon-symbol {
  font-size: 26px;
}

/* Yazılar */
.icon-service-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: #111;
}

.icon-service-text p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Tablet */
@media (max-width: 992px) {
  .icon-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .icon-services-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
}

/* Process Section */
.process-section {
  padding: 70px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.process-eyebrow {
  color: #1a3c7b;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.process-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0a1d3f;
  margin-bottom: 30px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Her adım */
.process-step {
  display: grid;
  grid-template-columns: 60px auto;
  gap: 18px;
  position: relative;
  padding-bottom: 20px;
}

/* Mavi kutu ikon */
.step-icon-box {
  width: 60px;
  height: 60px;
  background: #d9ecff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-box img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #0a1d3f;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: #5a6b7c;
}

/* Tik ikonu */
.tick-icon {
  font-size: 34px;
  font-weight: 700;
  color: #1a8fe3;
  line-height: 1;
}

/* Sağdaki görseller */
.process-images {
  position: relative;
}

.process-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.process-img-main img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.process-img-small {
  width: 65%;
  position: absolute;
  bottom: -40px;
  right: -30px;
}

.process-img-small img {
  width: 100%;
  border-radius: 12px;
}

/* RESPONSIVE Process */
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-img-small {
    position: relative;
    bottom: 0;
    right: 0;
    width: 80%;
    margin-top: 20px;
  }
}

/* Services Section */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr); /* MASAÜSTÜ: 3 sütun */
}

/* Tablet */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* TABLET: 2 sütun */
  }
}

/* Mobil */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* MOBİL: 1 sütun */
  }
}

/* Kartlar */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.service-tag {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1rem;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Görsel kutusu + filigran */
.service-img {
  width: 100%;
  max-width: 230px;
  height: 260px;
  margin: 14px auto 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Ortada flu filigran */
.service-img::after {
  content: "Batı Diş Polikliniği";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  font-weight: 700;
  text-shadow:
    0 0 8px rgba(0,0,0,0.6),
    0 0 4px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 768px) {
  .service-img {
    max-width: 200px;
    height: 230px;
  }

  .service-img::after {
    font-size: 14px;
  }
}

/* Placeholder service-image blocu (dolgu/protez için istersen kullanırsın) */
.service-image {
  margin-top: 8px;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f3ff, #d1ecff);
  border: 1px dashed rgba(26, 143, 227, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 6px;
  position: relative;
  z-index: 1;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.gallery-caption {
  padding: 10px 12px 12px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dde6f5;
  padding: 9px 11px;
  font-size: 0.84rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #f9fbff;
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(26, 143, 227, 0.12);
  background: #ffffff;
}

.btn-submit {
  margin-top: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(26, 143, 227, 0.5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-info-block {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f5f9ff;
}

.contact-info-block strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

/* Mobil Contact */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Contact Section genişlik / padding */
.contact-section {
  background: #ffffff;
  padding: 48px 0;
}

@media (min-width: 992px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-section .container {
    max-width: 1300px;
  }

  .contact-section .section-card {
    padding: 56px 64px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 40px;
  }
}

/* Alttaki Randevu / WhatsApp barı */
.cta-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  display: flex;
  height: 52px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.cta-bottom-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.cta-randevu {
  background: #555b66;
  color: #ffffff;
}

.cta-whatsapp {
  background: #22c55e;
  color: #ffffff;
}

.cta-bottom-item a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scroll Up / Down Buttons */
.scroll-buttons {
  position: fixed;
  right: 18px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.scroll-btn {
  width: 45px;
  height: 45px;
  background: radial-gradient(circle at 30% 0, #ffffff 0%, #1a8fe3 45%, #08c6b9 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0.95;
}

.scroll-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(26,143,227,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(26,143,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,143,227,0); }
}

.scroll-btn.pulse {
  animation: pulseGlow 2s infinite;
}

@media (max-width: 768px) {
  .scroll-buttons {
    right: 10px;
    bottom: 130px;
  }
}

/* Footer */
footer {
  padding: 18px 0 24px;
  font-size: 0.8rem;
  color: var(--muted);
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 12px;
}
