/* Autfit Static Site Stylesheet
   Tech: Pure CSS, no frameworks
   Theme: Dark minimal
*/

:root{
  --bg:#0F0F0F;
  --section:#282828;
  --accent:#E6B538;
  --text:#FFFFFF;
  --muted:#B8B8B8;
  --maxw:1120px;
  --radius:14px;
  --shadow:0 8px 28px rgba(0,0,0,.35);
}

/* Fonts */
@font-face{
  font-family:"Bangers";
  src:url("./fonts/Bangers-Regular.ttf") format("truetype");
  font-weight:400; font-style:normal; font-display:swap;
}
/* Roboto via Google Fonts fallback if local not available */
body{font-family:Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;}
.h-heading{font-family:"Bangers", Roboto, sans-serif; letter-spacing:2px}

/* Reset / base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--text);text-decoration:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.section{padding:56px 0}
.section.alt{background:var(--section)}
button{font:inherit}

/* Nav */
.nav{
  position:sticky; top:0; z-index:50; backdrop-filter:saturate(180%) blur(8px);
  background:rgba(15,15,15,.75); border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:4px 0}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:44px;height:44px}
.brand-name{font-weight:700;letter-spacing:.8px;font-size:32px}
.nav-links{display:flex;gap:18px;align-items:center}
.nav-cta{padding:8px 14px;border-radius:999px;background:var(--accent);color:#1a1a1a;font-weight:700}

/* Mobile menu */
.mobile-menu{display:none}
.hamburger{display:none;flex-direction:column;gap:4px;cursor:pointer}
.hamburger span{width:22px;height:2px;background:var(--text)}
@media(max-width:840px){
  .nav-links{display:none}
  .hamburger{display:flex}
  .mobile-menu{display:none;flex-direction:column;gap:14px;padding:16px 0}
  .mobile-menu.open{display:flex}
}

/* Hero */
.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center}
.hero h1{font-size: clamp(40px, 6vw, 64px); line-height:1.05; margin:0 0 12px}
.hero p{color:var(--muted);margin:0 0 22px;font-size:clamp(16px,2.2vw,18px)}
.store-buttons{display:flex;gap:12px;flex-wrap:wrap}
.store-btn{display:flex;align-items:center;gap:10px;background:#1c1c1c;border:1px solid rgba(255,255,255,.08);padding:10px 14px;border-radius:12px;transition:transform .2s ease, border-color .2s ease}
.store-btn:hover{transform:translateY(-2px);border-color:var(--accent)}
.store-btn img{width:22px;height:22px}

/* Phone mock */
.phone{position:relative;max-width:320px;margin:0 auto;border-radius:28px;padding:8px;background:linear-gradient(180deg,#2c2c2c,#1d1d1d);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.08)}
.phone::before{content:"";position:absolute;top:10px;left:50%;transform:translateX(-50%);width:35%;height:6px;background:#111;border-radius:0 0 8px 8px}
.phone .screen{overflow:hidden;border-radius:20px}

@media(max-width:840px){
  .hero{grid-template-columns:1fr;gap:22px}
}

/* Features grid */
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.feature{background:#1b1b1b;border:1px solid rgba(255,255,255,.08);padding:18px;border-radius:16px;min-height:140px;transition:transform .2s ease,border-color .2s ease}
.feature:hover{transform:translateY(-3px);border-color:var(--accent)}
.feature h3{margin:0 0 8px;font-size:18px}
.feature p{margin:0;color:var(--muted)}
@media(max-width:1000px){.features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.features{grid-template-columns:1fr}}

/* Gallery (replaces carousel) */
.gallery{position:relative}
.gallery-track{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;border-radius:18px;border:1px solid rgba(255,255,255,.08);padding:8px;background:#111}
.gallery-item{scroll-snap-align:start;flex:0 0 auto;background:#0f0f0f;border-radius:12px;border:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center}
.gallery-item img{display:block;height:100%;width:auto}
/* Sizes: show 5 items on desktop, 3 on tablet, 1 on mobile */
.gallery-track{height:360px}
@media(max-width:1200px){.gallery-track{height:320px}}
@media(max-width:900px){.gallery-track{height:280px}}
@media(max-width:700px){.gallery-track{height:260px}}
@media(max-width:600px){.gallery-track{height:360px}}
/* Item widths */
.gallery-five .gallery-item{width:calc((100% - 8px*4)/5)}
@media(max-width:1200px){.gallery-five .gallery-item{width:calc((100% - 8px*2)/3)}}
@media(max-width:700px){.gallery-five .gallery-item{width:100%}}
/* hide old controls if any */
.carousel-controls{display:none}

/* Contact */
.contact-card{background:#1b1b1b;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px}
.contact-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.contact-item{background:#141414;border:1px dashed rgba(255,255,255,.08);border-radius:12px;padding:16px}
@media(max-width:800px){.contact-list{grid-template-columns:1fr}}

/* Footer */
.footer{padding:24px 0;border-top:1px solid rgba(255,255,255,.08);color:var(--muted)}
.footer a{color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}

/* Utility */
.badge{display:inline-block;background:rgba(230,181,56,.15);color:var(--accent);border:1px solid rgba(230,181,56,.35);padding:4px 20px;margin:0 0 10px;border-radius:999px;font-size:12px}
.muted{color:var(--muted)}
.center{text-align:center}

/* Policy/Terms page layout */
.doc-header{padding:28px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.doc-container{max-width:860px;margin:0 auto;padding:18px}
.doc-content{background:#151515;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px;max-height:70vh;overflow:auto}
.doc-content h1,.doc-content h2,.doc-content h3{font-family:"Bangers", Roboto, sans-serif;letter-spacing:1.5px}
.doc-content p,.doc-content li{color:#DDD}

/* Small hover and focus styles */
:focus-visible{outline:2px dashed var(--accent);outline-offset:2px}

/* Subtle section divider */
.hr{height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);margin:28px 0}

