/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Arsenale White';
  src: url('../assets/fonts/Arsenale White.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --pitch-dark:   #0d0d0d;
  --electro-mint: #00f5d4;
  --neon-fuchsia: #ff006e;
  --flash-gold:   #ffe600;
  --white:        #ffffff;
  --off-white:    #f7f5f0;
  --warm-grey:    #e8e4dc;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--pitch-dark);
  background: var(--white);
  overflow: hidden; /* snap-container handles scroll */
}

img {
  display: block;
  max-width: 100%;
}

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

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--electro-mint);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 14px 30px;
  background: transparent;
  mix-blend-mode: difference;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: invert(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
}

.nav-close {
  display: none;
}

/* Cart button in nav */
.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  position: relative;
  line-height: 1;
}

.cart-count {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: #ffffff;
  color: var(--pitch-dark);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
}

/* ============================================================
   CART PANEL
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--warm-grey);
}

.cart-panel-title {
  font-size: 28px;
  display: flex;
  align-items: baseline;
  margin: 0;
}

.cart-panel-title .straight {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1em;
}

.cart-panel-title .script {
  font-family: 'Arsenale White', cursive;
  font-size: 2em;
  line-height: 0.75;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--pitch-dark);
  padding: 4px;
  line-height: 1;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}

.cart-empty {
  color: #aaa;
  font-size: 15px;
  margin-top: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--warm-grey);
}

.cart-item-img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--warm-grey);
  background: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--pitch-dark);
  transition: border-color 0.15s;
}

.qty-btn:hover {
  border-color: var(--pitch-dark);
}

.qty-value {
  font-size: 15px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #bbb;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}

.cart-item-remove:hover {
  color: var(--pitch-dark);
}

.cart-panel-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--warm-grey);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  margin-bottom: 20px;
}

.cart-total-row strong {
  font-size: 18px;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   SNAP SCROLL CONTAINER
   ============================================================ */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

/* ============================================================
   MIXED HEADING TECHNIQUE
   ============================================================ */
.section-heading {
  font-size: clamp(1rem, 2.4vw, 46px);
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin: 0 0 28px 0;
  line-height: 1;
}

