/* Legacy Dental Team - Boynton Beach Modern Dentistry */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,600&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.font-script { font-family: 'Dancing Script', cursive; }
.font-display { font-family: 'Fraunces', serif; }
.font-heading { font-family: 'Montserrat', sans-serif; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 3-Color Top Stripe */
.tri-stripe {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 10px;
  width: 100%;
}
.tri-stripe .s1 { background-color: #07BC83; }
.tri-stripe .s2 { background-color: #02B8BF; }
.tri-stripe .s3 { background-color: #1990CE; }

/* Top Announcement */
.top-announcement {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 16px;
  font-size: 13px;
}
.top-announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.promo-pill {
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
}

/* Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}
.brand-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.brand-sub {
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: #475569;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.badge-tag {
  background: rgba(7, 188, 131, 0.15);
  color: #045e42;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}
.btn-call {
  background: #01B1AF;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-call:hover { background: #029795; }
.btn-appointment {
  background: #1990CE;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(25, 144, 206, 0.3);
  transition: all 0.2s;
}
.btn-appointment:hover { background: #4743C5; }

/* Navigation Bar */
.main-nav {
  background: #0f172a;
  color: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
}
.nav-list li a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: #01B1AF;
  background: rgba(255,255,255,0.05);
  border-bottom-color: #01B1AF;
}

/* Hero Section */
.hero-sec {
  padding: 60px 0 50px;
  background: #ffffff;
  text-align: center;
}
.hero-welcome {
  font-family: 'Dancing Script', cursive;
  color: #01B1AF;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 28px;
  color: #292929;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
}
.hero-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.hero-photo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  height: 380px;
}
.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services-sec {
  padding: 60px 0;
  background: #f8fafc;
}
.sec-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: #2B689C;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.service-box {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(1, 177, 175, 0.2);
}
.service-box-img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}
.service-box-title {
  padding: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: underline;
}
.other-services-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  font-size: 15px;
  color: #334155;
  margin-top: 20px;
}
.other-services-bar strong { color: #2B689C; margin-right: 8px; }
.other-services-bar a { text-decoration: underline; margin: 0 6px; font-weight: 600; color: #1e293b; }

/* About Section */
.about-sec {
  padding: 60px 0;
  background: #ffffff;
}
.about-desc {
  max-width: 850px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  text-align: justify;
}
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}
.highlight-list {
  list-style: none;
}
.highlight-list li {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.highlight-list li::before {
  content: "✓";
  color: #01B1AF;
  font-weight: 900;
}

/* Doctors Section */
.doctors-sec {
  padding: 60px 0;
  background: #f1f5f9;
}
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.doctor-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  padding-bottom: 24px;
}
.doctor-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.doctor-card-body {
  padding: 20px 20px 0;
}
.doctor-name {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.doctor-title {
  font-size: 15px;
  font-weight: 600;
  color: #01B1AF;
  margin-bottom: 14px;
}
.doctor-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

/* Parallax Banner */
.parallax-banner {
  height: 380px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-overlay {
  background: rgba(15, 23, 42, 0.6);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  margin: 0 20px;
}
.parallax-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* Reviews */
.reviews-sec {
  padding: 60px 0;
  background: #ffffff;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}
.review-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 10px;
}
.review-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.review-author {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}
.review-service {
  font-size: 12px;
  color: #01B1AF;
  font-weight: 600;
}

/* Contact Section */
.contact-sec {
  padding: 60px 0;
  background: #f8fafc;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-item h4 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.contact-form {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.form-textarea { height: 90px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 12px;
  background: #01B1AF;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #029795; }

/* Map Wrapper */
.map-box {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  border: 1px solid #e2e8f0;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Page Subpage Layout */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}
.page-hero p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto;
}
.page-body {
  padding: 50px 0;
  background: #ffffff;
}
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.content-main h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 24px 0 12px;
}
.content-main p {
  margin-bottom: 16px;
  color: #334155;
  line-height: 1.75;
}
.content-main ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #334155;
}
.content-main li { margin-bottom: 8px; }
.sidebar-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  border-bottom: 2px solid #01B1AF;
  padding-bottom: 8px;
}

/* Footer */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 20px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: #01B1AF; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 868px) {
  .header-wrap { flex-direction: column; text-align: center; }
  .header-actions { flex-wrap: wrap; justify-content: center; }
  .hero-welcome { font-size: 36px; }
  .hero-sub { font-size: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
}