/* =============================================================
   SECTIONS.CSS — Section-specific Styles
   ============================================================= */

/* ─── NAVBAR OFFSET ─── */
/* Compensate for fixed navbar so anchor links land correctly */
section[id] {
  scroll-margin-top: 80px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: var(--z-raised);
  padding: var(--space-16) var(--container-px) var(--space-16);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__name {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 0.9;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero__tagline {
  font-family: var(--font-condensed);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-gray-light);
  margin-top: var(--space-3);
  font-weight: var(--fw-regular);
}

.hero__socials {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  margin-top: var(--space-8);
  transition: all var(--transition-base);
  animation: bounceDown 2s ease infinite;
}

.hero__scroll:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ─── COLLECTION ─── */
.collection {
  background: var(--bg-primary);
}

.collection .section-header {
  text-align: center;
}

#collectionSlider .slider__track {
  gap: var(--space-3);
}

#collectionSlider .slider__slide {
  width: calc(50% - var(--space-3));
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.collection__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);
}

/* ─── BUY THE LOOK ─── */
.buy-look {
  background: var(--bg-secondary);
}

.look__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.look__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.look__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.look__main:hover img {
  transform: scale(1.04);
}

.look__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}

#lookDetailSlider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.look__detail-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.look__detail-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.look__detail-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.look__detail-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.look__detail-label strong {
  color: var(--color-accent);
  font-family: var(--font-condensed);
  font-size: var(--fs-md);
}

.look__detail-next,
.look__detail-prev {
  top: 45%;
}

/* ─── PRODUCT FEATURE ─── */
.product-feature {
  background: var(--bg-primary);
}

.feature__accordion {
  border-top: 1px solid var(--border-color);
  max-width: 760px;
}

/* ─── STORES ─── */
.stores {
  background: var(--bg-secondary);
}

#storesSlider .slider__track {
  gap: var(--space-4);
}

#storesSlider .slider__slide {
  width: calc(50% - var(--space-4));
  flex-shrink: 0;
}

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--bg-dark-2, #1a1a1a);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-block: var(--space-16);
}

.newsletter__content {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.newsletter__title {
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
  color: var(--text-primary);
}

.newsletter__desc {
  margin-top: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.newsletter__disclaimer {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-loose);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-primary);
  padding-block: var(--space-16);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-color);
}

.footer__brand p {
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer__socials a {
  color: var(--text-muted);
  font-size: var(--fs-md);
  transition: color var(--transition-fast);
}

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

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer__col h4 {
  font-family: var(--font-condensed);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-white);
}
