/* ==========================================================================
   Cohasset Village Dentistry — Coastal boutique palette
   Navy + warm ivory + brass accent, Cormorant Garamond + Inter
   ========================================================================== */

:root {
  --navy: #1c3a52;
  --navy-dark: #12283b;
  --brass: #7c5c28;
  --brass-light: #d4ac74;
  --ivory: #faf6ee;
  --sand: #f2ead9;
  --charcoal: #26364a;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  padding-top: 76px;
}

h1, h2, h3, h4,
.brand-name, .footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--navy);
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--brass);
}

/* ---------- Navbar ---------- */
.site-navbar {
  background-color: rgba(250, 246, 238, 0.96);
  box-shadow: 0 2px 16px rgba(28, 58, 82, 0.08);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  backdrop-filter: blur(6px);
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.site-navbar .nav-link {
  color: var(--navy);
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
}

.site-navbar .nav-link:hover {
  color: var(--brass);
}

.btn-portal {
  background-color: var(--navy);
  color: var(--white) !important;
  border-radius: 30px;
  padding: 0.45rem 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.btn-portal:hover {
  background-color: var(--brass);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(12,28,41,0.45) 0%, rgba(12,28,41,0.08) 100%),
    linear-gradient(to bottom, rgba(12,28,41,0.35) 0%, rgba(12,28,41,0.15) 45%, rgba(12,28,41,0.55) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  background: rgba(12, 28, 41, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
  padding: 3rem 2rem;
}

.hero-eyebrow {
  color: var(--brass-light);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.95rem;
  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: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--white);
  font-size: 3.4rem;
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem;
  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.2rem;
  max-width: 620px;
  margin: 0 auto;
  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-tagline {
  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.9);
}

.btn-cta {
  background-color: var(--brass);
  border: 2px solid var(--brass);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background-color: var(--brass-light);
  border-color: var(--brass-light);
  color: var(--navy-dark);
}

.btn-cta-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}

/* ---------- Highlights ---------- */
.highlights {
  background-color: var(--ivory);
}

.highlight-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(28, 58, 82, 0.06);
  transition: transform 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-card i {
  font-size: 2.4rem;
  color: var(--brass);
  margin-bottom: 1rem;
  display: inline-block;
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.highlight-card p {
  color: var(--charcoal);
  margin-bottom: 0;
}

/* ---------- Stats ---------- */
.stats {
  background-color: var(--navy);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--brass-light);
  line-height: 1;
}

.stat-label {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ---------- Section shared ---------- */
.section-eyebrow {
  color: var(--brass);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--charcoal);
}

/* ---------- About ---------- */
.about-img {
  width: 100%;
  box-shadow: 0 16px 40px rgba(28, 58, 82, 0.15);
}

/* ---------- Dentists ---------- */
.dentists-section {
  background-color: var(--sand);
}

.team-img {
  max-width: 720px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(28, 58, 82, 0.15);
}

.dentist-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(28, 58, 82, 0.08);
}

.dentist-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: block;
  border: 4px solid var(--sand);
}

.dentist-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.dentist-creds {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: var(--charcoal);
}

.dentist-creds li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.95rem;
}

.dentist-creds li:last-child {
  border-bottom: none;
}

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 58, 82, 0.1);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--brass);
  margin-bottom: 1rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
  color: var(--charcoal);
}

.service-card li {
  padding: 0.25rem 0;
}

/* ---------- Testimonial ---------- */
.testimonial-section {
  background-color: var(--navy);
}

.testimonial-box {
  max-width: 700px;
}

.stars i {
  color: var(--brass-light);
  font-size: 1.2rem;
  margin: 0 2px;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

.testimonial-author {
  color: var(--brass-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-section {
  background-color: var(--ivory);
}

.accordion-button {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  background-color: var(--white);
}

.accordion-button:not(.collapsed) {
  color: var(--navy);
  background-color: var(--sand);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(185, 138, 74, 0.25);
}

.accordion-item {
  border-color: var(--sand);
  margin-bottom: 0.75rem;
  border-radius: 10px !important;
  overflow: hidden;
}

/* ---------- Gallery ---------- */
.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* ---------- Location ---------- */
.location-section {
  background-color: var(--sand);
}

.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(28, 58, 82, 0.08);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.95rem;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--charcoal);
}

.small-note {
  font-size: 0.85rem;
  color: var(--brass);
  font-weight: 600;
  margin-top: 0.75rem;
}

.map-wrap {
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 58, 82, 0.08);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255,255,255,0.85);
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 6px;
  padding: 3px 6px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.15rem;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
}

.site-footer a:hover {
  color: var(--brass-light);
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 2rem 0 1.5rem;
}

.copyright, .powered-by {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.powered-by a {
  color: var(--brass-light);
  font-weight: 600;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .site-navbar .nav-link {
    margin: 0.25rem 0;
  }
  .btn-portal {
    display: inline-block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding: 2rem 1.25rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
}
