/* =========================
   RESET & BASE
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #0e1320;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   TOP GLASS NAVBAR (Scrolls away)
   ========================= */
.top-navbar {
  background: linear-gradient(
    135deg,
    rgba(10, 12, 18, 0.98) 0%,
    rgba(15, 18, 26, 0.95) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  padding: 8px 0;
  position: relative;
  z-index: 1002;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-navbar.hidden {
  transform: translateY(-100%);
}

.top-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.insurance-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.insurance-badge {
  background: rgba(199, 178, 124, 0.15);
  color: #c7b27c;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(199, 178, 124, 0.3);
  font-weight: 500;
  white-space: nowrap;
}

.underwritten {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

.top-nav-utils {
  display: flex;
  align-items: center;
  gap: 32px;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.change-location {
  color: #c7b27c;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.change-location:hover {
  opacity: 0.8;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.phone:hover {
  color: #c7b27c;
}

.hours {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  position: relative;
  padding-left: 16px;
}

.hours::before {
  content: '▼';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  opacity: 0.6;
}

/* =========================
   MAIN STICKY NAVBAR (Stays on top)
   ========================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14, 19, 32, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.main-nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* =========================
   LOGO WITH IMAGE
   ========================= */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-image {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #0a0c12;
  font-weight: 500;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.65rem;
  color: #8b93a7;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .logo-image {
    height: 35px;
  }
  
  /* Optional: Hide tagline on mobile */
  .logo-tagline {
    display: none;
  }
}
/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  color: #4a5468;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #c7b27c;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #0a0c12;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #0a0c12;
}

/* CTA Button */
.nav-cta {
  padding: 10px 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #c7b27c 0%, #d4c29d 100%);
  color: #0a0c12;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(199, 178, 124, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 178, 124, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background: #0a0c12;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f6 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(199, 178, 124, 0.05) 0%, transparent 100%);
  z-index: 0;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #0a0c12;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #4a5468;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #c7b27c 0%, #d4c29d 100%);
  color: #0a0c12;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 178, 124, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #0a0c12;
  border-color: rgba(14, 19, 32, 0.15);
}

.btn-secondary:hover {
  background: rgba(14, 19, 32, 0.03);
  transform: translateY(-2px);
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: #0a0c12;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: #c7b27c;
}

.footer-info {
  font-size: 0.85rem;
  text-align: right;
}

.footer-info p {
  margin-bottom: 4px;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1024px) {
  .top-nav-content {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .top-nav-utils {
    width: 100%;
    justify-content: space-between;
  }
  
  .insurance-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  
  .hours::before {
    display: none;
  }
  
  .nav-menu {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .top-navbar {
    display: none; /* Hide top bar on mobile for simplicity */
  }
  
  .main-nav {
    height: 60px;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(14, 19, 32, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(14, 19, 32, 0.05);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-cta {
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-section {
    padding: 80px 0 60px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-info {
    text-align: center;
  }
}