/* ─── home.css ───────────────────────────────────────────── */

/* HERO */
.home-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 1.5rem;
  text-align: center;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(220,198,242,0.4), var(--brand-light-lavender));
  z-index: -1;
}

.home-hero-logo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(212,162,76,0.35);
  box-shadow: 0 0 40px rgba(212,162,76,0.25);
  position: relative;
  margin: 0 auto 2rem;
}

.home-hero-flame {
  position: absolute;
  top: -12px;
  right: -12px;
  color: var(--brand-gold);
}

.home-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--brand-purple);
  margin-bottom: 1rem;
  drop-shadow: 0 2px 8px rgba(91,30,140,0.15);
}

.home-hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--brand-gold);
  margin-bottom: 3rem;
  display: block;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--brand-purple);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.hero-cta:hover {
  background: transparent;
  color: var(--brand-purple);
  border-color: var(--brand-gold);
  box-shadow: 0 0 20px rgba(212,162,76,0.35);
}

/* PHILOSOPHY */
.home-philosophy {
  padding: 6rem 1.5rem;
  background: var(--brand-card);
}

.home-philosophy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-purple);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 96px;
  height: 4px;
  background: var(--brand-gold);
  margin: 0 auto 4rem;
  border-radius: 2px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.philosophy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  border-radius: 1rem;
  transition: background 0.4s ease;
}

.philosophy-card:hover {
  background: rgba(220,198,242,0.3);
}

.philosophy-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(220,198,242,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  margin-bottom: 1.5rem;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--brand-purple);
  margin-bottom: 0.75rem;
}

.philosophy-card p {
  font-family: var(--font-sans);
  color: var(--brand-muted);
  line-height: 1.7;
}

/* FEATURED PRODUCTS */
.home-products {
  padding: 6rem 1.5rem;
  background: var(--brand-light-lavender);
}

.home-products-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .home-products-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.home-products h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-purple);
  margin-bottom: 0.5rem;
}

.view-all-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--brand-purple);
  border-color: var(--brand-purple);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 600px)  { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  cursor: pointer;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--brand-card);
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

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

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(91,30,140,0.22);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  transition: opacity 0.5s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(239,228,250,0.92);
  color: var(--brand-purple);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transform: translateY(16px);
  transition: transform 0.5s ease, background 0.3s ease;
}

.product-card:hover .product-overlay-btn {
  transform: translateY(0);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--brand-purple);
  margin-bottom: 0.25rem;
}

.product-price {
  font-family: var(--font-sans);
  color: var(--brand-gold);
  font-weight: 500;
}

/* QUOTE BANNER */
.home-quote {
  padding: 8rem 1.5rem;
  background: var(--brand-purple);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.home-quote-texture {
  position: absolute;
  inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.1;
}

.home-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  color: #ffffff;
  line-height: 1.6;
  max-width: 900px;
  margin: 1.5rem auto 2rem;
  position: relative;
  z-index: 1;
}

.home-quote-divider {
  width: 64px;
  height: 1px;
  background: var(--brand-gold);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* NEWSLETTER */
.home-newsletter {
  padding: 6rem 1.5rem;
  background: var(--brand-card);
  text-align: center;
}

.home-newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--brand-purple);
  margin-bottom: 0.75rem;
}

.home-newsletter p {
  font-family: var(--font-sans);
  color: var(--brand-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: var(--brand-light-lavender);
  border: 1px solid var(--brand-border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px rgba(212,162,76,0.15);
}

.newsletter-btn {
  padding: 0.85rem 2rem;
  background: var(--brand-purple);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--brand-gold);
}
