/* ==================================================
   ALAZRA PERFUMES
   PRODUCTS / COLLECTION PAGE
================================================== */

/* ==================================================
   RESET
================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ==================================================
   VARIABLES
================================================== */

:root {
  --black: #111111;
  --dark: #181716;

  --cream: #f6f3ec;
  --cream-dark: #eee9df;

  --white: #ffffff;

  --gold: #b88a3b;
  --gold-light: #d4b273;

  --text-light: #77736c;

  --border: #e7e2d9;
}

/* ==================================================
   CONTAINERS
================================================== */

.header-inner,
.collection-container,
.footer-container,
.footer-bottom-inner {
  width: min(calc(100% - 80px), 1440px);
  margin: 0 auto;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
  position: relative;
  z-index: 100;

  width: 100%;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.header-inner {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

/* ==================================================
   BRAND
================================================== */

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  line-height: 1;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;

  font-size: 31px;
  font-weight: 600;

  letter-spacing: -0.5px;
}

.brand-subtitle {
  margin-top: 4px;

  color: var(--gold);

  font-size: 7px;
  font-weight: 600;

  letter-spacing: 4px;
}

/* ==================================================
   NAVIGATION
================================================== */

.main-nav {
  display: flex;
  align-items: center;

  gap: 38px;
}

.main-nav a {
  position: relative;

  padding: 30px 0;

  color: #555555;

  font-size: 12px;
  font-weight: 400;

  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';

  position: absolute;

  left: 0;
  bottom: 22px;

  width: 0;
  height: 1px;

  background: var(--gold);

  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #111111;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* ==================================================
   HEADER ACTIONS
================================================== */

.header-actions {
  display: flex;
  align-items: center;

  gap: 25px;
}

.header-contact {
  color: #555555;

  font-size: 12px;
}

.header-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 100px;
  height: 38px;

  padding: 0 22px;

  background: #111111;
  color: #ffffff;

  font-size: 11px;
  letter-spacing: 0.5px;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.header-shop:hover {
  background: var(--gold);

  transform: translateY(-2px);
}

/* ==================================================
   MOBILE MENU
================================================== */

.menu-toggle {
  display: none;

  width: 40px;
  height: 40px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 22px;
  height: 1px;

  margin: 5px auto;

  background: #111111;

  transition: 0.3s ease;
}

/* ==================================================
   COLLECTION HERO
================================================== */

.collection-hero {
  position: relative;

  /* min-height: 470px; */

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: var(--cream);
}

.collection-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;

  padding: 80px 20px;

  text-align: center;
}

.hero-eyebrow {
  display: block;

  margin-bottom: 18px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 5px;
}

.collection-hero h1 {
  margin: 0;

  color: #111111;

  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(70px, 8vw, 116px);

  font-weight: 500;

  letter-spacing: -3px;

  line-height: 0.9;
}

.collection-hero p {
  max-width: 600px;

  margin: 30px auto 0;

  color: #77736c;

  font-size: 15px;

  line-height: 1.9;
}

/* ==================================================
   HERO DECORATIONS
================================================== */

.hero-decoration {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}

.hero-decoration-left {
  width: 310px;
  height: 310px;

  left: -110px;
  bottom: -130px;

  background: rgba(184, 138, 59, 0.055);
}

.hero-decoration-right {
  width: 410px;
  height: 410px;

  right: -110px;
  top: -170px;

  border: 1px solid rgba(184, 138, 59, 0.2);
}

.hero-decoration-right::after {
  content: '';

  position: absolute;

  inset: 45px;

  border-radius: 50%;

  border: 1px solid rgba(184, 138, 59, 0.08);
}

/* ==================================================
   COLLECTION SECTION
================================================== */

.collection-section {
  padding: 125px 0 140px;

  background: #ffffff;
}

/* ==================================================
   COLLECTION INTRO
================================================== */

.collection-intro {
  display: grid;

  grid-template-columns:
    0.8fr
    1.3fr
    0.9fr;

  align-items: end;

  gap: 50px;

  margin-bottom: 75px;
}

.intro-label {
  display: flex;
  align-items: center;

  gap: 20px;
}

.intro-label span {
  color: var(--gold);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 3.5px;

  white-space: nowrap;
}

.intro-line {
  width: 55px;
  height: 1px;

  background: var(--gold);

  opacity: 0.55;
}

.collection-intro h2 {
  color: #111111;

  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(52px, 5vw, 78px);

  font-weight: 500;

  line-height: 0.9;

  letter-spacing: -1.5px;
}

.collection-intro h2 em {
  color: var(--gold);

  font-style: italic;
}

.collection-intro > p {
  max-width: 350px;

  color: #77736c;

  font-size: 13px;

  line-height: 1.9;
}

/* ==================================================
   PRODUCTS GRID
   DESKTOP - 4 PRODUCTS PER ROW
================================================== */

.products-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 65px 24px;
}