.hero-heading {
  font-size: clamp(20px, 4.2vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
  margin: 0;
  padding: 0;
  margin-bottom: -20px;
}

.hero-heading .line {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  overflow: visible;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.hero-heading .line + .line {
  margin-top: -0.35em;
}

.straight {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.script {
  font-family: 'Arsenale White', cursive;
  font-weight: 400;
  font-size: 2em;
  line-height: 0.75;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.hero-heading           { color: var(--white); }
.hero-heading .straight { color: var(--white); }
.hero-heading .script   { color: var(--white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--electro-mint);
  color: var(--pitch-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 27px;
  border-radius: 120px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgb(255, 198, 198), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgb(255, 198, 198), 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}


/* ============================================================
   SECTION INNER
   ============================================================ */
.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero-section {
  background: url('../assets/images/hero-strap.jpg') no-repeat center center / cover;
  overflow: hidden;
}


.hero-content {
  position: relative;
  padding: 0 48px;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  background: none;
}

.hero-text-blend {
  mix-blend-mode: difference;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none !important;
}

.hero-heading,
.hero-heading .straight,
.hero-heading .script,
.hero-sub {
  color: #ffffff;
  background: none;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  max-width: 380px;
}

/* ============================================================
   SECTION 2 — ABOUT
   ============================================================ */
.about-section {
  background: url('../assets/images/about-bg.jpg') no-repeat center center / cover;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-section .section-heading {
  justify-content: center;
  text-align: center;
}

.about-section .section-heading .straight,
.about-section .section-heading .script {
  color: var(--white);
}

.about-text {
  max-width: 560px;
  margin: 0 auto;
}

.about-text p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0.6em;
  color: var(--white);
  text-align: center;
}

.about-text p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   SECTION 3 — PROCESS CAROUSEL
   ============================================================ */
.process-section {
  padding: 0;
  overflow: hidden;
  background: var(--pitch-dark);
  display: block;
  height: 100vh;
  position: relative;
}

.carousel-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100vw;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 48px 56px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
}

.slide-title {
  font-size: clamp(20px, 4.2vw, 48px);
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  line-height: 1;
  margin: 0;
}

.slide-title .straight {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #ffffff;
  line-height: 1;
}

.slide-title .script {
  font-family: 'Arsenale White', cursive;
  font-weight: 400;
  font-size: 2em;
  line-height: 0.75;
  color: #ffffff;
  display: inline-block;
}

[hidden] { display: none !important; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.28);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

/* Dark variant for collection section */
.collection-prev,
.collection-next {
  background: rgba(13,13,13,0.82);
  border-color: rgba(13,13,13,0.15);
  color: #ffffff;
}
.collection-prev:hover,
.collection-next:hover {
  background: var(--pitch-dark);
}
.collection-prev { left: 24px; }
.collection-next { right: 24px; }

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #ffffff;
  transform: scale(1.5);
}

/* ============================================================
   SECTION 4 — COLLECTION
   ============================================================ */
.collection-section {
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
  transition: opacity 0.25s ease;
}
.product-grid.fading {
  opacity: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
}

.product-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.product-price {
  font-size: 15px;
  color: var(--pitch-dark);
}

.mollie-note {
  font-size: 14px;
  color: #888;
  margin-top: 8px;
}

/* ============================================================
   SECTION 4 — STORY
   ============================================================ */
.story-section {
  background: var(--pitch-dark);
  color: var(--white);
}

.story-section .section-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-heading.light .straight,
.section-heading.light .script {
  color: var(--white);
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.story-col p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--off-white);
}

.story-col p:last-child {
  margin-bottom: 0;
}

.story-signature {
  font-family: 'Arsenale White', cursive;
  font-size: 48px;
  text-align: right;
  line-height: 1.2;
  background: linear-gradient(to right, #FFE347, #E40066);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SECTION 5 — CONTACT
   ============================================================ */
.contact-section {
  background: var(--off-white);
}

.contact-inner {
  max-width: 720px;
}

.contact-sub {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 36px;
  color: var(--pitch-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1.5px solid var(--warm-grey);
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--white);
  color: var(--pitch-dark);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--electro-mint);
}

.contact-form textarea {
  resize: vertical;
}

.form-success {
  font-size: 16px;
  color: var(--pitch-dark);
  font-weight: 700;
  margin-top: 8px;
  min-height: 24px;
}

.contact-footer {
  margin-top: 48px;
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}

/* ============================================================
   RESPONSIVE — TABLET (768–1024px)
   ============================================================ */
@media (max-width: 1024px) {
  #main-nav {
    padding: 20px 40px 14px 30px;
  }

  .hero-content {
    padding: 0 32px;
    max-width: 55%;
  }

  .section-inner {
    padding: 64px 32px;
  }

  .story-columns {
    gap: 32px;
  }
}

/* ============================================================
   MOBILE PRODUCT SNAP SECTIONS
   ============================================================ */
.product-snap-section {
  display: none; /* desktop: never shown */
  background: var(--white);
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .product-snap-section {
    display: flex;
  }

  .product-snap-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 80px 24px 40px;
    gap: 24px;
  }

  .product-snap-img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
  }

  .product-snap-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}

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

  /* Nav */
  #main-nav {
    padding: 20px 40px 14px 30px;
    mix-blend-mode: difference;
  }

  .hamburger {
    display: block;
    color: #ffffff;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    font-size: 22px;
    z-index: 150;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 22px;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--pitch-dark);
  }

  /* Hero */
  .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
  }

  .hero-content {
    position: relative;
    max-width: 100%;
    padding: 24px 24px;
    gap: 20px;
  }

  .hero-heading {
    font-size: clamp(1.8rem, 12.6vw, 2.52rem);
  }

  .hero-heading .line {
    white-space: normal;
    flex-wrap: wrap;
  }

  .hero-heading .line + .line {
    margin-top: 0;
  }

  .hero-sub {
    font-size: 17px;
  }

  /* About */
  .about-section .section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Collection */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Story */
  .story-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Contact */
  .form-row {
    flex-direction: column;
  }

  .section-inner {
    padding: 48px 20px;
  }
}

/* ============================================================
   RESPONSIVE — WIDE (> 1440px)
   ============================================================ */
@media (min-width: 1440px) {
  .hero-heading {
    font-size: 48px;
  }
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.checkout-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(480px, 90vw);
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px 40px;
  z-index: 301;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.checkout-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--pitch-dark);
  opacity: 0.4;
  transition: opacity 0.2s;
}
.checkout-modal-close:hover { opacity: 1; }

.checkout-modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 10px;
  line-height: 1;
}
/* Let .straight and .script inherit the global rules — no overrides needed */

.checkout-modal-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.5;
}

#checkoutForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#checkoutForm input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--warm-grey);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--off-white);
}

#checkoutForm input:focus {
  border-color: var(--electro-mint);
  background: var(--white);
}

#checkoutForm .btn-primary {
  width: 100%;
  margin-top: 6px;
}

.checkout-modal-note {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 14px;
  min-height: 20px;
}

/* ============================================================
   PRODUCT HOVER OVERLAY
   ============================================================ */
.product-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
}

.product-image-wrap .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 12px;
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
}

.product-description {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-description span:last-child {
  margin-top: 6px;
  opacity: 0.75;
  font-style: italic;
}

@media (max-width: 767px) {
  .product-hover-overlay { display: none; }
}

.product-hover-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.product-hover-title {
  display: flex;
  align-items: baseline;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.product-hover-title .straight {
  color: #ffffff;
  font-size: 1em;
}

.product-hover-title .script {
  color: #ffffff;
  font-size: 2em;
}
