/* ============================================================
   Vintage808 — Home Page Styles
   Matches the shop page aesthetic (vintage808-shop.html)
   Link this after your base/reset styles:
     <link rel="stylesheet" href="vintage808-home.css" />
   Google Fonts required in <head>:
     https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@300;400;500&family=Space+Mono:wght@400;700&display=swap
   ============================================================ */

/* ── Variables & Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:        #111111;
  --white:        #f5f2ec;
  --sand:         #e8e2d5;
  --mid:          #999186;
  --accent:       #c84b2f;
  --nav-h:        64px;
  --font-display: 'Archivo Black', sans-serif;
  --font-body:    'Archivo', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   HERO
   Expected HTML:
   <section class="hero">
     <div class="hero-x hero-x--tl"></div>
     <div class="hero-x hero-x--tr"></div>
     <div class="hero-x hero-x--bl"></div>
     <div class="hero-content">
       <h1 class="hero-heading">…</h1>
       <p class="hero-body">…</p>
       <a href="#" class="btn btn-primary">Explore</a>
     </div>
   </section>
   ============================================================ */
.hero {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%),
    url('./../../assets/images/hero.jpg') center/cover no-repeat;
  color: var(--white);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

/* Decorative X marks — matches wireframe top corners */
.hero-x {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  pointer-events: none; 
}

.hero-x::before,
.hero-x::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform-origin: center;
}

.hero-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-x--tl {
  top: -20px;
  left: -20px;
}

.hero-x--tr {
  top: -20px;
  right: -20px;
}

.hero-x--bl {
  bottom: -20px;
  left: 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-body {
  font-weight: 500;
  font-size: 14px;
  color: rgba(245,242,236,0.75);
  max-width: 380px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ============================================================
   BUTTONS (shared)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.18s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #a83a20;
  border-color: #a83a20;
}

/* Dark filled — used for "Explore" and "Shop" on home page */
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: #333;
  border-color: #333;
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(245,242,236,0.3);
}

.btn-ghost-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}


/* ============================================================
   FEATURED / SHOP SECTION
   Expected HTML:
   <section class="featured-section">
     <p class="section-eyebrow">Featured</p>
     <h2 class="section-heading section-heading--xl">Shop</h2>
     <p class="section-sub">Pick what fits your day</p>
     <div class="product-grid"> … </div>
   </section>
   ============================================================ */



.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
  text-align: center;
}

/* Default section heading */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
   text-align: center;

}

/* XL variant for the centered "Shop" heading on home page */
.section-heading--xl {
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
   text-align: center;

}

.section-sub {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 40px;
   text-align: center;

}







/* ============================================================
   DISCOVER MORE / CTA SECTION
   Expected HTML:
   <section class="discover-section">
     <h2 class="discover-heading">Discover more</h2>
     <p class="discover-sub">Browse the full collection…</p>
     <div class="discover-actions">
       <a href="#" class="btn btn-dark">Shop</a>
       <a href="#" class="btn btn-ghost">Learn more</a>
     </div>
   </section>
   ============================================================ */

.discover-section {
  padding: 96px 40px;
  text-align: center;
  background: var(--white);
}

.discover-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.discover-sub {
  font-size: 14px;
  color: var(--mid);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.discover-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}


/* ============================================================
   NEWSLETTER
   Expected HTML:
   <section class="newsletter">
     <div class="newsletter-text">
       <p class="newsletter-heading">Stay in the loop</p>
       <p class="newsletter-sub">Get updates on new drops and exclusive offers</p>
     </div>
     <div class="newsletter-form">
       <div class="newsletter-row">
         <input type="email" class="newsletter-input" placeholder="Your email" />
         <button class="btn-subscribe">Subscribe</button>
       </div>
       <p class="newsletter-note">We respect your privacy. Unsubscribe anytime.</p>
     </div>
   </section>
   ============================================================ */

