/* =========================================================
   STAR 54 OTOMOTIV — Performance Garage Theme
   ========================================================= */

:root {
  --bg:        #0c0d10;
  --bg-2:      #101218;
  --surface:   #16191f;
  --surface-2: #1c2029;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --text:      #eef1f4;
  --muted:     #969ca6;
  --accent:    #ff7a18;
  --accent-2:  #ffb302;
  --star:      #ffc857;
  --grad:      linear-gradient(135deg, #ffb302 0%, #ff6a16 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,179,2,.16), rgba(255,106,22,.16));
  --shadow:    0 24px 60px -20px rgba(0,0,0,.7);
  --glow:      0 0 0 1px rgba(255,122,24,.4), 0 14px 40px -10px rgba(255,122,24,.45);
  --r:         16px;
  --maxw:      1180px;
  --header-h:  74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hl { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .6px; font-size: 15px;
  padding: 15px 28px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn .ico { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); color: #1a1206; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255,122,24,.6), 0 22px 50px -12px rgba(255,122,24,.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-3px); }
.btn-block { width: 100%; margin-top: 6px; }

.kicker {
  display: inline-block; font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 16px;
}
.kicker::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--accent); margin-right: 10px; vertical-align: middle; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(12,13,16,.55); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(12,13,16,.92); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-star { color: var(--star); font-size: 26px; line-height: 1; filter: drop-shadow(0 0 8px rgba(255,200,87,.5)); }
.brand-text { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 1px; display: flex; align-items: center; gap: 7px; }
.brand-54 { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.brand-text em { font-style: normal; font-size: 11px; letter-spacing: 3px; color: var(--muted); font-weight: 500; align-self: center; position: relative; top: 1px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s; position: relative; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width .25s; }
.nav a:not(.nav-cta):hover { color: var(--text); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--grad); color: #1a1206 !important; padding: 9px 18px; border-radius: 9px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: var(--text); transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 600px at 78% 20%, rgba(255,122,24,.22), transparent 60%),
    radial-gradient(700px 500px at 12% 85%, rgba(255,179,2,.10), transparent 55%),
    linear-gradient(160deg, #0c0d10 0%, #14110c 55%, #0c0d10 100%),
    url('galeri/d98dc0ce-e12d-41cd-828d-693f96be11ca.jpg');
  background-size: cover; background-position: center;
  background-blend-mode: normal, normal, normal, overlay;
}
.hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(12,13,16,.95) 0%, rgba(12,13,16,.78) 45%, rgba(12,13,16,.35) 100%); }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 22px 120px; }
.hero-content { max-width: 700px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 2.5px; font-size: 13px; color: var(--accent-2); padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255,179,2,.06); margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero h1 { font-size: clamp(42px, 8vw, 86px); line-height: 1.18; margin-bottom: 26px; letter-spacing: 0; }
.hero h1 .hl { display: inline-block; padding: 0 .04em; }
.hero-sub { font-size: clamp(16px, 2.3vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 38px; }
.hero-trust li { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); font-weight: 600; }
.hero-trust strong { font-family: 'Oswald', sans-serif; font-size: 34px; color: var(--text); line-height: 1; }
.hero-trust strong { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* staggered reveal */
.hero-content > * { opacity: 0; transform: translateY(24px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-content > *:nth-child(1){animation-delay:.05s} .hero-content > *:nth-child(2){animation-delay:.18s}
.hero-content > *:nth-child(3){animation-delay:.31s} .hero-content > *:nth-child(4){animation-delay:.44s}
.hero-content > *:nth-child(5){animation-delay:.57s}
@keyframes rise { to { opacity:1; transform:translateY(0); } }

/* marquee */
.hero-marquee { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.35); overflow: hidden; padding: 14px 0; }
.marquee-track { display: inline-flex; gap: 28px; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 2px; font-size: 15px; color: var(--muted); }
.marquee-track span:nth-child(even){ color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 5vw, 50px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 26px; overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.svc-card::before { content:''; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition: opacity .3s; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(255,122,24,.4); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }
.svc-num { position: absolute; top: 18px; right: 22px; font-family: 'Oswald',sans-serif; font-size: 40px; font-weight: 700; color: rgba(255,255,255,.05); z-index:0; }
.svc-ico { font-size: 36px; margin-bottom: 18px; display: inline-block; filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-more { display: inline-block; margin-top: 16px; font-family: 'Oswald',sans-serif; text-transform: uppercase; letter-spacing: .6px; font-size: 14px; color: var(--accent-2); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.svc-card:hover .svc-more { opacity: 1; transform: translateX(0); }
@media (hover: none) { .svc-more { opacity: 1; transform: none; } }

.services-foot { text-align: center; margin-top: 46px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.services-foot p { font-size: 18px; color: var(--muted); }
.services-foot strong { color: var(--text); }

/* ---------- Brands ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-chip {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; font-size: 17px; color: var(--text);
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); transition: transform .25s, border-color .25s, color .25s, background .25s;
}
.brand-chip:hover { transform: translateY(-4px); border-color: rgba(255,122,24,.5); color: var(--accent-2); background: var(--surface-2); }
.brands-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.why-media { position: relative; }
.why-media img { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.why-badge { position: absolute; bottom: -24px; right: -10px; background: var(--grad); color: #1a1206; padding: 20px 26px; border-radius: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--glow); }
.why-badge-num { font-family: 'Oswald',sans-serif; font-size: 42px; font-weight: 700; line-height: 1; }
.why-badge-text { font-family: 'Oswald',sans-serif; font-weight: 600; text-transform: uppercase; font-size: 14px; line-height: 1.1; }
.why-content h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 18px; }
.why-lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.chk { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-soft); border: 1px solid rgba(255,122,24,.35); color: var(--accent-2); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.why-list strong { display: block; font-family: 'Oswald',sans-serif; text-transform: uppercase; letter-spacing:.4px; font-size: 17px; }
.why-list p { color: var(--muted); font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-item::after { content: '🔍'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12,13,16,.55); opacity: 0; transition: opacity .3s; font-size: 28px; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.gallery-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.gallery-videos video { width: 100%; aspect-ratio: 9/16; max-height: 520px; object-fit: cover; background: #000; border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 720px) { .gallery-videos { grid-template-columns: 1fr; } .gallery-videos video { aspect-ratio: 16/13; max-height: none; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; position: relative; }
.review::before { content: '"'; position: absolute; top: 8px; right: 22px; font-family: 'Oswald',sans-serif; font-size: 90px; color: rgba(255,122,24,.12); line-height: 1; }
.stars { color: var(--star); letter-spacing: 3px; font-size: 18px; margin-bottom: 14px; }
.review p { color: var(--text); font-size: 15.5px; margin-bottom: 22px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #1a1206; display: grid; place-items: center; font-family: 'Oswald',sans-serif; font-weight: 700; font-size: 18px; }
.reviewer strong { display: block; font-size: 15px; }
.reviewer span { color: var(--muted); font-size: 13px; }
.reviews-cta { text-align: center; margin-top: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: border-color .25s, transform .25s; }
a.contact-row:hover { border-color: rgba(255,122,24,.4); transform: translateX(4px); }
.contact-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.contact-ico svg { width: 24px; height: 24px; }
.contact-ico.wa { background: rgba(37,211,102,.14); color: #25d366; }
.contact-ico.tel { background: var(--grad-soft); color: var(--accent-2); }
.contact-ico.loc, .contact-ico.clk { background: var(--surface-2); }
.contact-label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-value { font-family: 'Oswald',sans-serif; font-size: 18px; font-weight: 600; }
.contact-map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-size: 15px; letter-spacing: 1.5px; color: var(--accent-2); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 22px; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 13px; }
.footer-bottom .credit { margin-top: 6px; font-size: 12px; color: #6b7280; }
.footer-bottom .credit strong { color: var(--accent-2); font-weight: 600; letter-spacing: .3px; }
.footer-bottom .credit a { transition: opacity .2s; }
.footer-bottom .credit a:hover strong { text-decoration: underline; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; display: none; grid-template-columns: 1fr 1.4fr; gap: 0; background: rgba(12,13,16,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.mobile-btn { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px; border-radius: 12px; font-family: 'Oswald',sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; font-size: 16px; margin: 0 5px; }
.mobile-btn svg { width: 22px; height: 22px; }
.mb-call { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.mb-wa { background: #25d366; color: #04210f; box-shadow: 0 8px 24px -6px rgba(37,211,102,.5); }

/* ---------- Desktop floating WA ---------- */
.float-wa { position: fixed; right: 26px; bottom: 26px; z-index: 110; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6); animation: floaty 2.6s ease-in-out infinite; }
.float-wa svg { width: 32px; height: 32px; color: #04210f; }
.float-wa::after { content:''; position:absolute; inset:0; border-radius:50%; border:2px solid #25d366; animation: ring 2s infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes ring { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.5);opacity:0} }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,11,.94); display: none; align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; border: 1px solid var(--line-2); }
.lb-close { position: absolute; top: 22px; right: 26px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .services-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 60px; }
  .why-media img { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(12,13,16,.98); backdrop-filter: blur(14px);
    padding: 18px 22px 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: none !important; }
  .hamburger { display: flex; }

  .section { padding: 70px 0; }
  .services-grid, .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-trust { gap: 26px; }
  .hero-trust strong { font-size: 28px; }
  .mobile-bar { display: grid; }
  .float-wa { display: none; }
  body { padding-bottom: 78px; }
  .hero-cta .btn { flex: 1; }
  .why-badge { right: 12px; bottom: -20px; padding: 14px 18px; }
  .why-badge-num { font-size: 32px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .brand-text { font-size: 19px; }
  .brand-text em { font-size: 10px; letter-spacing: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, .hero-content > * { animation: none !important; transition: none !important; }
}