/* ==================================================
   PRODUCT CARD
================================================== */

.products-card {
  position: relative;

  min-width: 0;
}

/* ==================================================
   PRODUCT IMAGE
================================================== */

.products-card-image {
  position: relative;

  display: block;

  width: 100%;

  height: 300px;

  overflow: hidden;

  background: #f3f0e9;
}

.products-card-image::after {
  content: '';

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent 40%);

  opacity: 0;

  transition: opacity 0.5s ease;

  pointer-events: none;
}

.products-card-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.products-card:hover .products-card-image img {
  transform: scale(1.045);
}

.products-card:hover .products-card-image::after {
  opacity: 1;
}

/* ==================================================
   PRODUCT CONTENT
================================================== */

.products-card-content {
  padding: 25px 4px 0;

  text-align: center;
}

/* Category */

.products-category {
  display: block;

  margin-bottom: 10px;

  color: var(--gold);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 2.5px;

  text-transform: uppercase;
}

/* Product Name */

.products-card-content h3 {
  margin: 0 0 10px;

  color: #111111;

  font-family: 'Cormorant Garamond', serif;

  font-size: 38px;

  font-weight: 500;

  line-height: 1;

  letter-spacing: -0.3px;
}

/* Description */

.products-card-content p {
  max-width: 300px;

  min-height: 60px;

  margin: 0 auto 17px;

  color: #77736c;

  font-size: 12px;

  line-height: 1.7;
}

/* ==================================================
   PRODUCT FOOTER
================================================== */

.products-card-footer {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 20px;
}

/* Price */

.products-price {
  color: #222222;

  font-size: 12px;

  font-weight: 500;

  letter-spacing: 0.3px;
}

.products-price small {
  color: #999999;

  font-size: 9px;

  font-weight: 400;
}

/* Explore */

.products-explore {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: #222222;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: color 0.3s ease;
}

.products-explore span {
  font-size: 15px;

  line-height: 1;

  transition: transform 0.3s ease;
}

.products-explore:hover {
  color: var(--gold);
}

.products-explore:hover span {
  transform: translateX(5px);
}

/* ==================================================
   CLOSING CTA
================================================== */

.collection-cta {
  position: relative;

  min-height: 560px;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    linear-gradient(90deg, rgba(20, 18, 15, 0.95), rgba(20, 18, 15, 0.72)),
    url('../images/cta-perfume.jpg') center / cover no-repeat;
}
/* 
.cta-overlay {
  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at 50% 50%,
    rgba(184, 138, 59, 0.15),
    transparent 45%
  );
}

.cta-content {
  position: relative;

  z-index: 2;

  max-width: 700px;

  padding: 80px 25px;

  text-align: center;
}

.cta-content > span {
  display: block;

  margin-bottom: 20px;

  color: var(--gold-light);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 4px;
}

.cta-content h2 {
  color: #ffffff;

  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(55px, 6vw, 90px);

  font-weight: 400;

  line-height: 0.92;

  letter-spacing: -1px;
}

.cta-content h2 em {
  color: var(--gold-light);

  font-style: italic;
}

.cta-content p {
  margin: 28px auto 35px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 13px;

  line-height: 1.8;
}

.cta-button {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  padding: 16px 30px;

  background: #ffffff;

  color: #111111;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.cta-button span {
  font-size: 17px;

  transition: transform 0.3s ease;
}

.cta-button:hover {
  background: var(--gold);

  color: #ffffff;

  transform: translateY(-3px);
}

.cta-button:hover span {
  transform: translateX(5px);
} */

/* ==================================================
   FOOTER
================================================== */
/* 
.site-footer {
  background: #191817;

  color: #ffffff;
}

.footer-container {
  display: grid;

  grid-template-columns:
    1.5fr
    0.8fr
    0.8fr
    1fr;

  gap: 70px;

  padding-top: 80px;

  padding-bottom: 75px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: block;

  margin-bottom: 18px;

  font-family: 'Cormorant Garamond', serif;

  font-size: 39px;

  font-weight: 500;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);

  font-size: 11px;

  line-height: 1.9;
}

.footer-social {
  display: flex;

  gap: 20px;

  margin-top: 25px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.65);

  font-size: 10px;

  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold-light);
} */

