/* Material Design 3 Theme - Google */

:root {
  /* MD3 Color Palette (Blue Primary, Yellow Secondary) */
  --md-sys-color-primary: #313e8d;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #dce1ff;
  --md-sys-color-on-primary-container: #000f5d;
  
  --md-sys-color-secondary: #D3B544;
  --md-sys-color-on-secondary: #382f00;
  --md-sys-color-secondary-container: #fbe680;
  --md-sys-color-on-secondary-container: #231b00;
  
  --md-sys-color-background: #fdfbff;
  --md-sys-color-on-background: #1b1b1f;
  
  --md-sys-color-surface: #fdfbff;
  --md-sys-color-on-surface: #1b1b1f;
  
  --md-sys-color-surface-container-low: #f6f3f6;
  --md-sys-color-surface-container: #f0edf1;
  --md-sys-color-surface-container-high: #eae7ec;
  
  --md-sys-color-outline: #767680;
  --md-sys-color-outline-variant: #c6c5d0;

  /* Elevation */
  --md-sys-elevation-1: 0px 1px 2px 0px rgba(0,0,0,0.3), 0px 1px 3px 1px rgba(0,0,0,0.15);
  --md-sys-elevation-2: 0px 1px 2px 0px rgba(0,0,0,0.3), 0px 2px 6px 2px rgba(0,0,0,0.15);

  /* Typography */
  --font-main: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--md-sys-color-background);
  color: var(--md-sys-color-on-background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px; /* MD3 standard margins */
}

h1, h2, h3, h4 {
  font-weight: 700; /* Poppins Bold */
  color: var(--md-sys-color-on-background);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.highlight {
  color: var(--md-sys-color-primary);
}

.material-symbols-outlined {
  vertical-align: middle;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.navbar {
  padding: 16px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--md-sys-color-surface);
  box-shadow: var(--md-sys-elevation-1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 500;
}

.logo .material-symbols-outlined {
  color: var(--md-sys-color-secondary);
  font-size: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  padding: 0 24px;
  height: 48px;
  border-radius: 100px; /* MD3 fully rounded buttons */
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1px;
  transition: background-color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: var(--md-sys-elevation-1);
}

.btn-primary:hover {
  background-color: #273173;
  box-shadow: var(--md-sys-elevation-2);
}

.btn-calendar {
  height: auto;
  min-height: 48px;
  padding: 25px 39px;
  justify-content: flex-start;
  text-align: left;
}

.calendar-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-main-text {
  font-weight: 700;
  font-size: 1.125rem;
}

.btn-sub-text {
  font-weight: 400;
  font-size: 0.925rem;
  opacity: 0.9;
}

.btn-primary.full-width {
  width: 100%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 40px;
  border: 1px solid var(--md-sys-color-outline);
  background: transparent;
  color: var(--md-sys-color-primary);
  border-radius: 100px; /* MD3 outlined button */
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  transition: background-color 0.2s;
}

.btn-outline:hover {
  background: var(--md-sys-color-surface-container-high);
}

/* MD-specific button styles for map */
.md-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 12px;
  height: 40px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 100px;
  color: var(--md-sys-color-on-surface);
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}
.md-btn-outline:hover {
  background-color: var(--md-sys-color-surface-container-high);
}

.hero {
  padding: 120px 0 64px 0;
  background-color: var(--md-sys-color-surface);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.headline {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.sub-headline {
  font-size: 1.125rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 32px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.hero-image-wrapper {
  position: relative;
  height: 400px;
  background-color: var(--md-sys-color-surface-container);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.trust-card {
  background: var(--md-sys-color-surface);
  padding: 16px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--md-sys-elevation-2);
  position: relative;
  z-index: 1;
}

.trust-card .material-symbols-outlined {
  color: var(--md-sys-color-secondary);
  font-size: 32px;
}

.trust-text strong {
  font-size: 1rem;
  display: block;
}

.trust-text p {
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface-variant);
}

.section {
  padding: 64px 0;
}

.section-header {
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1rem;
  color: var(--md-sys-color-on-surface-variant);
}

.brands-section {
  background-color: var(--md-sys-color-background);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--md-sys-color-surface-container-low);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.bento-card:hover {
  box-shadow: var(--md-sys-elevation-1);
}

.bento-card .material-symbols-outlined {
  font-size: 32px;
  color: var(--md-sys-color-primary);
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.bento-card p {
  color: var(--md-sys-color-on-surface-variant);
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: 20px;
  margin-top: 20px;
}

.brand-logos img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.brand-logos img:hover {
  transform: scale(1.05);
}

.featured-card {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.featured-card h3 { color: var(--md-sys-color-on-primary-container); }
.featured-card p { color: var(--md-sys-color-on-primary-container); }
.featured-card .material-symbols-outlined { color: var(--md-sys-color-primary); }

.walk-in-card {
  grid-column: 1 / -1;
}

.preventive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.preventive-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-desc {
  color: #756000; /* Darker gold for better contrast ratio */
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--md-sys-color-secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon .material-symbols-outlined {
  color: var(--md-sys-color-on-secondary-container);
}

.feature-text h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.feature-text p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.875rem;
}

.preventive-visual {
  background: var(--md-sys-color-surface-container);
  border-radius: 24px;
  padding: 40px;
}

.glass-panel {
  background: var(--md-sys-color-surface);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--md-sys-elevation-2);
}

.glass-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.glass-panel p {
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 24px;
}

.location-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.address-text {
  font-size: 1.125rem;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 24px;
  line-height: 1.6;
}

.address-text strong {
  color: var(--md-sys-color-primary);
  font-size: 1.25rem;
}

.map-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.map-wrapper {
  width: 100%;
}
.map-wrapper iframe {
  box-shadow: var(--md-sys-elevation-1);
}

.footer {
  background-color: var(--md-sys-color-surface-container);
  padding: 32px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
}

.footer-logo .material-symbols-outlined {
  color: var(--md-sys-color-secondary);
}

.footer-address {
  text-align: center;
  flex: 1;
}

.footer-address p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.footer > div > p:last-child {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-group { align-items: center; }
  .preventive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .headline {
    font-size: 2.875rem;
    text-align: left;
  }
  .bento-grid { grid-template-columns: 1fr; }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .btn-primary {
    padding-top: 15px;
    padding-bottom: 15px;
    height: auto;
  }
}
