html { overflow-y: scroll; }

html, body {
  background-color: #000;  
  color: #fff;              
  margin: 0;                
  padding: 0;
  min-height: 100dvh;  
  font-family: 'Wix Madefor Display', sans-serif;     
}


header {
  text-align: center;
  padding-top: 7px; 
}


.logo {
  width: 450px; 
  height: auto;
}



.hero {
  transform: scale(0.85);      /* scales down entire section */
  transform-origin: top center;
  background: radial-gradient(ellipse at center, rgba(30,30,30,0.4) 0%, rgba(0,0,0,0.9) 80%);
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  display: flex;
  color: #fff;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 10% 80px;
  gap: 120px;
}

/* ========== HERO TEXT ========== */
.hero-text {
  flex: 0.8;            
  max-width: 600px;
  margin-top: 60px;  
  margin-left: 100px;   
  text-align: center;   
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 6.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
  margin: 0 0 30px 0;   
}

.hero-heading .line1 {
  color: #00E5D8; /* subtle neon accent */
  text-shadow: 0 0 10px rgba(0,255,168,0.4);
}

.hero-heading .line2 {
  color: #00EF62; /* subtle neon accent */
  text-shadow: 0 0 10px rgba(0,255,168,0.4);
}

.subheadline {
  font-size: 1.45rem;
  color: #ffffff;
  font-style: italic;
  position: relative;
  top: -05px;   /* negative value moves upward */
  display: block;
}

.hero-text p:not(.subheadline) {
  font-size: 1.35rem;           
  line-height: 1.8; 
  font-weight: 300;          
  color: #bbb;                
  max-width: 480px;    
  margin-top: 30px;    
  margin-right: auto;   
  margin-bottom: 50px;  
  margin-left: auto;    
  text-align: center;
  position: relative;        
}

.hero-text p:not(.subheadline)::before,
.hero-text p:not(.subheadline)::after {
  content: "";
  display: block;
  width: 60%;            
  height: 1px;           
  background-color: #444; 
  margin: 20px auto;     
}


.hero-buttons {
  display: flex;
  justify-content: center;               
  gap: 30px;
  margin-top: 25px;                   
}

.hero-buttons button {
  padding: 18px 48px;      
  font-size: 1.25rem;       
  letter-spacing: 0.8px;   
  border-radius: 6px;      
  font-weight: 600;         
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-buttons .shop-btn {
  background: #00ffa8;
  color: #000;
  border: 2px solid #00ffa8;
  box-shadow: 0 0 15px rgba(0, 255, 168, 0.4);
}


.hero-buttons .shop-btn:hover {
  background: #00ffcc;
  box-shadow:
    0 0 10px rgba(0, 255, 200, 0.8),
    0 0 25px rgba(0, 255, 200, 0.6),
    0 0 55px rgba(0, 255, 200, 0.6),
    0 0 115px rgba(0, 255, 200, 0.5);
  transform: scale(1.04);
}


.hero-buttons .contact-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.hero-buttons .contact-btn:hover {
  background: #fff;
  color: #000;
}


.hero-image {
  flex: 1.2;
  margin-top: 50px;   
  margin-left: 120px;   
}

.hero-image img {
  width: 1000PX;
  height: auto;
  border: 8px solid #999999;
  border-radius: 0;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(1.05) contrast(1.05);
}

.hero-image img {
  transition: transform 0.6s ease;
}

.hero-image img:hover {
  transform: translateY(-10px) scale(1.02);
}

header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2px 10px;         /* minimal vertical padding */
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 50;
  height: 28px;              /* very slim bar */
}

/* === FINAL SHOP HEADER SIZE OVERRIDE === */
body.shop header {
  all: unset; /* clears ALL inherited header styles */
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 16px !important;            /* tiny bar height */
  background: rgba(0,0,0,0.85) !important;
  border-bottom: 1px solid #222 !important;
  backdrop-filter: blur(2px) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
}

body.shop .logo-small,
body.shop .logo-small a,
body.shop .logo-small img {
  all: unset;                         /* wipes all previous image styles */
  display: block !important;
  height: 10px !important;            /* forced tiny logo */
  width: auto !important;
  margin: 2px 10px 0 0 !important;    /* positions it visually top-right */
  opacity: 0.95 !important;
  filter: brightness(1.2);
}

.logosmall {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
}

.logosmall:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/***** ===== HEADER / LOGO SCOPING FIX ===== *****/

/* Home page header keeps its old centered look */
body.home header {
  text-align: center;
  padding-top: 7px;
}

/* Home page header logo size (only affects index.html) */
body.home .logo {
  width: 450px;
  height: auto;
  display: inline-block;
  transition: none;
  transform: none;
  filter: none;
}

/* Contact page header matches home page */
/* Contact page header should match Home page header exactly */
body.contact header {
  text-align: center;
  padding-top: 7px;   /* match home */
  margin: 0;
}

body.contact .logo {
  width: 450px;       /* match home */
  height: auto;
  display: inline-block;
  margin: 0;
  vertical-align: top; /* prevents tiny baseline shift */
}



/* Remove any global header styling that was hitting all pages */
header {
  all: unset;
}

/* Bring back only the minimal defaults for the home page header */
body.home header {
  all: revert;
  text-align: center;
  padding-top: 7px;
}

