/*
  BIG ZAYN — style.css
  Virgil Abloh inspired manifesto homepage
*/

@font-face {
  font-family: 'BruceForever';
  src: url('fonts/bruceforever-k.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --green:        #254336;
  --cream:        #dad3be;
  --red:          #eb3309;
  --font-display: 'BruceForever', 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Lato', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--green);
  color: var(--cream);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* =============================================
   HORIZONTAL TOP NAV
   ============================================= */
.topnav {
  position: fixed;
  top: 91px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--green);
  border-bottom: 1px solid rgba(218, 211, 190, 0.15);
  padding: 0 48px;
}

.topnav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.topnav ul li a {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(218, 211, 190, 0.5);
  display: block;
  padding: 14px 20px;
  transition: color 0.2s ease;
  border-bottom: 2px solid transparent;
}

.topnav ul li a:hover {
  color: var(--cream);
}

.topnav ul li a.active {
  color: var(--cream);
  border-bottom: 2px solid var(--red);
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 80px 24px 48px;
  background: var(--green);
  border-bottom: 1px solid rgba(218, 211, 190, 0.1);
}

/* Brand */
.brand {
  display: flex;
  align-items: baseline;   /* the mark's bottom sits on the letters' baseline */
  gap: 8px;
}

/* The mark (brand/bigzayn-mark-cream.svg, vector) is cropped tight. Its height = the height of the BIG ZAYN capitals
   (BruceForever caps are 0.58 of the font size), so the two read as one line. */
.brand__logo {
  width: 9.3px;
  height: 9.3px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--cream);
  line-height: 1;
  display: block;
}

.brand__tagline {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(218, 211, 190, 0.6);
  display: block;
  margin-top: 4px;
  font-weight: 300;
}

/* Icons */
.topbar__icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--red);
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.icon-btn:hover {
  opacity: 0.65;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

/* =============================================
   MANIFESTO POSTER
   ============================================= */
.manifesto {
  max-width: 900px;
  margin: 0 auto;
  padding: 200px 48px 120px 48px;
}

/* STAMP */
.manifesto__stamp {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 80px;
}

.stamp__label {
  font-family: var(--font-display);
  font-size: 72px;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
  white-space: nowrap;
}

.stamp__line {
  flex: 1;
  height: 1px;
  background: rgba(218, 211, 190, 0.25);
}

.stamp__sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(218, 211, 190, 0.4);
  white-space: nowrap;
  font-weight: 300;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* PARAGRAPHS */
.manifesto__body {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.manifesto__para {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 32px;
  align-items: start;
}

.para__num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  padding-top: 6px;
  display: block;
}

.manifesto__para p {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.85;
  color: var(--cream);
  font-weight: 300;
  text-transform: lowercase;
}

.red {
  color: var(--red);
  font-weight: 700;
}

/* =============================================
   NEW ARRIVALS — home page section
   ============================================= */
.new-arrivals {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}

.new-arrivals__header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.new-arrivals__label {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
  white-space: nowrap;
}

.new-arrivals__line {
  flex: 1;
  height: 1px;
  background: rgba(218, 211, 190, 0.25);
}

.new-arrivals__sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(218, 211, 190, 0.4);
  white-space: nowrap;
  font-weight: 300;
}

.new-arrivals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 700px) {
  .new-arrivals__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .new-arrivals {
    padding: 60px 24px 80px;
  }
  .new-arrivals__label {
    font-size: 24px;
  }
}

/* =============================================
   REVIEWS SECTION
   ============================================= */

/* outer section — full width, relative so arrows can be absolutely placed */
.reviews {
  position: relative;
  padding: 0 0 120px;
}

/* inner content aligns with the rest of the page */
.reviews__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

.reviews__header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.reviews__label {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
  white-space: nowrap;
}

.reviews__line {
  flex: 1;
  height: 1px;
  background: rgba(218, 211, 190, 0.25);
}

.reviews__sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(218, 211, 190, 0.4);
  white-space: nowrap;
  font-weight: 300;
}

/* TRACK — continuous ticker via transform */
.reviews__track {
  display: flex;
  gap: 24px;
  overflow: visible;
  align-items: stretch;
  will-change: transform;
}

/* clip the overflow at the inner container level */
.reviews__inner {
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

/* ARROWS — pinned vertically to the track, outside the inner frame */
.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(218, 211, 190, 0.15);
  color: rgba(218, 211, 190, 0.5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.reviews__arrow:hover {
  color: var(--cream);
  border-color: rgba(218, 211, 190, 0.4);
}

.reviews__arrow--left  { left: 4px; }
.reviews__arrow--right { right: 4px; }

/* CARD */
.review-card {
  border: 1px solid rgba(218, 211, 190, 0.12);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  min-width: 0;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-card__name {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cream);
  font-weight: 700;
  text-transform: uppercase;
}

.review-card__check {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.review-card__text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(218, 211, 190, 0.75);
  font-weight: 300;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  white-space: normal;
  flex: 1;
}

.review-card__read-more {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-transform: uppercase;
  align-self: flex-start;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(218, 211, 190, 0.1);
  margin-top: auto;
  min-height: 40px;
}

.review-card__order-id {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(218, 211, 190, 0.25);
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card__product {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(218, 211, 190, 0.4);
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.review-card__product:hover {
  color: var(--cream);
}

@media (max-width: 700px) {
  .reviews__inner {
    padding: 0 24px;
  }
  .reviews {
    padding-bottom: 80px;
  }
  .reviews__label {
    font-size: 24px;
  }
  .review-card {
    flex: 0 0 80vw;
  }
  .reviews__arrow {
    display: none;
  }
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 48px 64px;
  border-top: 1px solid rgba(218, 211, 190, 0.15);
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(218, 211, 190, 0.35);
  font-weight: 300;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 24px 24px 48px;
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* =============================================
   REVIEW MODAL
   ============================================= */
.review-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(37, 67, 54, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.review-modal__box {
  position: relative;
  background: #1e3829;
  border: 1px solid rgba(218, 211, 190, 0.15);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
}

.review-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(218, 211, 190, 0.4);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.review-modal__close:hover {
  color: var(--cream);
}

@media (max-width: 700px) {
  .review-modal__box {
    padding: 28px 20px;
    max-height: 85vh;
  }
}

/* SITE FOOTER */
.site-footer {
  padding: 56px 48px 48px;
  display: block;
  border-top: none;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
}
.site-footer__brand-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--cream);
}
.site-footer__copy {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(218,211,190,0.25);
  font-weight: 300;
  margin: 0;
}
.site-footer__legal {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.site-footer__legal a {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(218,211,190,0.45);
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-footer__legal a:hover { color: var(--cream); }
.legal-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.site-footer__dot {
  font-size: 9px;
  color: #eb3309;
  font-weight: 300;
}
.site-footer__socials {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer__socials .social-btn {
  color: rgba(218,211,190,0.4);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.site-footer__socials .social-btn:hover { color: var(--cream); }

@media (max-width: 768px) {
  .site-footer { padding: 40px 20px 40px; }
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
  }
  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 14px;
  }
  .legal-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-footer__dot {
    display: none;
  }
  .site-footer__socials { align-self: flex-start; }
}