/*
Theme Name: Setya Sepatu
Theme URI: https://shoes.setyahafit.space
Author: Setya Hafit
Author URI: https://setyahafit.space
Description: Tema toko online khusus sepatu sport – modern, bold, dan siap digunakan untuk berjualan secara profesional.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: setya-sepatu
Tags: woocommerce, shop, sport, shoes, ecommerce, modern
*/

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --card:    #181818;
  --red:     #e02020;
  --red-d:   #b81818;
  --white:   #f9f9f9;
  --gray:    #aaaaaa;
  --light:   #f3f3f3;
  --border:  rgba(255,255,255,0.08);
  --shadow:  0 8px 40px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  letter-spacing: 0.04em; line-height: 0.95;
}
h1 { font-size: clamp(64px, 9vw, 130px); }
h2 { font-size: clamp(40px, 5vw, 72px); }
h3 { font-size: clamp(22px, 3vw, 32px); }

.label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.label::before { content: ''; width: 24px; height: 2px; background: var(--red); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-red {
  display: inline-block;
  background: var(--red); color: #fff;
  padding: 14px 40px;
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  border: 2px solid var(--red);
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-red:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,32,32,0.45); }

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: 13px 36px;
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.25);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--white); }

.btn-dark {
  display: inline-block;
  background: var(--black); color: var(--white);
  padding: 14px 40px;
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  transition: background 0.25s;
}
.btn-dark:hover { background: #1e1e1e; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
section { padding: 100px 0; }

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}
#site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 0.12em; color: var(--white);
}
.site-logo span { color: var(--red); }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a {
  color: var(--gray); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--white); }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-cart-btn {
  background: var(--red); color: #fff;
  padding: 10px 22px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cart-btn:hover { background: var(--red-d); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); }

/* ============================================================
   HERO
============================================================ */
#hero {
  background: var(--black);
  min-height: 100vh; padding-top: 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; overflow: hidden; position: relative;
}
.hero-bg-word {
  position: absolute; left: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 35vw; line-height: 1; color: rgba(255,255,255,0.025);
  pointer-events: none; user-select: none;
}
.hero-left { padding: 80px 0 80px 40px; position: relative; z-index: 2; }
.hero-left h1 { color: var(--white); margin-bottom: 20px; }
.hero-left h1 .red { color: var(--red); }
.hero-desc { font-size: 15px; color: var(--gray); max-width: 420px; line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 0; }
.hstat {
  padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.1);
}
.hstat:first-child { padding-left: 0; border-left: none; }
.hstat-num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--white); line-height: 1; }
.hstat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-top: 2px; }
.hero-right {
  height: 100vh; min-height: 600px; position: relative;
  background: #0f0f0f; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.8;
  transition: transform 8s ease;
  transform: scale(1.06);
  animation: herozoom 8s ease forwards;
}
@keyframes herozoom { to { transform: scale(1); } }
.hero-badge {
  position: absolute; top: 40px; left: 40px;
  background: var(--red); color: #fff;
  padding: 12px 20px;
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.08em;
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee-strip {
  background: var(--red); overflow: hidden; padding: 14px 0;
}
.marquee-track { display: flex; animation: marquee 22s linear infinite; }
.marquee-item {
  flex: 0 0 auto; padding: 0 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; letter-spacing: 0.18em; color: #fff;
  white-space: nowrap; opacity: 0.9;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PRODUK UNGGULAN
============================================================ */
#produk { background: var(--dark); }
.produk-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.view-all-link { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); transition: color 0.2s; }
.view-all-link:hover { color: var(--white); }
.produk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.prod-card { background: var(--card); cursor: pointer; position: relative; overflow: hidden; }
.prod-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 10px; background: var(--red); color: #fff;
}
.prod-badge.sale { background: var(--white); color: var(--black); }
.prod-img-wrap { aspect-ratio: 1; overflow: hidden; background: #1a1a1a; }
.prod-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.prod-card:hover .prod-img { transform: scale(1.08); }
.prod-info { padding: 18px; }
.prod-brand { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.prod-name { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--white); }
.prod-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.05em; }
.prod-price .was { font-family: 'Syne', sans-serif; font-size: 12px; color: var(--gray); text-decoration: line-through; font-weight: 400; display: block; }
.add-btn {
  width: 34px; height: 34px; background: var(--red); border: none;
  color: #fff; font-size: 22px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.add-btn:hover { background: var(--red-d); transform: scale(1.1); }

/* ============================================================
   KATEGORI
============================================================ */
#kategori { background: var(--black); }
.kat-header { text-align: center; margin-bottom: 52px; }
.kat-grid { display: grid; grid-template-columns: repeat(2, 1fr) 1fr; grid-template-rows: 300px 300px; gap: 3px; }
.kat-card { position: relative; overflow: hidden; cursor: pointer; }
.kat-card:nth-child(1) { grid-row: 1 / 3; }
.kat-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); transition: transform 0.6s, filter 0.4s; }
.kat-card:hover .kat-img { transform: scale(1.06); filter: brightness(0.4); }
.kat-info {
  position: absolute; bottom: 24px; left: 24px;
}
.kat-name { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 0.06em; }
.kat-count { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; margin-top: 2px; }

