/* ==========================================================================
   MINI BIKE KLUB — Core Stylesheet
   Minimalist / luxury / editorial. Black & white. No rounded corners.
   ========================================================================== */

:root{
  --bg:#FFFFFF;
  --text:#000000;
  --text-secondary:#555555;
  --border:#CCCCCC;
  --btn-bg:transparent;
  --btn-border:#CCCCCC;
  --btn-hover-bg:#000000;
  --btn-hover-text:#FFFFFF;
  --btn-hover-border:#000000;

  --font-body:"Inter","Helvetica Neue",Arial,sans-serif;

  --container-max:1360px;
  --gutter:40px;
  --gutter-mobile:20px;

  --ease:cubic-bezier(.4,0,.2,1);
}

html[data-theme="dark"]{
  --bg:#000000;
  --text:#FFFFFF;
  --text-secondary:#D0D0D0;
  --border:#777777;
  --btn-bg:transparent;
  --btn-border:#777777;
  --btn-hover-bg:#FFFFFF;
  --btn-hover-text:#000000;
  --btn-hover-border:#FFFFFF;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-weight:400;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  transition:background .3s var(--ease), color .3s var(--ease);
  overflow-x:hidden;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; }

.container{
  max-width:var(--container-max);
  margin:0 auto;
  padding:0 var(--gutter);
}
@media (max-width:768px){
  .container{ padding:0 var(--gutter-mobile); }
}

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--text);
  outline-offset:3px;
}

/* Typography scale */
h1,h2,h3,h4{
  font-weight:300;
  line-height:1.08;
  margin:0;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem, 5vw, 4.6rem); }
h2{ font-size:clamp(1.9rem, 3.4vw, 2.9rem); }
h3{ font-size:clamp(1.3rem, 2vw, 1.7rem); font-weight:400; }
p{ margin:0; color:var(--text-secondary); font-size:16px; }
.eyebrow{
  font-size:12px;
  letter-spacing:1.5px;
  color:var(--text-secondary);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:14px;
  font-weight:400;
  letter-spacing:0.5px;
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  color:var(--text);
  padding:14px 26px;
  border-radius:0;
  transition:background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space:nowrap;
}
.btn:hover, .btn:focus-visible{
  background:var(--btn-hover-bg);
  color:var(--btn-hover-text);
  border-color:var(--btn-hover-border);
}
.btn-block{ width:100%; }

/* ---------------- Header / Nav ---------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--border);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{
  font-size:16px;
  font-weight:500;
  letter-spacing:1.5px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav-links a{
  font-size:13px;
  font-weight:500;
  letter-spacing:1px;
  padding:6px 0;
  border-bottom:1px solid transparent;
  transition:border-color .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active{
  border-bottom-color:var(--text);
}
.nav-right{
  display:flex;
  align-items:center;
  gap:22px;
}
.icon-btn{
  background:none;
  border:none;
  color:var(--text);
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  letter-spacing:0.5px;
  padding:6px;
}
.cart-count{
  font-size:11px;
  border:1px solid var(--border);
  min-width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 4px;
}
.theme-toggle{
  border:1px solid var(--border);
  background:none;
  color:var(--text);
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:border-color .2s var(--ease);
}
.theme-toggle svg{ width:15px; height:15px; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  width:30px;
  height:22px;
  position:relative;
  padding:0;
}
.nav-toggle span{
  position:absolute;
  left:0; right:0;
  height:1px;
  background:var(--text);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top:0; }
.nav-toggle span:nth-child(2){ top:50%; margin-top:-0.5px; }
.nav-toggle span:nth-child(3){ bottom:0; }
.nav-toggle.open span:nth-child(1){ transform:translateY(10.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-10.5px) rotate(-45deg); }

.mobile-menu{
  display:none;
  position:fixed;
  inset:76px 0 0 0;
  background:var(--bg);
  z-index:99;
  overflow-y:auto;
  transform:translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-menu.open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.mobile-menu ul{
  list-style:none;
  margin:0;
  padding:20px var(--gutter-mobile) 40px;
}
.mobile-menu li{ border-bottom:1px solid var(--border); }
.mobile-menu a, .mobile-menu button.mobile-theme{
  display:block;
  padding:18px 0;
  font-size:14px;
  letter-spacing:1px;
  font-weight:500;
  background:none;
  border:none;
  color:var(--text);
  width:100%;
  text-align:left;
}

/* ---------------- Hero ---------------- */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:calc(100vh - 76px);
}
.hero-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:26px;
  padding:60px var(--gutter);
}
.hero-content .eyebrow{ margin-bottom:-10px; }
.hero-content h1{ }
.hero-tagline{
  font-size:15px;
  letter-spacing:1px;
  color:var(--text-secondary);
  text-transform:uppercase;
}
.hero-desc{ max-width:420px; }
.hero-media{
  position:relative;
  min-height:420px;
  background:var(--border);
  overflow:hidden;
}
.hero-media img{
  width:100%; height:100%; object-fit:cover;
}

