/* ==========================================================================
   Kulka Dental Associates — Style Sheet
   Fonts: Fraunces (headings) + Inter (body)
   Palette: steel blue / navy / cream / terracotta accent
   ========================================================================== */

:root {
  --navy: #16324a;
  --steel: #3f6f8f;
  --steel-light: #6f9bb8;
  --powder: #eaf1f5;
  --cream: #faf7f1;
  --cream-deep: #f2ece0;
  --terracotta: #c4633f;
  --terracotta-dark: #a34e2f;
  --ink: #1f2a30;
  --ink-soft: #4c5a61;
  --white: #ffffff;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id], header[id] { scroll-margin-top: 76px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

.text-terracotta { color: var(--terracotta); }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-powder { background: var(--powder); }
.bg-navy { background: var(--navy); }
.bg-steel { background: var(--steel); }

a { text-decoration: none; }

.section-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-pad { padding: 5.5rem 0; }

@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
}

/* ---------- Navbar ---------- */
.navbar-kulka {
  background: rgba(22, 50, 74, 0.96);
  backdrop-filter: blur(6px);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: padding 0.2s ease;
}

.navbar-kulka .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white) !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.1;
}

.navbar-kulka .brand-chip {
  background: var(--cream);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.navbar-kulka .brand-chip img { width: 26px; height: auto; }

.navbar-kulka .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
}

.navbar-kulka .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
}

.navbar-kulka .nav-link:hover { color: var(--terracotta) !important; }

.navbar-kulka .btn-nav-cta {
  background: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  border-radius: 30px;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.navbar-kulka .btn-nav-cta:hover { background: var(--terracotta-dark); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(15,30,42,0.35) 0%, rgba(15,30,42,0.12) 45%, rgba(15,30,42,0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 3rem 2.5rem;
  margin: 0 1rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
}

.hero-eyebrow {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  margin: 0.6rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: var(--white);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.9);
}

.btn-terracotta {
  background: var(--terracotta);
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-terracotta:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-2px); }

.btn-outline-cream {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: var(--white);
  font-weight: 600;
  padding: 0.8rem 1.9rem;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 2.2rem 0;
}
.trust-item {
  text-align: center;
  padding: 0.5rem 1rem;
}
.trust-item .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--terracotta);
  display: block;
}
.trust-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Doctor cards ---------- */
.doctor-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(22,50,74,0.08);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(22,50,74,0.14); }
.doctor-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.doctor-card .doctor-body { padding: 1.6rem; }
.doctor-card h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.doctor-card .doctor-cred {
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  display: block;
}
.doctor-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Staff cards ---------- */
.staff-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(22,50,74,0.07);
  text-align: center;
  height: 100%;
}
.staff-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.staff-card .staff-body { padding: 1.1rem 1rem 1.4rem; }
.staff-card h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.staff-card .staff-role {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.staff-card p { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 0; }

.staff-filler {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.2rem;
}
.staff-filler .num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--terracotta);
  font-weight: 600;
}
.staff-filler .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.85); margin-top: 0.3rem; }

/* ---------- Services ---------- */
.service-tile {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  height: 100%;
  border: 1px solid rgba(22,50,74,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-tile:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(22,50,74,0.1); }
.service-tile .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--powder);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.service-tile h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-tile p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0; }

.highlight-strip {
  background: var(--white);
  border-radius: 14px;
  padding: 1.8rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  border: 1px solid rgba(22,50,74,0.06);
}
.highlight-strip .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.highlight-strip h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.highlight-strip p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Gallery (smiles) ---------- */
.smile-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(22,50,74,0.08);
}
.smile-card .smile-imgs { display: flex; }
.smile-card .smile-imgs .half { width: 50%; position: relative; }
.smile-card .smile-imgs img { width: 100%; height: 190px; object-fit: cover; display: block; }
.smile-card .smile-imgs .half::after {
  content: attr(data-tag);
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(22,50,74,0.85);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.smile-card .smile-caption {
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Office gallery ---------- */
.office-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 18px rgba(22,50,74,0.08);
}
.office-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.office-photo:hover img { transform: scale(1.06); }
.office-photo .cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(22,50,74,0.85), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 1.6rem 0.8rem 0.6rem;
}

/* ---------- Patients / insurance ---------- */
.insurance-chip {
  background: var(--white);
  border: 1px solid rgba(22,50,74,0.1);
  border-radius: 10px;
  padding: 0.9rem 0.7rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patients-quote {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
  line-height: 1.4;
}

/* ---------- Location ---------- */
.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(22,50,74,0.08);
  height: 100%;
}
.contact-card .row-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-card .row-item:last-child { margin-bottom: 0; }
.contact-card .row-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--powder);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0; }
.contact-card a { color: var(--ink-soft); }
.contact-card a:hover { color: var(--terracotta); }

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(22,50,74,0.08);
  height: 100%;
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}
footer.site-footer .footer-chip {
  background: var(--cream);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
footer.site-footer .footer-chip img { width: 34px; }
footer.site-footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
footer.site-footer a.footer-link {
  color: rgba(255,255,255,0.72);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}
footer.site-footer a.footer-link:hover { color: var(--terracotta); }
footer.site-footer .social-row { display: flex; gap: 0.7rem; margin-top: 0.5rem; }
footer.site-footer .social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease;
}
footer.site-footer .social-row a:hover { background: var(--terracotta); }
footer.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.powered-by:hover { color: var(--terracotta); }
.powered-by .lightning { color: var(--terracotta); }

/* ---------- Misc ---------- */
.divider-wave {
  height: 60px;
  background: var(--cream);
}

::selection { background: var(--terracotta); color: var(--white); }

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
