/* =========================================================
   SUMMIT DENTAL PRACTICE — Main Stylesheet
   Replicates summitdentalpractice.com
   ========================================================= */

/* lulo-clean-w01-one-bold — loaded directly from Wix parastorage */
@font-face {
  font-family: 'lulo-clean-w01-one-bold';
  font-style: normal;
  font-weight: 400;
  src: url('https://static.parastorage.com/fonts/v2/e3cf8f7e-35c4-446f-9b93-de93e989f66f/v1/lulo-clean-w05-one-bold.woff2') format('woff2');
  unicode-range: U+0100-0107, U+010A-0113, U+0116-011B, U+011E-0123, U+0126-0130, U+0132-0137, U+0139-0148, U+014A-0151, U+0154-015F, U+0162-0175, U+0177, U+0179-017C;
  font-display: swap;
}
@font-face {
  font-family: 'lulo-clean-w01-one-bold';
  font-style: normal;
  font-weight: 400;
  src: url('https://static.parastorage.com/fonts/v2/e3cf8f7e-35c4-446f-9b93-de93e989f66f/v1/lulo-clean-w01-one-bold.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0-00A3, U+00A5-00AB, U+00AE-00B4, U+00B6-00FF, U+0131, U+0152-0153, U+0160-0161, U+0178, U+017D-017E, U+02C6, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122;
  font-display: swap;
}

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

:root {
  --teal:        #02B8BF;   /* color_18 / color_41 */
  --blue:        #1990CE;   /* color_42 */
  --green:       #07BC83;   /* color_43 */
  --light-green: #6DD2B2;   /* color_27 — quote SVG fill */
  --navy:        #116089;   /* color_24 — Happy Clients bg */
  --dark-teal:   #01637F;   /* color_25 */
  --white:       #ffffff;
  --light-gray:  #f2f2f2;
  --text:        #333333;
  --text-light:  #666666;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── HEADER ──────────────────────────────────────────────── */
#site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  position: relative;
  z-index: 100;
}

/* Three colored lines at very top */
.header-lines {
  display: flex;
  height: 10px;
  width: 100%;
}
.line-green { flex: 1; background: var(--green); }
.line-blue  { flex: 1; background: var(--blue); }
.line-teal  { flex: 1; background: var(--teal); }

/* Logo + contact row */
.header-top {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 20px 12px;
}

.logo .brand {
  font-family: 'lulo-clean-w01-one-bold', sans-serif;
  font-size: 46px;
  font-weight: 400;
  color: rgb(17, 96, 137);
  letter-spacing: 0;
  line-height: 1;
  display: block;
  text-transform: uppercase;
}
.logo .tagline {
  font-family: 'lulo-clean-w01-one-bold', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgb(17, 96, 137);
  letter-spacing: 0;
  margin-top: 5px;
  display: block;
  text-transform: uppercase;
}

.header-contact {
  text-align: right;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}
.header-contact a { color: var(--navy); }
.header-contact a:hover { text-decoration: underline; }
.header-contact .emergency { color: #8B0000; font-style: normal; }

/* Book Appointment — fixed top-right, always visible */
.btn-appt {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-appt:hover { background: #05a571; color: #fff; }

/* Nav row */
.header-nav {
  background: var(--light-gray);
  border-top: none;
}
.header-nav ul {
  max-width: 980px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}
.header-nav ul li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s;
}
.header-nav ul li a:hover { color: var(--teal); }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 760px;
  overflow: hidden;
  background: #2f2e2e;
}
@media (max-width: 900px) { #hero { height: 560px; } }
@media (max-width: 600px) { #hero { height: 420px; } }
/* Carousel slides */
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.hero-dot.active { background: #fff; }

/* Three tinted service-type boxes at bottom of hero */
.hero-boxes {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.hero-box {
  width: 326px;
  padding: 80px 11px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero-box:hover { opacity: 0.85; }
.hero-box span {
  font-family: 'Open Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.15;
  display: block;
}
.hero-box span:last-of-type {
  font-weight: 500;
}
.box-line {
  width: 100%;
  height: 10px;
  margin-top: 12px;
}

.box-general  { background: rgba(2,184,191,0.6); }
.box-cosmetic { background: rgba(25,144,206,0.6); }
.box-emergency{ background: rgba(7,188,131,0.6); }

.box-line-teal  { background: var(--teal); }
.box-line-blue  { background: var(--blue); }
.box-line-green { background: var(--green); }

/* ── SHARED SECTION STYLES ───────────────────────────────── */
section { padding: 70px 0; }
.container { max-width: 980px; margin: 0 auto; padding: 0 0; }

.section-title {
  font-family: 'Avenir Next', 'Open Sans', sans-serif;
  font-size: 70px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-title.teal  { color: var(--teal); }
.section-title.white { color: #fff; }

/* Small filled-square divider */
.section-divider {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
}
.section-divider::after {
  content: '■';
  display: inline-block;
}
.section-divider.teal::after  { color: var(--teal); }
.section-divider.white::after { color: #fff; }

/* ── ABOUT US ────────────────────────────────────────────── */
.section-white { background: #fff; }

.about-tagline {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #8B0000;
  margin-bottom: 34px;
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.about-cols p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ── SERVICES ────────────────────────────────────────────── */
.section-services {
  background:
    linear-gradient(rgba(1, 99, 127, 0.65), rgba(1, 99, 127, 0.65)),
    url('images/about.jpg')
    center top / cover no-repeat;
  color: #fff;
  padding: 80px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-card {
  background: rgba(255,255,255,0.08);
  padding: 40px 40px;
  border: 1px solid rgba(255,255,255,0.08);
  margin: 4px;
  text-align: center;
}
.service-card h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* ── STATS BAR ───────────────────────────────────────────── */
#stats {
  background: var(--green);
  padding: 30px 0;
}
.stats-row {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.stat {
  text-align: center;
  color: #fff;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.3);
  padding: 10px 20px;
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Avenir Next', 'Open Sans', sans-serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.9;
  display: block;
}

/* ── OUR TEAM ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 50px;
}
.team-card { text-align: center; }

.team-photo {
  width: 202px;
  height: 198px;
  margin: 0 auto;
  overflow: hidden;
}
.team-photo img {
  width: 202px;
  height: 198px;
  object-fit: cover;
  object-position: center top;
}

.team-line {
  height: 10px;
  width: 202px;
  margin: 0 auto 16px;
}
.teal-line { background: var(--teal); }
.blue-line  { background: var(--blue); }

.team-card h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.team-card .role {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.team-card p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
}

/* ── SMILE BANNER ────────────────────────────────────────── */
#smile-banner {
  height: 400px;
  background:
    url('images/sliding_img.jpg')
    center center / cover no-repeat;
}

/* ── HAPPY CLIENTS ───────────────────────────────────────── */
.section-navy {
  background: var(--navy);
  color: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.testimonial {
  padding: 20px 30px 30px;
  text-align: center;
}
.quote-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  transform: rotate(180deg);
}
.testimonial p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  font-style: italic;
}
.client-name {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--light-gray);
}

/* ── CONTACT US ──────────────────────────────────────────── */
.contact-top {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  text-align: center;
}
.contact-address,
.contact-hours {
  flex: 1;
  padding: 0 40px;
}
.contact-address h4,
.contact-hours h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.contact-address p,
.contact-hours p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2px;
}
.contact-address a { color: var(--navy); }
.contact-address a:hover { text-decoration: underline; }

.contact-divider-v {
  width: 1px;
  background: rgba(102,102,102,0.3);
  align-self: stretch;
  min-height: 160px;
}

.map-wrap-full {
  height: 320px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.map-wrap-full iframe { width: 100%; height: 100%; border: none; }

/* keep old map-wrap for any legacy use */
.map-wrap { height: 260px; border-radius: 2px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── FOOTER ──────────────────────────────────────────────── */
#footer {
  background: var(--light-gray);
  position: relative;
}
.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 0 20px;
  text-align: center;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.social-row a img {
  width: 41px;
  height: 41px;
  border-radius: 0;
}
#footer p {
  font-size: 12px;
  color: var(--text-light);
}
.footer-lines {
  display: flex;
  height: 10px;
}
.footer-lines .line-green { flex: 1; background: var(--green); }
.footer-lines .line-blue  { flex: 1; background: var(--blue); }
.footer-lines .line-teal  { flex: 1; background: var(--teal); }

/* ── SECTION DOT NAV ─────────────────────────────────────── */
#dot-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#dot-nav.visible {
  opacity: 1;
  pointer-events: all;
}
#dot-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}
#dot-nav a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #000;
  background: transparent;
  position: relative;
  transition: background 0.2s;
}
#dot-nav a.active {
  background: #000;
}
#dot-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#dot-nav a:hover::after { opacity: 1; }
#dot-nav a:hover { background: #000; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  z-index: 999;
  transition: background 0.2s;
}
.back-top:hover { background: var(--dark-teal); }

/* ── MOBILE NAV TOGGLE ───────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 8px 16px;
  color: var(--text);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  /* Container side padding */
  .container { padding: 0 20px; }

  /* Header */
  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 12px;
  }
  .header-contact { text-align: center; margin-top: 12px; }
  .btn-appt { font-size: 13px; padding: 10px 16px; }

  /* Nav */
  .header-nav ul { flex-wrap: wrap; justify-content: center; }

  /* Hero */
  .hero-boxes { width: 100%; left: 0; transform: none; }
  .hero-box { flex: 1; padding: 60px 12px 20px; }
  .hero-box span { font-size: 22px; }
  .hero-dots { bottom: 150px; }

  /* Sections */
  .section-title { font-size: 44px; }
  .about-cols { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-top { flex-direction: column; align-items: center; }
  .contact-divider-v { width: 80%; height: 1px; min-height: unset; align-self: center; }
  .contact-address, .contact-hours { padding: 20px 0; }

  /* Stats */
  .stats-row { flex-wrap: wrap; }
  .stat { flex: 0 0 33.33%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
  .stat:last-child { border-bottom: none; }

  /* Map */
  .map-wrap { height: 220px; }

  /* Hide side dot nav on tablet */
  #dot-nav { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Header */
  .header-top { padding: 20px 16px 10px; }
  .logo .brand { font-size: 28px; }
  .logo .tagline { font-size: 9px; }
  .btn-appt { font-size: 12px; padding: 9px 12px; }

  /* Mobile hamburger nav */
  .nav-toggle { display: block; }
  .header-nav { position: relative; }
  #nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0;
  }
  #nav-menu.open { display: flex; }
  #nav-menu li a {
    padding: 10px 20px;
    font-size: 14px;
    display: block;
    border-bottom: 1px solid #f2f2f2;
  }

  /* Hero */
  #hero { height: 420px; }
  .hero-boxes { flex-direction: column; }
  .hero-box { width: 100%; padding: 14px 16px; flex-direction: row; justify-content: center; gap: 6px; }
  .hero-box span { font-size: 16px; }
  .box-line { display: none; }
  .hero-dots { display: none; }

  /* Sections */
  section { padding: 50px 0; }
  .section-title { font-size: 30px; letter-spacing: 1px; }
  .section-divider { font-size: 24px; }

  /* Stats */
  .stat { flex: 0 0 100%; }
  .stat-number { font-size: 40px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }
  .team-photo, .team-photo img { width: 160px; height: 160px; }
  .team-line { width: 160px; }

  /* Services */
  .service-card { padding: 24px 20px; }

  /* Smile banner */
  #smile-banner { height: 220px; }

  /* Contact */
  .map-wrap { height: 200px; }

  /* Footer */
  .footer-inner { padding: 20px 16px 16px; }
}