/* ==================================================
   FOOTER COLUMNS
================================================== */

.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-column h4 {
  margin-bottom: 22px;

  color: #ffffff;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.footer-column a {
  margin-bottom: 12px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 10px;

  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  max-width: 220px;

  margin-bottom: 15px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 10px;

  line-height: 1.8;
}

/* ==================================================
   FOOTER BOTTOM
================================================== */

/* .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  min-height: 70px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);

  font-size: 9px;
}

.footer-bottom-inner > div {
  display: flex;

  gap: 25px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);

  font-size: 9px;

  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
} */

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {
  .header-inner,
  .collection-container,
  .footer-container,
  .footer-bottom-inner {
    width: min(calc(100% - 50px), 1000px);
  }

  /* Intro */

  .collection-intro {
    grid-template-columns: 1fr 1.4fr;
  }

  .collection-intro > p {
    grid-column: 2;

    max-width: 500px;
  }

  /* Products */

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 60px 25px;
  }

  .products-card-image {
    height: 310px;
  }

  /* Footer */

  .footer-container {
    grid-template-columns: repeat(2, 1fr);

    gap: 50px;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
  .header-inner,
  .collection-container,
  .footer-container,
  .footer-bottom-inner {
    width: calc(100% - 40px);
  }

  /* ==================================================
     HEADER
  ================================================== */

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    position: absolute;

    top: 72px;
    left: 0;

    width: 100%;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 15px 20px 25px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;

    font-size: 13px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .header-shop {
    min-width: 85px;

    height: 34px;

    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* ==================================================
     HERO
  ================================================== */

  .collection-hero {
    min-height: 400px;
  }

  .collection-hero-content {
    padding: 70px 20px;
  }

  .collection-hero h1 {
    font-size: 62px;

    letter-spacing: -2px;
  }

  .collection-hero p {
    margin-top: 22px;

    font-size: 13px;
  }

  .hero-decoration-right {
    width: 280px;
    height: 280px;
  }

  /* ==================================================
     COLLECTION
  ================================================== */

  .collection-section {
    padding: 85px 0 100px;
  }

  .collection-intro {
    display: block;

    margin-bottom: 55px;
  }

  .intro-label {
    margin-bottom: 25px;
  }

  .collection-intro h2 {
    font-size: 56px;
  }

  .collection-intro > p {
    max-width: 450px;

    margin-top: 25px;
  }

  /* ==================================================
     PRODUCTS
  ================================================== */

  .products-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .products-card-image {
    height: 340px;
  }

  .products-card-content h3 {
    font-size: 42px;
  }

  .products-card-content p {
    max-width: 450px;

    font-size: 13px;
  }

  /* ==================================================
     CTA
  ================================================== */

  .collection-cta {
    min-height: 500px;
  }

  .cta-content h2 {
    font-size: 58px;
  }

  /* ==================================================
     FOOTER
  ================================================== */

  .footer-container {
    grid-template-columns: 1fr 1fr;

    gap: 45px 30px;

    padding-top: 65px;

    padding-bottom: 60px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    min-height: auto;

    flex-direction: column;

    align-items: flex-start;

    padding-top: 22px;

    padding-bottom: 22px;
  }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {
  .header-inner,
  .collection-container,
  .footer-container,
  .footer-bottom-inner {
    width: calc(100% - 30px);
  }

  .brand-name {
    font-size: 28px;
  }

  .header-shop {
    display: none;
  }

  /* Hero */

  .collection-hero h1 {
    font-size: 50px;
  }

  .collection-hero p {
    font-size: 12px;
  }

  /* Intro */

  .collection-intro h2 {
    font-size: 48px;
  }

  /* Product */

  .products-card-image {
    height: 300px;
  }

  .products-card-content {
    padding-top: 22px;
  }

  .products-card-content h3 {
    font-size: 38px;
  }

  .products-card-content p {
    min-height: auto;

    font-size: 12px;

    line-height: 1.8;
  }

  /* CTA */

  .collection-cta {
    min-height: 450px;
  }

  .cta-content h2 {
    font-size: 48px;
  }

  /* Footer */

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner > div {
    flex-wrap: wrap;

    gap: 12px 20px;
  }
}
