/* =======================================================
   PERFUMES — Stylesheet
   A minimalist, modern perfume boutique theme in gold & white.
   Fonts   : Cormorant (display) + Jost (body)
   Author  : Designed by Wemplatehub
   ======================================================= */

/* ---------- Design tokens ---------- */
:root {

  --white: #ffffff;
  --ivory: #faf6ee;
  --ivory-deep: #f3ecdb;

  --gold: #b68a35;
  --gold-deep: #8a6523;
  --gold-pale: #e7d6ab;
  --gold-mist: #f1e6c9;

  --ink: #26201a;
  --stone: #6f6557;
  --stone-light: #a79d8c;

  --line: #e6dcc6;

  --font-display: "Cormorant", Georgia, serif;
  --font-body: "Jost", Arial, sans-serif;

  --container: 1200px;
  --gap: 2rem;

  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

p {
  max-width: 62ch;
}

button,
input,
textarea {
  font-family: var(--font-body);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}

.center {
  text-align: center;
}

.section {
  padding: 6rem 0;
}

.section-ivory {
  background-color: var(--ivory);
}

.section-ink {
  background-color: var(--ink);
  color: var(--ivory);
}

.section-ink h2,
.section-ink h3 {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--stone);
  font-size: 1.05rem;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* A small faceted-gem mark used as the site's single recurring motif,
   standing in for a bottle stopper. Used sparingly between sections. */
.facet {
  width: 11px;
  height: 11px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 auto;
}

.divider::before,
.divider::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold-pale);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background-color: var(--gold-deep);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--gold-pale);
  color: var(--gold-pale);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo .facet {
  width: 8px;
  height: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

.nav-links a {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-toggle {
  display: none;
}

.nav-check {
  display: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 1.4rem;
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--stone);
  margin-bottom: 2.2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 86%;
  padding-bottom: 86%;
  background: radial-gradient(circle, var(--gold-mist) 0%, rgba(241, 230, 201, 0) 72%);
  border-radius: 50%;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-deep);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--stone);
}

/* ---------- Page banners (inner pages) ---------- */
.page-banner {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 32, 26, 0.15) 0%, rgba(38, 32, 26, 0.72) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 3.5rem 0;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-banner-content .eyebrow {
  color: var(--gold-pale);
}

.page-banner-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  max-width: 16ch;
}

.page-banner-content p {
  color: var(--ivory);
  opacity: 0.85;
  max-width: 50ch;
  margin-top: 0.9rem;
}

/* ---------- Intro / split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
}

.split-text .eyebrow {
  display: block;
}

.split-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.1rem;
}

.split-text p {
  color: var(--stone);
  margin-bottom: 1.1rem;
}

/* ---------- Collections grid (home) ---------- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover img {
  transform: scale(1.04);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 32, 26, 0) 35%, rgba(38, 32, 26, 0.82) 100%);
}

.collection-card-body {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: var(--white);
}

.collection-card-body .eyebrow {
  color: var(--gold-pale);
}

.collection-card-body h3 {
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.collection-card-body span {
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gold-pale);
  padding-bottom: 2px;
}

/* ---------- Product grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1.5rem;
}

.products-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background-color: var(--white);
}

.product-image {
  position: relative;
  overflow: hidden;
  background-color: var(--ivory-deep);
  aspect-ratio: 4 / 5;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background-color: var(--white);
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.product-note {
  font-size: 0.86rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.product-price {
  font-family: var(--font-body);
  color: var(--gold-deep);
  font-size: 0.98rem;
}

/* ---------- Notes / pyramid (sequence — top, heart, base) ---------- */
.notes-pyramid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.note-step {
  text-align: center;
  padding: 0 1rem;
}

.note-image {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.4rem;
  border: 1px solid var(--gold-pale);
  padding: 6px;
}

.note-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.note-number {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.note-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.note-step p {
  color: var(--stone);
  font-size: 0.94rem;
  margin: 0 auto;
}

/* ---------- Process steps (about) ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.process-step {
  border-top: 1px solid var(--gold-pale);
  padding-top: 1.4rem;
}

.process-step .note-number {
  font-size: 1.6rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin: 0.4rem 0 0.6rem;
}

.process-step p {
  color: var(--stone);
  font-size: 0.94rem;
}

/* ---------- Values grid (about) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.value-card {
  padding: 2rem 1.6rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.value-mark {
  width: 14px;
  height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 auto 1.2rem;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--stone);
  margin: 0 auto;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2.2rem;
  border: 1px solid var(--line);
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.3rem;
  color: var(--ink);
}

.testimonial-name {
  font-size: 0.88rem;
  color: var(--gold-deep);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--stone-light);
}

/* ---------- Newsletter band ---------- */
.newsletter {
  background-color: var(--ink);
  color: var(--ivory);
  padding: 4.5rem 0;
  text-align: center;
}

.newsletter h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.newsletter p {
  color: var(--gold-pale);
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: transparent;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: var(--stone-light);
}

/* ---------- Founder / story quote block ---------- */
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 auto 1.4rem;
}

.quote-block span {
  font-size: 0.9rem;
  color: var(--gold-deep);
}

/* ---------- CTA band (inner pages) ---------- */
.cta-band {
  background-color: var(--gold-mist);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.9rem;
}

.cta-band p {
  color: var(--stone);
  margin: 0 auto 1.8rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* ---------- Category heading row (collection / men / women) ---------- */
.category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.4rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-head h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}

.category-head p {
  color: var(--stone);
  font-size: 0.95rem;
  max-width: 46ch;
}

.category-block {
  padding-bottom: 5rem;
}

.category-block:last-child {
  padding-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--ivory);
  border-top: 1px solid var(--gold-pale);
  padding: 2.6rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 1rem;
}

.footer-contact span {
  white-space: nowrap;
}

.footer-credit {
  font-size: 0.82rem;
  color: var(--stone-light);
  letter-spacing: 0.02em;
}

/* =======================================================
   Responsive rules
   ======================================================= */

@media (max-width: 1024px) {

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {

  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 40;
  }

  .nav-toggle {
    display: block;
    width: 26px;
    height: 18px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
  }

  .nav-toggle span,
  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--ink);
  }

  .nav-toggle::before {
    top: 0;
  }

  .nav-toggle span {
    top: 8px;
  }

  .nav-toggle::after {
    top: 16px;
  }

  .nav-check {
    display: none;
  }

  .nav-check:checked ~ .nav-links {
    transform: translateY(0%);
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 280px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notes-pyramid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-stats {
    gap: 1.6rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {

  .nav-wrap {
    padding: 1.1rem 1.2rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1rem;
  }

  .category-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-contact {
    flex-direction: column;
    gap: 0.4rem;
  }

  .page-banner {
    min-height: 38vh;
  }
}
