/* ─── VARIABLES & RESET ─── */
:root {
  --primary: #fff;
  --overlay: rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #000;
  color: var(--primary);
  overflow-x: hidden;
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh; /* accounts for mobile browser chrome (address bar) */
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  z-index: 1;
}

/* ─── HEADER ─── */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.menu-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.currency-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-right: 1rem;
}

.currency-select img {
  width: 20px;
  border-radius: 2px;
}

/* ─── HERO CONTENT ─── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem; /* keeps text off the edge on narrow screens */
}

.hero-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  max-width: 800px;
  line-height: 1.2;
}

/* ─── HERO BUTTONS ───
   .hero-btn is the base look everywhere it's used (single-CTA pages keep
   their own top margin). Inside .hero-actions the two-button group manages
   spacing itself, so the base margin is switched off there. */
.hero-btn {
  margin-top: 2rem;
  padding: 14px 40px;
  min-height: 48px; /* comfortable tap target on touch devices */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #fff;
  color: #000;
}

.hero-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-btn .icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* secondary variant: replaces the old inline background/backdrop-filter hack,
   so the "view lookbook" action reads as clearly lower-priority than the
   solid-on-hover primary CTA */
.hero-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
}

/* button group wrapper: this is what actually fixes the messy two-button
   layout — real gap control instead of stray inline flex styles, and a
   single place to manage stacking on small screens. */
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.hero-actions .hero-btn {
  margin-top: 0; /* spacing now comes from the group's margin + gap */
  flex: 0 1 auto;
}

/* ─── CAROUSEL DOTS ─── */
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }
  .logo {
    font-size: 1.8rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .currency-select {
    display: none;
  }
  .carousel-dots {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

/* small phones — stack the two CTAs full-width so neither gets squeezed
   and both stay comfortably tappable */
@media (max-width: 460px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .hero-actions .hero-btn {
    width: 100%;
  }
  .hero-btn {
    padding: 14px 24px;
    font-size: 1rem;
    letter-spacing: 1.5px;
  }
}

/* short / landscape phones — hero images with a fixed 100svh can otherwise
   crush the header + button group together */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-content {
    gap: 0.6rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-actions {
    margin-top: 1rem;
  }
  .header {
    padding: 0.75rem 1.5rem;
  }
}

/* large desktop — keep the title from stretching too wide relative to the
   button group beneath it */
@media (min-width: 1440px) {
  .hero-content {
    max-width: 900px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn,
  .dot {
    transition: none;
  }
}