/* ===== SHOP PAGE HEADER ONLY ===== */
body.shop header {
  /* slim sticky bar for the shop page */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  margin: 0;
  height: 16px;
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid #222;
  backdrop-filter: blur(2px);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* shop header logo sizing */
body.shop .logo-small img {
  display: block;
  height: 12px;               /* tweak if you want it a hair bigger */
  width: auto;
  margin: 2px 10px 0 0;
  opacity: 0.95;
  filter: brightness(1.2);
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}

/* hover effect ONLY on shop page header logo */
body.shop .logo-small img:hover {
  transform: scale(1.06) translateZ(0);
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 255, 255, 0.35));
  cursor: pointer;
}

/* Remove the top border above Features and tighten spacing */
#features {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* =========================
   CONTACT PAGE (scoped)
========================= */

body.contact .hero {
  gap: 90px; /* slightly tighter than homepage */
}

body.contact .contact-card {
  margin: 0 auto;
  max-width: 560px;
  padding: 22px;
  border: 1px solid #333;
  background: rgba(10, 10, 10, 0.55);
  box-shadow: 0 0 18px rgba(0, 255, 168, 0.08);
}

body.contact .contact-form label {
  display: block;
  text-align: left;
  margin: 14px 0 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #ddd;
}

body.contact .contact-form input,
body.contact .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 6px;
  border: 1px solid #444;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: 'Wix Madefor Display', sans-serif;
  font-size: 1rem;
  outline: none;
}

body.contact .contact-form input:focus,
body.contact .contact-form textarea:focus {
  border-color: #00ffa8;
  box-shadow: 0 0 0 2px rgba(0, 255, 168, 0.15);
}

body.contact .contact-email {
  color: #00ffa8;
  text-decoration: none;
  font-weight: 600;
}

body.contact .contact-email:hover {
  text-decoration: underline;
}

body.contact .contact-note {
  margin-top: 14px;
  color: #aaa;
  font-size: 0.95rem;
  text-align: center;
}

/* =========================
   CONTACT PAGE HEADER FIX
========================= */

body.contact header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 12px 0;
}

body.contact header .logo {
  display: block;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.logo-link:visited {
  color: inherit;
}

.logo-link:hover,
.logo-link:active {
  color: inherit;
}

/* =========================
   MOBILE RESPONSIVE OVERRIDES
   (paste at the very bottom)
========================= */

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* Prevent sideways scrolling on mobile from big margins/transforms */
html, body { overflow-x: hidden; }

/* Use a more flexible logo size everywhere by default */
.logo {
  width: min(450px, 92vw);
  height: auto;
}

/* Make hero typography scale down smoothly */
.hero-heading {
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  letter-spacing: 2px;
}

.subheadline {
  font-size: clamp(1.05rem, 4vw, 1.45rem);
}

.hero-text p:not(.subheadline) {
  font-size: clamp(1.0rem, 3.8vw, 1.35rem);
  line-height: 1.65;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons: don’t overflow */
.hero-buttons {
  flex-wrap: wrap;
  gap: 14px;
}

.hero-buttons button {
  width: min(420px, 92vw);
  padding: 14px 18px;
  font-size: 1.05rem;
}

/* ===== Extra mobile centering polish (WITH side breathing room) ===== */
@media (max-width: 900px) {
  .hero {
    width: 100%;
    margin: 0 auto;
    padding-left: 6vw !important;   /* <-- breathing room */
    padding-right: 6vw !important;  /* <-- breathing room */
  }

  /* Keep inner blocks centered but not edge-to-edge */
  .hero > * {
    width: 100%;
    max-width: 920px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-text {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-image {
    flex: 1;
    margin: 0 auto;
    width: min(720px, 92vw);
  }

  /* The homepage/contact image is hard-coded to 1000PX — override that on mobile */
  .hero-image img {
    width: 100% !important;
    border-width: 5px;
  }

  /* Contact page card spacing */
  body.contact .contact-card {
    width: min(560px, 92vw);
    padding: 18px;
  }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  header { padding-top: 10px; }

  .hero-heading { line-height: 0.95; }
  .hero-text p:not(.subheadline)::before,
  .hero-text p:not(.subheadline)::after {
    width: 80%;
  }

  body.contact .contact-form textarea { rows: 7; }
}

/* =========================
   REAL MOBILE LAYOUT FIX (HOME + CONTACT)
========================= */
@media (max-width: 900px) {
  /* Remove the desktop scale-down on mobile */
  .hero {
    transform: none !important;
    transform-origin: top center;

    /* Mobile layout = stacked, centered */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    /* nice side padding */
    padding: 22px 6vw 48px !important;

    /* kill the huge desktop spacing */
    gap: 26px !important;
  }

  /* Nuke desktop offsets that cause off-centering */
  .hero-text {
    margin: 18px auto 0 auto !important;
    max-width: 44rem;
    text-align: center;
  }

  .hero-image {
    margin: 0 auto !important;
    width: min(720px, 92vw);
  }

  .hero-image img {
    width: 100% !important;
    border-width: 5px;
  }

  /* Buttons stack nicely */
  .hero-buttons {
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .hero-buttons button {
    width: min(420px, 92vw);
  }
}

/* Extra: clamp any accidental overflow */
html, body { overflow-x: hidden; }

