/* Plot Plus - Critical CSS Path (Above-the-Fold Optimization) */

:root {
  --primary: #0F172A;
  --primary-dark: #0B1120;
  --accent: #D4AF37;
  --accent-light: #F5D97E;
  --accent-dark: #B8941F;
  --secondary: #2563EB;
  --bg-slate: #F8FAFC;
  --card-bg: #FFFFFF;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D97E 50%, #B8941F 100%);
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(212, 175, 55, 0.25);
  --shadow-luxury: 0 20px 40px rgba(15, 23, 42, 0.15);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.3);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-slate);
  color: #334155;
}

body.body-scroll-lock {
  overflow: hidden !important;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

.text-gold {
  color: var(--accent) !important;
}

.bg-primary-dark {
  background-color: var(--primary-dark) !important;
}

.bg-dark-slate {
  background-color: var(--primary) !important;
}

/* ==================================================
   HEADER STYLES & TRANSITIONS
   ================================================== */
#mainHeader {
  z-index: 1050;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Transparent Header Over Hero */
#mainHeader.header-transparent {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mainHeader.header-transparent .brand-title {
  color: #FFFFFF !important;
}

#mainHeader.header-transparent .brand-subtext {
  color: #CBD5E1 !important;
}

#mainHeader.header-transparent .main-nav-links .nav-link {
  color: #FFFFFF !important;
}

#mainHeader.header-transparent .header-call-btn {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: rgba(15, 23, 42, 0.4);
}

/* Scrolled Header State */
#mainHeader.header-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#mainHeader.header-scrolled .brand-title {
  color: var(--primary) !important;
}

#mainHeader.header-scrolled .brand-subtext {
  color: #64748B !important;
}

#mainHeader.header-scrolled .main-nav-links .nav-link {
  color: #0F172A !important;
}

#mainHeader.header-scrolled .header-call-btn {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

/* Header Nav Hover Underline & Active Indicator */
.main-nav-links .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.main-nav-links .nav-link:hover::after,
.main-nav-links .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav-links .nav-link.active {
  color: var(--accent) !important;
}

/* Brand Badge */
.brand-badge {
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.brand-subtext {
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  line-height: 1;
}

/* Hamburger Icon */
.mobile-menu-toggle {
  cursor: pointer;
  z-index: 1060;
}

.hamburger-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  margin: 5px 0;
  background-color: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Fullscreen Mobile Menu */
.mobile-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 17, 32, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-fullscreen-overlay.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.mobile-nav-link:hover {
  color: var(--accent) !important;
  transform: translateX(6px);
}

/* ==================================================
   HERO SECTION STYLES
   ================================================== */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  min-height: 700px;
  background-color: #0B1120;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 60px;
}

@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    min-height: 600px;
    padding-top: 85px;
    padding-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    height: auto;
    min-height: auto;
    padding-top: 75px;
    padding-bottom: 25px;
  }
}

/* Hero Responsive WebP Background */
.hero-bg-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  filter: brightness(0.85) contrast(1.08);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Dual Layer Luxury Overlays */
.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.75) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(11, 17, 32, 0.95) 100%);
  z-index: 2;
}

.hero-overlay-radial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.15) 0%, rgba(11, 17, 32, 0) 70%);
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  max-width: 650px;
  line-height: 1.6;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50px;
  color: #F8FAFC;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-gold-gradient {
  background: var(--gold-gradient);
  color: #0F172A;
  border: none;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  color: #000;
}