/* ---------------- Stats ---------------- */
.stats{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.stats-row{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.stat{
  padding:48px var(--gutter);
  text-align:center;
}
.stat:first-child{ border-right:1px solid var(--border); }
.stat-number{
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:300;
  letter-spacing:-0.01em;
}
.stat-label{
  margin-top:8px;
  font-size:12px;
  letter-spacing:1.5px;
  color:var(--text-secondary);
}

/* ---------------- Split feature section ---------------- */
.feature-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}
.feature-split.reverse{ direction:rtl; }
.feature-split.reverse > *{ direction:ltr; }
.feature-media{ min-height:460px; background:var(--border); overflow:hidden; }
.feature-media img{ width:100%; height:100%; object-fit:cover; }
.feature-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:20px;
  padding:60px var(--gutter);
}
.feature-text p{ max-width:440px; }

/* ---------------- About / trust ---------------- */
.trust-section{
  padding:110px 0;
  text-align:center;
}
.trust-section .inner{
  max-width:720px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:26px;
}

/* ---------------- Video section ---------------- */
.video-section{
  padding:0;
  border-top:1px solid var(--border);
}
.video-wrap{
  position:relative;
  width:100%;
  aspect-ratio:16/8;
  background:var(--border);
  overflow:hidden;
}
.video-wrap video{ width:100%; height:100%; object-fit:cover; display:block; }
.video-caption{
  padding:70px var(--gutter);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
.video-caption p{ max-width:460px; }

/* ---------------- Why choose grid ---------------- */
.why-section{ padding:110px 0; border-top:1px solid var(--border); }
.why-heading{ text-align:center; margin-bottom:60px; }
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--border);
  border-left:1px solid var(--border);
}
.why-item{
  padding:44px 36px;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.why-num{ font-size:12px; letter-spacing:1px; color:var(--text-secondary); margin-bottom:16px; display:block; }
.why-item h3{ margin-bottom:12px; }

/* ---------------- Newsletter ---------------- */
.newsletter{
  padding:100px 0;
  border-top:1px solid var(--border);
  text-align:center;
}
.newsletter .inner{ max-width:520px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:20px; }
.newsletter-form{
  display:flex;
  width:100%;
  border:1px solid var(--border);
  margin-top:10px;
}
.newsletter-form input{
  flex:1;
  background:none;
  border:none;
  color:var(--text);
  padding:16px 18px;
  font-size:14px;
}
.newsletter-form input::placeholder{ color:var(--text-secondary); }
.newsletter-form button{
  border:none;
  border-left:1px solid var(--border);
  background:none;
  color:var(--text);
  padding:0 26px;
  font-size:13px;
  letter-spacing:1px;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.newsletter-form button:hover{ background:var(--text); color:var(--bg); }
.form-msg{ font-size:13px; min-height:18px; }
.form-msg.success{ color:var(--text); }
.form-msg.error{ color:#B33A3A; }

/* ---------------- Page header (interior pages) ---------------- */
.page-header{
  padding:80px 0 50px;
  border-bottom:1px solid var(--border);
}
.page-header h1{ margin-bottom:14px; }
.page-header p{ max-width:520px; }

/* ---------------- Footer ---------------- */
.site-footer{
  border-top:1px solid var(--border);
  padding:80px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:60px;
}
.footer-brand .brand{ display:block; margin-bottom:16px; }
.footer-brand p{ max-width:280px; }
.footer-col h4{
  font-size:12px;
  letter-spacing:1.5px;
  color:var(--text-secondary);
  font-weight:400;
  margin-bottom:18px;
}
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:var(--text-secondary); transition:color .2s var(--ease); }
.footer-col a:hover{ color:var(--text); }
.footer-col p{ font-size:14px; margin-bottom:8px; }
.footer-bottom{
  border-top:1px solid var(--border);
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}
.footer-bottom p{ font-size:12px; color:var(--text-secondary); }
.footer-legal{ display:flex; gap:22px; }
.footer-legal a{ font-size:12px; color:var(--text-secondary); }
.footer-legal a:hover{ color:var(--text); }

/* ---------------- Recent-order toast ---------------- */
.order-toast{
  position:fixed;
  left:24px;
  bottom:24px;
  z-index:150;
  width:320px;
  max-width:calc(100vw - 48px);
  background:var(--bg);
  border:1px solid var(--border);
  padding:18px 34px 18px 18px;
  transform:translateY(12px);
  opacity:0;
  pointer-events:none;
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.order-toast.in{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.order-toast-body{ display:flex; gap:12px; align-items:flex-start; }
.order-toast-dot{
  width:7px; height:7px;
  border-radius:50%;
  background:var(--text);
  margin-top:6px;
  flex:none;
}
.order-toast-text{
  font-size:13px;
  line-height:1.5;
  color:var(--text);
}
.order-toast-time{
  font-size:11px;
  letter-spacing:0.5px;
  color:var(--text-secondary);
  margin-top:4px;
}
.order-toast-close{
  position:absolute;
  top:10px;
  right:12px;
  background:none;
  border:none;
  color:var(--text-secondary);
  font-size:16px;
  line-height:1;
  padding:4px;
}
.order-toast-close:hover{ color:var(--text); }

@media (max-width:600px){
  .order-toast{ left:16px; right:16px; bottom:16px; width:auto; max-width:none; }
}

/* ---------------- Fade in on load ---------------- */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------------- Section spacing helper ---------------- */
section{ }
.section-pad{ padding:100px 0; }
