/* ===============================
   WowAR Static Styles
================================ */

:root{
  --bg:#0b0f14;
  --bg-soft:#121821;
  --card:#0f1622;
  --text:#e7edf6;
  --muted:#a7b3c7;
  --accent:#69e1ff;
  --accent-2:#7cffb7;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* ===============================
   Base / Reset
================================ */

*{box-sizing:border-box}
html,body{height:100%}

body{
  max-width: 100%;
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #0d1220 100%);
  line-height:1.6;
  overflow-x: hidden;
}

img{max-width:100%; display:block}
.container{width:min(1100px, 90vw); margin:0 auto}

/* ===============================
   Header / Navigation
================================ */

.site-header{
  ...
  overflow: visible;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.8rem 0;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  letter-spacing:.3px;
}

.menu{
  display:flex;
  gap:1rem;
}

.menu a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
}

.menu a:hover{color:var(--text)}

.menu-toggle{
  display:none;
  background:none;
  border:1px solid rgba(255,255,255,.2);
  color:var(--text);
  padding:.35rem .6rem;
  border-radius:.5rem;
}

/* ===============================
   Hero
================================ */

.hero{
  padding: clamp(2rem, 4vw, 4rem) 0 2rem;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:2rem;
  align-items:center;
}

.eyebrow{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.85rem;
  margin:0 0 .25rem;
}

h1{
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height:1.1;
  margin:.2rem 0 1rem;
}

.accent{
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.sub{color:var(--muted); max-width:55ch}

.cta-row{
  display:flex;
  gap:.75rem;
  margin-top:1rem;
}

/* ===============================
   Buttons
================================ */

.btn{
  display:inline-block;
  padding:.8rem 1rem;
  border-radius:.8rem;
  text-decoration:none;
  font-weight:700;
  border:1px solid rgba(255,255,255,.2);
}

.btn.primary{
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  color:#00131a;
  border:none;
  box-shadow: var(--shadow);
}

.btn.ghost{color:var(--text)}
.btn.small{padding:.55rem .8rem; font-size:.9rem}
.btn.full{width:100%; margin-top:20px}

/* ===============================
   Cards / Sections
================================ */

.hero-media .media-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.6rem;
}

.hero-media img{
  border-radius:1rem;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit:cover;
}

.why,
.services,
.work{
  padding:2.5rem 0;
}

.why-grid,
.card-grid,
.work-grid{
  display:grid;
  gap:1rem;
}

.why-grid{grid-template-columns:repeat(4,1fr)}
.card-grid{grid-template-columns:repeat(3,1fr)}
.work-grid{grid-template-columns:repeat(3,1fr)}

.why-card,
.card,
.work-item{
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:1rem;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.25rem;
}

.card img,
.work-item img{
  aspect-ratio:16/10;
  object-fit:cover;
}

.card-body,
.work-body{
  padding:1rem;
}

/* ===============================
   Contact (Main Site)
================================ */

.contact{
  padding:2.5rem 0;
}

.contact-inner{
  display:flex;
  gap:2rem;
  align-items:center;
  justify-content:space-between;
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:1rem;
  padding:1.2rem;
  box-shadow: var(--shadow);
}

.contact .made{
  width:180px;
  opacity:.9;
}

/* ===============================
   Floorplans Contact Box
================================ */

.contact-floorplans{
  padding:4rem 0;
  display:flex;
  justify-content:center;
}

.contact-box{
  background:#1f2733;
  border-radius:16px;
  padding:3rem 2rem;
  max-width:750px;
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:var(--shadow);
}

.contact-box h2{
  text-align:center;
  margin-bottom:2rem;
}

.contact-box .form-input,
.contact-box .form-textarea{
  background:transparent;
  border:none;
  border-bottom:1px solid #aaa;
  padding:.6rem 0;
  color:#fff;
}

.contact-box .form-footer{
  text-align:center;
  margin-top:2rem;
}

.btn-submit{
  border-radius:999px;
  background:#5B2F91;
  color:#fff;
  border:none;
  padding:.8rem 2.4rem;
  font-size:1rem;
  cursor:pointer;
}

/* ===============================
   Shop – Category Grid
================================ */

.shop-grid{
  display:grid;
  gap:1rem;
  margin:2rem 0;
}

/* Mobile: single column */
.shop-card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:1.2rem;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.shop-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.shop-card-media{
  position:relative;
  aspect-ratio: 1 / 1;
  overflow:hidden;
}

.shop-card-media video,
.shop-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.shop-card-body{
  padding:1.1rem 1rem 1.2rem;
}

.shop-card-title{
  font-size:1.1rem;
  font-weight:700;
  margin:0 0 .3rem;
}

.shop-card-sub{
  color:var(--muted);
  font-size:.9rem;
}

/* Desktop grid */
@media (min-width:700px){
  .shop-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===============================
   Shop – Product Cards
================================ */

.product-card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:1.2rem;
  box-shadow: var(--shadow);
  overflow:hidden;
  margin-bottom:1.5rem;
}

