/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Bai Jamjuree', 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== COLORS ===== */
:root {
  --navy: #172854;
  --navy-dark: #0f1d3d;
  --blue-accent: #2a4a8a;
  --light-bg: #f0f4fa;
  --warm-bg: #fdf8f4;
  --gold: #c8a96e;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e0e0e0;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
}
.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--gold); }

/* ===== HEADER ===== */
.header {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo img { height: 60px; width: auto; }
.nav-links { display: flex; gap: 0; }
.nav-links a {
  color: var(--white);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 16px;
  border: 2px solid transparent;
  transition: all 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  border: 2px solid rgba(250,250,250,0.56);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3270 50%, var(--blue-accent) 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/dentist-hero.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 1; }
.hero-tagline {
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.8;
}
.hero h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.hero h1 span {
  font-weight: 700;
  font-style: italic;
  display: block;
  font-size: 56px;
}
.hero-buttons { margin-top: 30px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.btn:hover { background: var(--white); color: var(--navy); }
.btn-filled {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-filled:hover { background: transparent; color: var(--white); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
}
.page-hero h2 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 2px;
}
.page-hero h2 span {
  font-weight: 700;
  font-style: italic;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }
.section-warm { background: var(--warm-bg); }
.section-dark { background: var(--navy); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 15px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}
.section-header .accent {
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-text h2 {
  font-size: 34px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}
.two-col-text h2 em {
  font-weight: 700;
  font-style: italic;
}
.two-col-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.two-col-image {
  border-radius: 4px;
  overflow: hidden;
}
.two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s;
}
.two-col-image:hover img { transform: scale(1.03); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 25px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}
.service-card .learn-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
  display: inline-block;
}

/* ===== QUOTE / TESTIMONIAL ===== */
.quote-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}
.quote-section blockquote {
  font-size: 20px;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.7;
  opacity: 0.95;
}
.quote-section .author {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.review-card {
  background: var(--white);
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-3px); }
.review-stars { color: #f4b942; font-size: 18px; margin-bottom: 15px; }
.review-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}
.review-card .reviewer {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}
.review-card .source {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.faq-question {
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 600px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--light-bg);
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h3 {
  font-size: 28px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
}
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 15px;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form .btn { border-color: var(--navy); color: var(--navy); }
.contact-form .btn:hover { background: var(--navy); color: var(--white); }
.contact-info h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-info p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.contact-info .phone-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 20px;
}
.contact-info .hours {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.map-container {
  margin-top: 20px;
  border-radius: 4px;
  overflow: hidden;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 40px 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.7;
}
.footer-col a {
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-col a:hover { opacity: 1; }
.footer-col .address { line-height: 1.8; opacity: 0.7; font-size: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 15px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 1;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--white);
  color: var(--navy);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.5;
}

/* ===== NOA SECTION ===== */
.noa-section {
  background: var(--warm-bg);
  padding: 60px 0;
}
.noa-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.noa-content h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 15px;
}
.noa-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.value-item {
  text-align: center;
  padding: 30px;
}
.value-item h3 {
  font-size: 22px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 15px;
}
.value-item h3 em {
  font-weight: 700;
  font-style: italic;
}
.value-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    z-index: 100;
  }
  .hamburger { display: flex; }
  .header .container { position: relative; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .hero h1 { font-size: 32px; }
  .hero h1 span { font-size: 38px; }
  .hero { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; gap: 5px; font-size: 12px; }
  .page-hero { padding: 50px 20px; }
  .page-hero h2 { font-size: 28px; }
  .section { padding: 50px 0; }
}
