@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --primary: hsl(340, 80%, 65%);
  --primary-fg: #ffffff;
  --secondary: hsl(340, 20%, 96%);
  --muted: hsl(0, 0%, 45%);
  --border: hsl(0, 0%, 90%);
  --pink-light: hsl(340, 70%, 80%);
  --pink-dark: hsl(340, 70%, 50%);
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* ── Utility ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.text-pink-gradient {
  background: linear-gradient(135deg, var(--pink-light), var(--primary), var(--pink-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pink-gradient {
  background: linear-gradient(135deg, var(--primary), var(--pink-dark));
}

.shadow-pink {
  box-shadow: 0 4px 20px hsla(340, 80%, 65%, 0.15);
}

/* ── Promo Banner ── */
.promo-banner {
  background: linear-gradient(135deg, var(--primary), var(--pink-dark));
  color: var(--primary-fg);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.brand-tagline {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--fg);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

/* ── Main content offset for fixed navbar ── */
.main-content {
  padding-top: 104px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Section Styles ── */
.section-header {
  background: var(--secondary);
  padding: 5rem 0;
}

.section-header .label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header h1 {
  font-size: 2.5rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto;
}

/* ── Hero (Index) ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: var(--secondary);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.4), rgba(0,0,0,0.5));
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .label {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--pink-dark));
  color: var(--primary-fg);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-fg);
}

/* ── Category Grid ── */
.categories-section {
  padding: 6rem 0;
}

.categories-section .label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.categories-section h2 {
  font-size: 2rem;
  color: var(--fg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  border-color: hsla(340, 80%, 65%, 0.4);
  box-shadow: 0 4px 20px hsla(340, 80%, 65%, 0.15);
}

.category-card .emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Features Grid ── */
.features-section {
  background: var(--secondary);
  padding: 6rem 0;
}

.features-section .label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.features-section h2 {
  font-size: 2rem;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid hsla(340, 80%, 65%, 0.3);
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h3 {
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA Section ── */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Product Cards (Collections) ── */
.collection-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.collection-section:last-of-type {
  border-bottom: none;
}

.collection-section .label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.collection-section h2 {
  font-size: 1.875rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.collection-section > .container > p {
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: hsla(340, 80%, 65%, 0.3);
  box-shadow: 0 4px 20px hsla(340, 80%, 65%, 0.15);
}

.product-image {
  aspect-ratio: 1;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.product-card:hover .product-body h3 {
  color: var(--primary);
}

.product-body .size {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.product-body .desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-body .notes {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.product-body .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary);
}

/* ── About Page ── */
.about-story {
  padding: 6rem 0;
  max-width: 48rem;
  margin: 0 auto;
}

.about-story p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-story p.lead {
  font-size: 1.125rem;
}

.about-story blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--fg);
  font-style: italic;
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.values-section {
  background: var(--secondary);
  padding: 6rem 0;
}

.values-section h2 {
  font-size: 1.875rem;
  color: var(--fg);
  text-align: center;
  margin-bottom: 4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

.value-item {
  text-align: center;
}

/* ── Contact Page ── */
.contact-content {
  padding: 6rem 0;
}

.contact-content h2 {
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.contact-content > .container > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid hsla(340, 80%, 65%, 0.3);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item .label {
  font-size: 0.875rem;
  color: var(--muted);
}

.contact-item .value {
  color: var(--fg);
}

/* ── 404 Page ── */
.page-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
}

.page-404 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.page-404 a {
  color: var(--primary);
  text-decoration: underline;
}

.page-404 a:hover {
  color: var(--pink-dark);
}

/* ── Footer ── */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer h4 {
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social span {
  cursor: pointer;
  transition: color 0.2s;
}

.footer-social span:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .category-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .hero h1 { font-size: 2.5rem; }
  .section-header h1 { font-size: 2rem; }

  .brand-name { font-size: 1.25rem; }

  .category-grid,
  .features-grid,
  .product-grid,
  .values-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .brand-name { font-size: 1.875rem; }
  .hero h1 { font-size: 4.5rem; }
  .section-header h1 { font-size: 3rem; }
  .categories-section h2,
  .features-section h2,
  .cta-section h2 { font-size: 2.5rem; }
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  border-color: hsla(340, 80%, 65%, 0.4);
  box-shadow: 0 4px 20px hsla(340, 80%, 65%, 0.15);
}

.blog-card-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-card h2 {
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-read-more {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.blog-article {
  padding: 4rem 1.5rem;
}

.blog-article .lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.blog-article p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.scent-list {
  list-style: none;
  counter-reset: scent;
  padding: 0;
  margin: 0 0 2rem;
}

.scent-list li {
  counter-increment: scent;
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.scent-list li::before {
  content: counter(scent) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
}

.scent-list h3 {
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.scent-list p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.blog-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
