/* ==========================================================================
   VOLT & LEATHER — Custom Stylesheet
   Western-Rock / Urban Luxury
   ========================================================================== */

/* ===== ROOT & RESET ===== */
:root {
  --black:      #000000;
  --dark:       #1a1a1a;
  --dark-soft:  #111111;
  --off-white:  #f4f4f4;
  --gray:       #888888;
  --gray-light: #555555;
  --accent:     #c8a96e;
  --border:     rgba(244, 244, 244, 0.08);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --transition-fast: 0.2s ease;
  --transition:      0.35s ease;
  --transition-slow: 0.6s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}


/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--off-white);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--off-white);
}

.section-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
}


/* ===== BUTTONS ===== */
.btn-volt,
.btn-volt-solid,
.btn-volt-ghost {
  display: inline-block;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 36px;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid var(--off-white);
}

.btn-volt-ghost {
  background: transparent;
  color: var(--off-white);
}

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

.btn-volt-solid {
  background: var(--off-white);
  color: var(--black);
}

.btn-volt-solid:hover {
  background: transparent;
  color: var(--off-white);
}

.btn-volt-dark {
  border-radius: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  background: var(--black);
  color: var(--off-white);
  border: 1px solid var(--off-white);
  width: 100%;
  transition: all var(--transition);
}

.btn-volt-dark:hover {
  background: var(--off-white);
  color: var(--black);
}

/* Cart trigger */
.cart-trigger {
  background: none;
  border: none;
  color: var(--off-white);
  padding: 4px 8px;
  cursor: pointer;
  position: relative;
  font-size: 18px;
  transition: opacity var(--transition-fast);
}

.cart-trigger:hover {
  opacity: 0.7;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--accent);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  letter-spacing: 0;
}


/* ===== NAVBAR ===== */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 0;
  background-color: transparent;
  transition: background-color 0.45s ease, padding 0.45s ease, border-bottom 0.45s ease;
  border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
  background-color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.navbar-brand-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.navbar-brand-text span {
  color: var(--accent);
}

.nav-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.75) !important;
  padding: 4px 0 !important;
  margin: 0 16px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--off-white) !important;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.navbar-toggler {
  border: 1px solid rgba(244,244,244,0.3);
  border-radius: 0;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  filter: invert(1);
}


/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(200, 169, 110, 0.04) 0%, transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  z-index: 0;
}

/* Noise texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-img-placeholder {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 55%;
  object-fit: cover;
  filter: grayscale(80%) brightness(0.35);
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 900;
  line-height: 0.88;
  color: var(--off-white);
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: rgba(244,244,244,0.35);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(244,244,244,0.45);
  max-width: 340px;
  line-height: 1.9;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-number {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1;
}

.hero-meta-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.hero-meta-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.3);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-hint i {
  font-size: 14px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


/* ===== COLLECTION SECTION ===== */
#collection {
  padding: 120px 0;
  background: var(--black);
}

.collection-header {
  margin-bottom: 72px;
}

/* Product Cards */
.product-card-wrap {
  margin-bottom: 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.85);
  transition: transform var(--transition-slow), filter var(--transition-slow);
  display: block;
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.7);
}

/* Base overlay — always visible at bottom for number */
.product-card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.7);
  font-family: var(--sans);
  z-index: 2;
  transition: opacity var(--transition);
}

/* Hover overlay */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  z-index: 3;
}

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

.product-card-info {
  transform: translateY(16px);
  transition: transform 0.45s ease;
}

.product-card:hover .product-card-info {
  transform: translateY(0);
}

.product-card-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 4px;
  line-height: 1.1;
}

.product-card-price {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.product-card-cta {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
}

.product-card-cta i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card-cta i {
  transform: translateX(4px);
}

/* Static label below card */
.product-card-label {
  padding: 14px 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.product-card-label-name {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--off-white);
}

.product-card-label-price {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
}


/* ===== VALUE PROPS ===== */
#values {
  padding: 100px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-card {
  padding: 48px 40px;
  border-left: 1px solid var(--border);
  height: 100%;
  transition: border-color var(--transition);
}

.value-card:first-child {
  border-left: none;
}

.value-card:hover {
  border-color: rgba(200, 169, 110, 0.3);
}

.value-icon-wrap {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.value-icon-wrap i {
  color: var(--accent);
  font-size: 18px;
}

.value-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--off-white);
  margin-bottom: 16px;
}

.value-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
}


/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: var(--dark-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.2);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.marquee-item span.accent {
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ===== NEWSLETTER / CTA SECTION ===== */
#cta-section {
  padding: 120px 0;
  background: var(--black);
  text-align: center;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(244,244,244,0.2);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--off-white);
  border-radius: 0;
}

.newsletter-form input::placeholder {
  color: var(--gray);
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
}

.newsletter-form button {
  background: var(--off-white);
  color: var(--black);
  border: none;
  padding: 16px 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--accent);
}


/* ===== FOOTER ===== */
footer {
  background: var(--dark-soft);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer-heading {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(244,244,244,0.45);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--off-white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(244,244,244,0.2);
  letter-spacing: 0.08em;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 15px;
  color: rgba(244,244,244,0.25);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent);
}


/* ===== OFFCANVAS CART ===== */
#cartOffcanvas {
  background: var(--dark);
  border-left: 1px solid var(--border);
  width: 400px !important;
}

.offcanvas-header {
  border-bottom: 1px solid var(--border);
  padding: 24px 28px;
}

.offcanvas-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--off-white);
  letter-spacing: 0.05em;
}

.offcanvas-body {
  padding: 0;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  gap: 16px;
  color: var(--gray);
}

.cart-empty-state i {
  font-size: 2.5rem;
  opacity: 0.3;
}

.cart-empty-state p {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cart-items-list {
  padding: 0 28px;
}

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

.cart-item-img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  background: var(--black);
  flex-shrink: 0;
  filter: grayscale(20%);
}

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

.cart-item-name {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--off-white);
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.cart-item-price {
  font-size: 13px;
  color: var(--off-white);
  margin-top: 8px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(244,244,244,0.2);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--off-white);
}

.cart-footer {
  position: sticky;
  bottom: 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 24px 28px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: baseline;
}

.cart-subtotal-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
}

.cart-subtotal-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--off-white);
}

.btn-close {
  filter: invert(1);
  opacity: 0.5;
}

.btn-close:hover {
  opacity: 1;
}


/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--off-white);
  color: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent);
}

@media (max-width: 767.98px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}


/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }


/* ===== UTILITIES ===== */
.text-accent   { color: var(--accent); }
.text-gray     { color: var(--gray); }
.bg-dark-volt  { background-color: var(--dark); }
.border-volt   { border-color: var(--border) !important; }

.vh-100 { min-height: 100vh; }


/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .nav-link {
    margin: 6px 0;
  }

  #mainNav {
    background-color: rgba(0, 0, 0, 0.95) !important;
    padding: 16px 0;
  }

  .hero-title {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }

  .hero-img-placeholder {
    width: 100%;
    mask-image: linear-gradient(to top, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 40%);
    filter: grayscale(80%) brightness(0.2);
  }

  .value-card {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 36px 0;
  }

  .value-card:first-child {
    border-top: none;
  }
}

@media (max-width: 767.98px) {
  #collection {
    padding: 80px 0;
  }

  #values {
    padding: 72px 0;
  }

  #cta-section {
    padding: 80px 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  #cartOffcanvas {
    width: 100% !important;
  }

  .hero-meta {
    gap: 20px;
  }
}
