* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  /*background: #111;*/
  min-height: 100vh;
  position: relative;
}

/* Global background image for all pages */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Add a subtle dark overlay for legibility */
  background-image: linear-gradient(rgba(0,0,0,0.32), rgba(0,0,0,0.32)), url('../assets/elitedoorlanding.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Subtle glass background */
  background: rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 280ms ease, background-color 240ms ease;
}

/* Hide-on-scroll state */
.header--hidden {
  transform: translateY(-110%);
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7c35f;
  display: flex;
  align-items: center;
  overflow: visible; /* allow scaled logo to render outside normal bounds if needed */
}
/* Logo image inside header */
.logo img {
  height: 40px;
  width: auto;
  display: block;
  transform: scale(2.1);
  transform-origin: left center;
}

@media (max-width: 768px) {
  .logo img { transform: scale(1.75); }
}
@media (max-width: 480px) {
  .logo img { height: 32px; transform: scale(1.4); }
}
nav a {
  margin: 0 18px;
  color: #ffffff; 
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  transition: color 0.25s ease, transform 0.2s ease;
}
nav a:hover {
  color: #f7c35f;
  transform: translateY(-1px);
}
nav a:focus-visible {
  outline: none;
  color: #ffe17d;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 480px) {
  nav a { font-size: 1.02rem; margin: 0 12px; }
}
.btn-primary {
  background-color: #f7c35f;
  color: #000;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background-color: #ffe17d;
  transform: scale(1.05);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}
.hero {
  height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18); /* home-only darkening overlay */
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
/* Glass panel for hero text */
.hero-text {
  position: relative;
  margin: 0 auto 28px;
  padding: 22px 28px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(95%, 860px);
  height: 300px;
  pointer-events: none;
  z-index: 0;
  border-radius: 24px;
  background: radial-gradient(closest-side, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.12) 65%, rgba(0,0,0,0) 100%);
  filter: saturate(1);
}
.hero h1 {
  font-size: 3rem;
  max-width: 700px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35), 0 0 1px rgba(0,0,0,0.4);
}
.hero p {
  font-size: 1.2rem;
  margin: 20px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.30);
}

/* Subtle outline for crisp edges where supported */
@supports (-webkit-text-stroke: 1px black) {
  .hero h1 {
    -webkit-text-stroke: 0.3px rgba(0,0,0,0.25);
  }
}
.cta-buttons {
  margin: 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* Side-by-side subscription cards */
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: stretch;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
}
.subscription-box {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 25px;
  width: auto;
  min-width: 0; /* allow content to shrink within grid */
  border-radius: 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(247, 195, 95, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255,255,255,0.03) inset;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease, border-color 280ms ease, background-color 280ms ease, filter 280ms ease, backdrop-filter 280ms ease;
  will-change: transform, box-shadow, filter, backdrop-filter;
  transform-origin: center center;
  position: relative;
  overflow: hidden; /* for sheen and gradient edges */
  backface-visibility: hidden;
}
.subscription-box:hover {
  transform: translateY(-14px) scale(1.05) rotate(-0.6deg);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(247, 195, 95, 0.25);
  border-color: rgba(247, 195, 95, 0.4);
  background-color: rgba(0, 0, 0, 0.55);
  filter: saturate(1.1) brightness(1.05);
  backdrop-filter: blur(2px);
}
.subscription-box:focus-within {
  outline: none;
  transform: translateY(-10px) scale(1.04) rotate(-0.4deg);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(247, 195, 95, 0.3);
  border-color: rgba(247, 195, 95, 0.4);
}
.subscription-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  transition: color 220ms ease;
}
.subscription-box:hover h3 { color: #f6d989; }
.subscription-box:hover .price { color: #f2c86a; }

/* Sheen sweep effect */
.subscription-box::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 80%;
  height: 220%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: rotate(20deg);
  opacity: 0;
  pointer-events: none;
}
.subscription-box:hover::before,
.subscription-box:focus-within::before {
  animation: sheen-sweep 900ms ease forwards;
}

@keyframes sheen-sweep {
  0% { opacity: 0; transform: translateX(0) rotate(20deg); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateX(260%) rotate(20deg); }
}

/* Gradient border highlight via overlay */
.subscription-box::after {
  content: "";
  position: absolute;
  inset: -1px; /* sits just outside to avoid clipping */
  border-radius: inherit;
  background: linear-gradient(45deg, rgba(247,195,95,0.12), rgba(255,225,125,0.22), rgba(247,195,95,0.12));
  z-index: 0;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}
.subscription-box:hover::after,
.subscription-box:focus-within::after {
  opacity: 1;
}

/* Keep content above overlays */
.subscription-box > * { position: relative; z-index: 1; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .subscription-box,
  .subscription-box:hover,
  .subscription-box:focus-within {
    transition: none;
    transform: none;
  }
  .subscription-box::before { display: none; }
}
.price {
  font-size: 2rem;
  font-weight: 700;
  color: #f7c35f;
}

section#contact {
  padding: 60px 50px;
  
}
/* Contact page grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* wider glass panel */
  gap: 40px;
  align-items: center; /* vertically center columns inside the panel */
  align-content: center; /* vertically center grid content when taller than content */
  width: 100%;
  max-width: min(1400px, 92vw); /* wider with even side margins */
  margin: 0 auto;
  /* Glass panel wrapping BOTH columns */
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 56px; /* more breathing room for even appearance */
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 90vh; /* near full screen without being 100% */
}

/* Glass info panel */
.contact-info {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.contact-info h3 {
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: #ffffff;
}
.contact-info h4 {
  font-size: 1.4rem;
  color: #f7c35f;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #f5f5f5;
}
.contact-info .divider {
  opacity: 0.8;
  letter-spacing: 4px;
  margin: 16px 0;
}
.contact-info ul {
  margin: 0 0 18px 22px;
}
.contact-info li {
  margin: 8px 0;
  font-size: 1.05rem;
}
.contact-info .phone {
  color: #f7c35f;
  font-size: 1.2rem;
  text-decoration: none;
}
.contact-cta { margin-top: 56px; }
.contact-form h2 { margin-bottom: 16px; font-size: 2.2rem; }
.contact-form form { width: 100%; }

/* Make inputs readable on dark glass */
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.9);
  color: #000;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .contact-info { min-height: auto; }
}
section#contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f7c35f;
}
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  gap: 15px;
}
form input, form textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}
form textarea {
  resize: vertical;
  min-height: 120px;
}

footer {
  background: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #999;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero, header, section#contact {
    padding: 20px;
  }
  /* keep three columns while allowing inner content to scale */
  .subscription-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Intentionally keep 3 columns at all sizes per user request */