/* ============================================================
   FITUR / KENAPA KAMI
============================================================ */
#fitur {
  background: var(--dark);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.fitur-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.fitur-item {
  padding: 44px 32px; border-right: 1px solid var(--border);
  text-align: center;
}
.fitur-item:last-child { border-right: none; }
.fitur-icon { font-size: 36px; margin-bottom: 16px; }
.fitur-item h4 { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.06em; margin-bottom: 8px; }
.fitur-item p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ============================================================
   BRAND BANNER
============================================================ */
#brands { background: var(--black); padding: 60px 0; border-top: 1px solid var(--border); }
.brands-label { text-align: center; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); margin-bottom: 36px; }
.brands-row { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 32px; }
.brand-item { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.12em; color: rgba(255,255,255,0.15); transition: color 0.3s; cursor: default; }
.brand-item:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   TESTIMONI
============================================================ */
#testimoni { background: var(--dark); }
.testi-head { margin-bottom: 52px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--card); padding: 32px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.testi-card:hover { border-color: var(--red); }
.stars { color: var(--red); font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-text { font-size: 13px; color: var(--gray); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-name { font-size: 13px; font-weight: 700; color: var(--white); }
.testi-prod { font-size: 11px; color: var(--gray); letter-spacing: 0.06em; }

/* ============================================================
   CTA STRIP
============================================================ */
#cta {
  background: var(--red); padding: 80px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { color: #fff; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.8); font-size: 15px; max-width: 520px; }
.btn-cta-white {
  background: #fff; color: var(--red);
  padding: 18px 52px; font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap; transition: transform 0.2s;
}
.btn-cta-white:hover { transform: translateY(-2px); }

/* ============================================================
   FOOTER
============================================================ */
#site-footer { background: var(--black); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.1em; color: var(--white); display: block; margin-bottom: 12px; }
.footer-logo-text span { color: var(--red); }
.footer-brand-desc { font-size: 13px; color: var(--gray); line-height: 1.8; max-width: 240px; }
.footer-col h5 { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--gray); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(170,170,170,0.45); }
.pay-row { display: flex; gap: 8px; }
.pay-chip { background: rgba(255,255,255,0.07); padding: 5px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray); }

/* ============================================================
   REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; }
  .hero-right { height: 50vw; min-height: 300px; }
  .hero-left { padding: 40px; }
  .produk-grid { grid-template-columns: repeat(2, 1fr); }
  .fitur-grid { grid-template-columns: repeat(2, 1fr); }
  .fitur-item { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .nav-menu, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); padding: 20px;
    border-top: 1px solid var(--border);
  }
  .produk-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .kat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .kat-card:nth-child(1) { grid-row: auto; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