.product-media{
  aspect-ratio: 4 / 5;
  background:#000;
}

.product-media video,
.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-body{
  padding:1.2rem 1.1rem 1.3rem;
}

.product-title{
  font-size:1.15rem;
  font-weight:700;
  margin:0 0 .4rem;
}

.product-desc{
  font-size:.95rem;
  color:var(--muted);
  margin-bottom:.9rem;
}

.product-price{
  font-weight:700;
  margin-bottom:1rem;
}

/* ===============================
   Try Model Buttons
================================ */

.try-btn{
  display:block;
  width:100%;
  padding:.85rem 1rem;
  margin-bottom:.6rem;
  border-radius:.9rem;
  font-weight:800;
  text-align:center;
  text-decoration:none;
  cursor:pointer;

  background:linear-gradient(90deg, #1b8cff, var(--accent));
  color:#00131a;
  border:none;
  box-shadow: var(--shadow);
  transition: transform .2s ease, opacity .2s ease;
}

.try-btn:active{
  transform: scale(.97);
}

.try-btn.disabled{
  opacity:.45;
  pointer-events:none;
}

.try-remaining{
  font-size:.75rem;
  text-align:center;
  color:var(--muted);
  margin-bottom:.5rem;
}

.try-locked{
  background:#1a202c;
  border:1px solid rgba(255,255,255,.12);
  padding:.8rem;
  border-radius:.8rem;
  font-size:.85rem;
  text-align:center;
}

/* ===============================
   Product Media Carousel
================================ */

.carousel{
  position:relative;
  overflow:hidden;
}

.carousel-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.carousel-track{
  display:flex;
  flex-direction: row;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.carousel-item{
  flex:0 0 100%;
  min-width: 100%;
  scroll-snap-align:start;
  aspect-ratio:4/5;
  background:#000;
  position:relative;
}

.carousel-item img,
.carousel-item video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Dots – WOW AR style */

.carousel-dots{
  display:flex;
  justify-content:center;
  gap:.4rem;
  position:absolute;
  bottom:.6rem;
  left:0;
  right:0;
}

.carousel-dots span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff3132; /* WOW AR red */
}

.carousel-dots span.active{
  background:#ffffff;
  box-shadow: 0 0 0 2px #000000;
}

/* ===============================
   Modal (Login)
================================ */

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(8,24,38,.75);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.modal-overlay.active{display:flex}

.modal-card {
  background: linear-gradient(180deg, #0f2f52, #0b223a);
  color: #fff;
  padding: 36px 34px 32px;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
}

.modal-card form {
  margin-top: 22px;
}

.modal-card label {
  display: block;
  margin: 18px 0 6px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}

.modal-card input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  background: #ffffff;
  color: #000;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255,255,255,0.25);
}


/* ===============================
   Mobile / Responsive
================================ */

@media (max-width:900px){

  /* ===== Mobile Nav ===== */
  .menu-toggle{
    display:block;
  }

  .menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;

    display:none;
    flex-direction:column;

    background:var(--bg-soft);
    width:100%;
    max-width:100vw;

    box-shadow:var(--shadow);
    z-index:200;
  }

  .menu.open{
    display:flex;
    animation: slideDown .2s ease-out;
  }

  .menu a{
    width:100%;
    padding:1rem 1.2rem;
    border-top:1px solid rgba(255,255,255,.06);
    text-align:left;
  }

  .menu a.btn{
    margin:.75rem 1.2rem;
    align-self:flex-start;
  }

  /* ===== Layout Fixes ===== */

  .hero-inner{
    grid-template-columns: 1fr;
  }

  .hero-media{
    order:-1;
  }

  /* Stack ALL cards vertically */
  .why-grid,
  .card-grid,
  .work-grid{
    grid-template-columns: 1fr;
  }

  /* Prevent sneaky overflow */
  .container{
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body{
    overflow-x: hidden;
  }
  
  /* ===============================
   Light / White Pages
================================ */

body.light-page{
  background:#ffffff;
  color:#0b0f14;
}

body.light-page .sub,
body.light-page .shop-card-sub{
  color:#4b5563;
}

body.light-page .site-header{
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.08);
}

body.light-page .menu a{
  color:#374151;
}

body.light-page .menu a:hover{
  color:#000;
}

/* Cards still feel WOW AR */
body.light-page .shop-card,
body.light-page .product-card{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* ===============================
   Shop Light Theme
   Applies to all shop pages
================================ */

body.shop-light{
  background:#ffffff;
  color:#0b0f14;
}

body.shop-light .sub,
body.shop-light .shop-card-sub,
body.shop-light .product-desc,
body.shop-light .try-remaining{
  color:#4b5563;
}

/* Header */
body.shop-light .site-header{
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.08);
}

body.shop-light .menu a{
  color:#374151;
}

body.shop-light .menu a:hover{
  color:#000;
}

/* Cards */
body.shop-light .shop-card,
body.shop-light .product-card{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
  
}