/* ═══════════════════════════════════════════
   JUICY & FRESH — Custom Styles
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a2e;
  background: #faf8fb;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1280px; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(91, 44, 111, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #F59E0B;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 60%; }

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(91, 44, 111, 0.98);
  backdrop-filter: blur(12px);
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { max-height: 400px; }
.mobile-link {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:hover { color: #F59E0B; padding-left: 0.5rem; }
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.875rem;
  background: #F59E0B;
  color: #230f2b;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: background 0.2s;
}
.mobile-cta:hover { background: #fbbf24; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.pexels.com/photos/10250385/pexels-photo-10250385.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(35, 15, 43, 0.88) 0%,
    rgba(91, 44, 111, 0.80) 50%,
    rgba(59, 29, 69, 0.85) 100%
  );
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  animation: float var(--dur) ease-in-out var(--delay) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.3); opacity: 0.7; }
}
.hero > .container { position: relative; z-index: 10; padding-top: 100px; padding-bottom: 60px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 35, 86, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(163, 119, 190, 0.3);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.8s ease both;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(235, 224, 241, 0.9);
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s 0.4s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F59E0B;
  color: #230f2b;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 0.8s 0.5s ease both;
}
.btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  animation: fadeInUp 0.8s 0.6s ease both;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats { animation: fadeInUp 0.8s 0.7s ease both; }
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: #F59E0B;
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(235, 224, 241, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ── Sections ── */
.section-light { background: #f4f0f7; }
.section-alt  { background: #fff; }
.section { padding: 6rem 0; }
@media (max-width: 767px) { .section { padding: 4rem 0; } }

/* Label */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #5B2C6F;
  background: rgba(91, 44, 111, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
}
/* ── Section Title ── */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.15;
}
.section-title-light {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

/* ── Product Cards ── */
.product-card {
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(91, 44, 111, 0.06);
  border: 1px solid rgba(91, 44, 111, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(91, 44, 111, 0.12);
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
}
.tag-plum { background: rgba(91, 44, 111, 0.1); color: #5B2C6F; }
.tag-amber { background: rgba(245, 158, 11, 0.15); color: #92400e; }

/* ── Quality Banner ── */
.quality-banner {
  background: linear-gradient(135deg, #3b1d45 0%, #5B2C6F 50%, #4a2356 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.quality-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.quality-item { transition: transform 0.2s; }
.quality-item:hover { transform: translateX(6px); }

/* ── Community Cards ── */
.community-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(91, 44, 111, 0.06);
  border: 1px solid rgba(91, 44, 111, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(91, 44, 111, 0.1);
}

/* ── Form ── */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-input:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

/* ── Footer ── */
.site-footer {
  background: #1a0f22;
  color: #fff;
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: #5B2C6F;
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(91, 44, 111, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: #7c4fa0; }
