:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.085);
  --text: rgba(255,255,255,0.90);
  --muted: rgba(255,255,255,0.70);
  --line: rgba(255,255,255,0.12);
  --accent: #caa35a;      /* warm brass */
  --accent2: #e6d2a4;     /* soft highlight */
  --danger: #ff6b6b;
  --ok: #7CFFB2;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --max: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--text); font-family:var(--font); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.container{ width:min(var(--max), calc(100% - 36px)); margin:0 auto; }
.small{ font-size:.95rem; color:var(--muted); line-height:1.55; }
.hr{ height:1px; background:var(--line); margin:28px 0; }

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(10,14,20,.72);
  border-bottom:1px solid var(--line);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

/* --- Mobile hamburger nav --- */
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor:pointer;
}
.nav-toggle:hover{ background: rgba(255,255,255,.08); }

.nav-toggle svg{ width:22px; height:22px; }

@media (max-width: 820px){
  .nav-toggle{ display:inline-flex; }

  /* Hide desktop nav row on mobile; we’ll show it as a dropdown instead */
  .navlinks{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid var(--line);
  }

  /* When open, show dropdown */
  .navlinks.is-open{
    display:flex;
  }

  .navlinks a{
    width:100%;
    padding:12px 12px;
    border-radius: 14px;
  }

  /* Let the header wrap to make room for dropdown */
  .navbar{
    flex-wrap:wrap;
  }
}


.brand{
  display:flex; align-items:center; gap:10px; min-width: 220px;
}
.brand-logo{
  height: 42px;
  width: auto;
  border-radius: 8px;         /* optional – remove if logo is square */
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

@media (max-width: 820px){
  .brand-logo{
    height: 36px;
  }
}

.brand h1{
  font-size:1.05rem; letter-spacing:.3px; margin:0;
}
.brand span{ display:block; font-size:.84rem; color:var(--muted); margin-top:2px; }

.navlinks{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.navlinks a{
  padding:9px 12px; border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
}
.navlinks a:hover{
  border-color:var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
}
.navlinks a.active{
  border-color: rgba(202,163,90,.38);
  background: rgba(202,163,90,.10);
  color: var(--accent2);
}

.hero{
  position:relative;
  min-height: var(--hero-min, 68vh);
  display:flex;
  align-items:flex-end;
  padding: var(--hero-pad, 58px 0 34px 0);
  overflow:hidden; /* important for parallax */
  border-bottom:1px solid var(--line);

  /* Defaults (can be overridden per page) */
  --hero-url: url("/gifs/bck.jpg");
  --hero-parallax-y: 0px;
  --hero-text-opacity: 1;
  --hero-text-y: 0px;
}

/* Background image layer (moves for parallax) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--hero-url) center/cover no-repeat;
  transform: translateY(var(--hero-parallax-y)) scale(1.06);
  will-change: transform;
  z-index:0;
}

/* Gradient overlay (static, keeps text readable) */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(11,15,20,.20) 0%,
    rgba(11,15,20,.78) 55%,
    rgba(11,15,20,1) 100%
  );
  z-index:1;
}

.hero .content{
  position:relative;
  z-index:2;
  padding: 18px 0 10px 0;

  /* Fade/float text slightly while scrolling */
  opacity: var(--hero-text-opacity);
  transform: translateY(var(--hero-text-y));
  will-change: transform, opacity;
}




/* Smaller hero used on inner pages */
.hero--page{
  --hero-min: 34vh;
  --hero-pad: 40px 0 22px 0;
}

/* Bigger home hero so you see more image before content */
.hero--home{
  --hero-min: 98vh;     /* increase this if you want even more */
  --hero-pad: 72px 0 44px 0;
}