.newsletter {
  background: var(--sand);
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.newsletter-heading {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.newsletter-sub {
  font-size: 13px;
  color: var(--mid);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-row {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  border: 1px solid rgba(17,17,17,0.2);
  border-radius: 2px;
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.15s;
}

.newsletter-input:focus {
  border-color: var(--black);
}

.newsletter-input::placeholder {
  color: var(--mid);
}

.btn-subscribe {
  padding: 11px 20px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.15s;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-subscribe:hover {
  opacity: 0.75;
}

.newsletter-note {
  font-size: 11px;
  color: var(--mid);
}





@media (max-width: 900px) {

  /* ── Hero ── */
  .hero {
    padding: 60px 24px 48px;
    min-height: 420px;
    align-items: flex-end;
  }

  .hero-heading {
    font-size: clamp(28px, 6vw, 42px);
  }

  .hero-body {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 10px;
  }

  /* ── Featured / Shop section ── */
  .featured-section {
    padding: 48px 24px 56px;
  }

  .section-heading--xl {
    font-size: clamp(48px, 10vw, 80px);
  }

  /* ── Product grid — 2 columns ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 24px;
  }

  .product-card {
    width: 100%;
  }

  /* ── Discover section ── */
  .discover-section {
    padding: 64px 24px;
  }

  .discover-heading {
    font-size: clamp(30px, 6vw, 50px);
  }


}

/* ============================================================
   768px — STANDARD MOBILE
   ============================================================ */
@media (max-width: 768px) {

  /* ── Hero ── */
  .hero {
    padding: 48px 16px 40px;
    min-height: 380px;
  }

  .hero-tag {
    font-size: 9px;
    margin-bottom: 12px;
  }

  .hero-heading {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 12px;
  }

  .hero-body {
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Featured / Shop section ── */
  .featured-section {
    padding: 40px 16px 48px;
  }

  .section-eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }

  .section-heading--xl {
    font-size: clamp(44px, 12vw, 72px);
    margin-bottom: 8px;
  }

  .section-sub {
    font-size: 13px;
    margin-bottom: 28px;
  }

  /* ── Product grid ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
    margin: 0;
  }

  .product-card {
    width: 100%;
  }

  .product-name {
    font-size: 12px;
  }

  .product-price {
    font-size: 12px;
  }

  .btn-cart {
    padding: 9px 12px;
    font-size: 10px;
  }

  /* ── Discover section ── */
  .discover-section {
    padding: 56px 16px;
  }

  .discover-heading {
    font-size: clamp(28px, 8vw, 44px);
    margin-bottom: 12px;
  }

  .discover-sub {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .discover-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .discover-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Newsletter ── */
  .newsletter {
    padding: 40px 16px;
    gap: 24px;
  }

  .newsletter-row {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter-input,
  .btn-subscribe {
    width: 100%;
  }

  .newsletter-note {
    font-size: 10px;
  }

  /* ── Buttons (global home page) ── */
  .btn {
    padding: 11px 20px;
    font-size: 11px;
  }
}

/* ============================================================
   520px — COMPACT PHONES
   ============================================================ */
@media (max-width: 520px) {

  /* ── Hero ── */
  .hero {
    padding: 40px 12px 36px;
    min-height: 340px;
  }

  .hero-heading {
    font-size: clamp(24px, 8vw, 34px);
  }

  .hero-body {
    font-size: 12px;
  }

  /* ── Section heading XL (the big "Shop" title) ── */
  .section-heading--xl {
    font-size: clamp(40px, 14vw, 64px);
    letter-spacing: -0.03em;
  }

  /* ── Product grid — stays 2-col but tighter ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 12px;
  }

  .product-card {
    width: 100%;
  }

  .product-image {
    margin-bottom: 8px;
  }

  .product-info {
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
  }

  .product-name,
  .product-price {
    font-size: 11px;
  }

  .btn-cart {
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* ── Featured section ── */
  .featured-section {
    padding: 32px 12px 40px;
  }

  /* ── Discover section ── */
  .discover-section {
    padding: 48px 12px;
  }

  .discover-heading {
    font-size: clamp(26px, 10vw, 38px);
  }

  /* ── Newsletter ── */
  .newsletter {
    padding: 32px 12px;
  }

  .newsletter-heading {
    font-size: 17px;
  }

  .newsletter-input {
    padding: 10px 12px;
    font-size: 12px;
  }

  .btn-subscribe {
    padding: 10px 16px;
    font-size: 11px;
  }
}

/* ============================================================
   380px — VERY SMALL PHONES (iPhone SE, Galaxy A)
   ============================================================ */
@media (max-width: 380px) {

  /* ── Hero ── */
  .hero {
    padding: 36px 10px 32px;
    min-height: 300px;
  }

  .hero-heading {
    font-size: clamp(22px, 9vw, 30px);
    margin-bottom: 10px;
  }

  /* ── Section heading XL ── */
  .section-heading--xl {
    font-size: clamp(36px, 15vw, 54px);
  }

  /* ── Product grid — single column on truly tiny screens ── */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }

  .product-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .product-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
  }

  .product-info {
    flex-direction: column;
    gap: 4px;
  }

  .btn-cart {
    margin-top: 8px;
  }

  /* ── Discover section ── */
  .discover-section {
    padding: 40px 10px;
  }

  .discover-heading {
    font-size: clamp(24px, 11vw, 34px);
  }

  /* ── Newsletter ── */
  .newsletter {
    padding: 28px 10px;
  }
}