/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
  --bg-dark: #0B1A12;
  --bg-light: #F4F1E8;
  --bg-card: #FFFFFF;
  --accent: #B9FF3D;
  --accent-hover: #A0DE30;
  
  --text-dark: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #FFFFFF;
  --text-light-muted: rgba(255, 255, 255, 0.7);
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 999px;
  --border-radius-circle: 50%;
  
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Typography Scale */
.main-title { font-size: clamp(3rem, 6vw, 5.5rem); margin-bottom: 2rem; }
.section-title { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--text-muted); max-width: 500px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 1rem 2rem;
  color: var(--text-dark);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent);
  border-radius: var(--border-radius-pill);
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(185, 255, 61, 0.3);
}

/* ==========================================================================
   1. Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  color: var(--text-light);
  transition: padding 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  padding: 1rem 0;
  background-color: rgba(11, 26, 18, 0.9);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 3rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-utilities {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-scroll-container {
  height: 250vh;
  position: relative;
  background-color: var(--bg-dark);
}

.hero-section {
  background-color: transparent;
  color: var(--text-light);
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  padding-top: 6rem; /* Account for fixed header */
  overflow: hidden;
  position: sticky;
  top: 0;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-left {
  max-width: 600px;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  padding-right: 2rem;
}

.scroll-arrow-link {
  display: block;
  transition: opacity 0.3s ease;
}

.hero-scroll-arrow {
  width: 40px;
  animation: bob 2s infinite ease-in-out;
  opacity: 0.8;
}

.hero-scroll-arrow:hover {
  opacity: 1;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.hero-full-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  filter: brightness(0.65); /* Darken slightly so text remains readable */
  background-color: var(--bg-dark);
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.hero-copy {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  max-width: 250px;
}

.hero-thumbnails {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tiny-thumb {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  opacity: 0.8;
}

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light-muted);
}

.hero-center {
  text-align: center;
  position: relative;
}

.hero-object-wrapper {
  position: relative;
  display: inline-block;
}

.hero-object {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius-circle);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
}

.highlight-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.highlight-desc {
  color: var(--text-light-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.val-weight {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   3. Starter Kit Section
   ========================================================================== */
.starter-kit-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.kit-container {
  position: relative;
}

.kit-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.kit-strip-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.hotspot {
  position: absolute;
  z-index: 10;
}

.dot {
  width: 16px;
  height: 16px;
  background-color: var(--bg-card);
  border: 3px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(185, 255, 61, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(185, 255, 61, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(185, 255, 61, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(185, 255, 61, 0); }
}

.tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-subtle);
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.hotspot:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(15px);
}

.tooltip strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.tooltip span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-anchor {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
  text-align: center;
}

.price-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--text-dark);
}

.price-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ==========================================================================
   4. Benefits / Lifestyle Section
   ========================================================================== */
.benefits-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.benefits-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.benefits-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.benefit-tile {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.tile-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.benefit-tile:hover .tile-img {
  transform: scale(1.05);
}

.tile-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
}

.benefits-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--text-dark);
  margin-bottom: 1.5rem;
}

.benefit-column h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.benefit-column p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   5. Product Collection
   ========================================================================== */
.collection-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-card);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.collection-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mini-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition);
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-subtle);
}

.grade {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.mini-card h4 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.featured-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.featured-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.huge-price {
  font-size: 4rem;
  display: block;
  margin-bottom: 3rem;
}

.circular-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-subtle);
}

.tools-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.tool-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-card p {
  font-weight: 500;
}

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

/* ==========================================================================
   6. Essentials Section
   ========================================================================== */
.essentials-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.essentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.essential-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.essential-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.essential-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.card-meta {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta h4 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
}

/* ==========================================================================
   6.5. All Products Gallery
   ========================================================================== */
.all-products-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-card);
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

.product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-info h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-info .price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.product-action {
  width: 100%;
  margin-top: auto;
}

.add-to-cart-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--border-radius-pill);
  background-color: transparent;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-dark);
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 6rem 0 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.footer-offer {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  max-width: 600px;
}

.footer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 6rem;
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-links a:hover {
  color: var(--accent);
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.decor-img {
  max-width: 350px;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-left, .hero-right { order: 2; display: flex; flex-direction: column; align-items: center; }
  .hero-center { order: 1; margin-bottom: 3rem; }
  .benefits-top { grid-template-columns: 1fr; }
  .benefits-bottom { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .tools-row { grid-template-columns: 1fr; }
  .essentials-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact Modal Window
   ========================================================================== */
.contact-modal {
  position: fixed;
  bottom: -100%;
  right: 2rem;
  width: 350px;
  background-color: #1E1E1E;
  color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  visibility: hidden;
}

.contact-modal.active {
  bottom: 2rem;
  opacity: 1;
  visibility: visible;
}

.contact-modal-content {
  padding: 2rem;
  position: relative;
}

.contact-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.contact-close-btn:hover {
  opacity: 1;
}

.contact-modal-content h2 {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-modal-content p {
  font-size: 0.85rem;
  color: #FFFFFF;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.contact-divider {
  border-top: 1px solid #444;
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-form .required {
  color: #ff3333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: none;
  background-color: #FFFFFF;
  color: #333;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.contact-submit-btn {
  background-color: #E8E8E8;
  color: #333;
  border: none;
  padding: 0.5rem 1.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.contact-submit-btn:hover {
  background-color: #FFFFFF;
  transform: translateY(-1px);
}
/* ==========================================================================
   MOBILE FORCE OVERRIDE: FIXES THE COMPLETE RANGE PRODUCTS HIDDEN BUG
   ========================================================================== */
@media (max-width: 1024px) {
    
    /* 1. Uncollapse and force show the section wrapper */
    #all-products,
    .all-products-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 500px !important;
        position: relative !important;
        z-index: 100 !important;
        transform: none !important; /* Forces the browser to ignore broken desktop JS calculations */
    }

    /* 2. Strip any dynamic fading states from the inner containment grid */
    .all-products-section .container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        transform: none !important;
    }

    /* 3. Drop down to a beautiful, clean mobile 2-column grid layout */
    .product-gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Exactly 2 products side-by-side */
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 10px !important;
    }

    /* 4. Force individual item cards to stay completely drawn and responsive */
    .product-gallery-grid .product-card {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important; /* Overrides the broken opacity animation script hook */
    }

    /* 5. Clean layout heights for images on mobile phones */
    .product-img-wrapper {
        height: 150px !important; /* Set standard height fallback to prevent squishing */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        margin-bottom: 1rem !important;
    }

    .product-img-wrapper img {
        max-height: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }
}
/* ==========================================================================
   MOBILE HEADER FIX: RE-ALIGN AND REDUCE SPACE FOR NAVIGATION LINKS
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Reduce padding on the overall header bar so it doesn't take too much vertical space */
    .site-header, 
    .site-header.scrolled {
        padding: 1rem 0 !important;
        background-color: rgba(11, 26, 18, 0.95) !important; /* Ensures background stays solid over content */
    }

    /* 2. Adjust the main container layout to handle smaller screens tightly */
    .header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important; /* Slightly snugger edges for tiny phone screens */
    }

    /* 3. Compress the extreme desktop gap (3rem) down to a clean mobile spacing */
    .main-nav {
        display: flex !important;
        gap: 1.25rem !important; /* Significantly reduces whitespace between links */
        font-size: 0.8rem !important; /* Slightly scales down text size to fit cleanly on one line */
    }

    /* 4. Ensure links are easy to hit with fingers without overlapping */
    .main-nav a {
        padding: 0.25rem 0 !important;
        letter-spacing: 0.02em !important;
    }
}