.hero .content{
  padding: 18px 0 10px 0;
}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--accent2);
  font-size:.95rem;
  letter-spacing:.3px;
}
.kicker .dot{
  width:8px; height:8px; border-radius:999px;
  background:var(--accent);
  box-shadow: 0 0 0 6px rgba(202,163,90,.12);
}
.hero h2{
  font-size: clamp(2.0rem, 3.5vw, 3.2rem);
  margin: 12px 0 10px 0;
  letter-spacing: .2px;
}
.hero p{
  width:min(62ch, 100%);
  font-size:1.07rem;
  color:var(--muted);
  line-height:1.6;
  margin: 0 0 18px 0;
}
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  font-weight:600;
}
.btn:hover{ background: rgba(255,255,255,.08); }
/* Primary CTA button (gold pill) — make text readable */
.btn.primary{
  border-color: rgba(202,163,90,.55);
  background: linear-gradient(135deg, rgba(202,163,90,.92), rgba(202,163,90,.22));
  color: #fff;                          /* was #111 */
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
}
.btn.primary:hover{ filter: brightness(1.06); }


.section{ padding: 36px 0; }
.section h3{
  margin:0 0 10px 0; font-size:1.55rem;
}
.section .sub{ color:var(--muted); margin:0 0 18px 0; line-height:1.6; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}

.card{
  grid-column: span 4;
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card:hover{ background: var(--panel2); border-color: rgba(202,163,90,.28); }
.card .thumb{
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.06);
  overflow:hidden;
}
.card .thumb img{ width:100%; height:100%; object-fit:cover; transform: scale(1.02); }
.card:hover .thumb img{ transform: scale(1.05); transition: transform .35s ease; }

.card .body{ padding:14px 14px 16px 14px; }
.badges{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.badge{
  font-size:.8rem; padding:6px 10px; border-radius:999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.badge.ok{ border-color: rgba(124,255,178,.35); color: rgba(124,255,178,.95); background: rgba(124,255,178,.08); }
.badge.sold{ border-color: rgba(255,107,107,.35); color: rgba(255,107,107,.95); background: rgba(255,107,107,.08); }

.card h4{ margin:0 0 8px 0; font-size:1.08rem; }
.card .meta{ display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:.92rem; }
.price{ color: var(--accent2); font-weight:800; letter-spacing:.2px; }

.toolbar{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  margin: 18px 0 14px 0;
}
.input, .select{
  padding: 10px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline:none;
}
.input::placeholder{ color: rgba(255,255,255,.45); }
.select{ cursor:pointer; }

.product{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.panel{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel .padded{ padding:16px; }

.gallery{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:10px;
}
.gallery a{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.gallery img{ width:100%; height:160px; object-fit:cover; }

.specs{
  width:100%;
  border-collapse:collapse;
  font-size:.95rem;
}
.specs td{
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.specs td:first-child{ color:var(--muted); width:40%; padding-right:12px; }

.notice{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(202,163,90,.28);
  background: rgba(202,163,90,.10);
  color: var(--accent2);
  line-height:1.55;
  font-size:.95rem;
}

.site-footer{
  border-top:1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}
.footer-cols{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.footer-cols a{ color: var(--accent2); }
.footer-cols a:hover{ text-decoration: underline; }

@media (max-width: 980px){
  .card{ grid-column: span 6; }
  .product{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .brand{ min-width: auto; }
  .card{ grid-column: span 12; }
  .gallery{ grid-template-columns: 1fr 1fr; }
}


/* Remove the top padding on the very first section after a hero */
.hero + main .section:first-child{
  padding-top: 0;
}

/* Also avoid any first-heading top margin creating a visual gap */
.hero + main .section:first-child > h3,
.hero + main .section:first-child > h2,
.hero + main .section:first-child > h1{
  margin-top: 0;
}

/* FORCE mobile nav to be hidden until hamburger opens it */
@media (max-width: 820px){
  .navlinks{ display:none !important; }
  .navlinks.is-open{ display:flex !important; }
}


/* --- Mobile stacking for Contact & About page panels --- */
@media (max-width: 820px){

  /* Force grid to single column */
  .section .grid{
    grid-template-columns: 1fr !important;
  }

  /* Ensure form/content panel appears first */
  .section .grid > .panel:first-child{
    order: 1;
  }

  /* Ensure compliance / info panel appears below */
  .section .grid > .panel:last-child{
    order: 2;
  }

}
