/* ============================================
   AROMA HAVEN — Premium Brand Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --cream: #faf6f0;
  --warm-ivory: #f5efe6;
  --sage: #9aa79a;
  --sage-light: #c5d0c5;
  --sage-dark: #7a877a;
  --lavender: #c9b8d4;
  --lavender-light: #e0d6e8;
  --sandal: #d4c8b8;
  --sandal-light: #e8e0d4;
  --gold: #c9a84c;
  --gold-light: #e8d49c;
  --gold-dark: #a8882c;
  --dark: #2c2824;
  --dark-warm: #3a3530;
  --text: #4a4540;
  --text-light: #8a8580;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(44, 40, 36, 0.06);
  --shadow-md: 0 8px 30px rgba(44, 40, 36, 0.1);
  --shadow-lg: 0 20px 60px rgba(44, 40, 36, 0.15);
  --shadow-glow: 0 0 40px rgba(201, 168, 76, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-candle {
  width: 30px;
  height: 60px;
  background: linear-gradient(180deg, var(--warm-ivory), var(--sandal));
  border-radius: 4px 4px 8px 8px;
  position: relative;
  margin-bottom: 20px;
}

.preloader-candle .flame {
  width: 12px;
  height: 20px;
  background: linear-gradient(180deg, #ffd700, #ff8c00);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  animation: flameAnim 0.8s ease-in-out infinite alternate;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4), 0 0 40px rgba(255, 140, 0, 0.2);
}

#preloader p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ---------- Scroll Progress ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  z-index: 9999;
  transition: width 0.1s;
}

/* ---------- Particles Canvas ---------- */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ---------- Navigation ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 16px 0;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(44, 40, 36, 0.06);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-brand .tagline {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}

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

.nav-link:hover {
  color: var(--dark);
}

.nav-cta {
  display: none;
}

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(44, 40, 36, 0.2);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-card {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-card:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  margin-top: 8px;
}

.wishlist-link i {
  color: var(--text);
  font-size: 0.75rem;
  transition: var(--transition);
}

.wishlist-link:hover {
  color: var(--text);
}

.wishlist-link:hover i {
  color: var(--text);
  transform: scale(1.15);
}

/* ---------- Sections Common ---------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.divider-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.divider-icon {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 60px;
  background: linear-gradient(160deg, #2d231e 0%, #4a3528 30%, #5c4030 60%, #3d2b22 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(201, 168, 76, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(180, 120, 60, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 540px;
  animation: heroFadeIn 1.2s ease forwards;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8d49c;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 600;
  color: #f5efe6;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(245, 239, 230, 0.7);
  max-width: 540px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-image {
  flex: 1.3;
  max-width: 620px;
  max-height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8d49c;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

/* ---------- About Section ---------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--warm-ivory), var(--sandal-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.about-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
}

/* Candle Illustrations */
.candle-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.candle-body {
  width: 40px;
  height: 80px;
  background: linear-gradient(180deg, var(--warm-ivory), var(--sandal));
  border-radius: 4px 4px 12px 12px;
  position: relative;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.05);
}

.candle-illustration.small .candle-body {
  width: 30px;
  height: 60px;
}

.candle-illustration.tiny .candle-body {
  width: 22px;
  height: 44px;
}

.candle-wick {
  width: 2px;
  height: 12px;
  background: var(--dark);
  border-radius: 1px;
}

.candle-flame {
  width: 10px;
  height: 16px;
  background: linear-gradient(180deg, #ffd700, #ff8c00);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
  top: -14px;
  animation: flameAnim 1s ease-in-out infinite alternate;
}

.candle-illustration.small .candle-flame {
  width: 8px;
  height: 12px;
  top: -11px;
}

.candle-illustration.tiny .candle-flame {
  width: 6px;
  height: 9px;
  top: -8px;
}

.candle-glow {
  position: absolute;
  top: -20px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 180, 50, 0.3), transparent);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite alternate;
}

.about-content {
  padding-right: 20px;
}

.about-text {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(44, 40, 36, 0.06);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ---------- Collections Section ---------- */
.collections {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-ivory) 100%);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.collection-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Card candle shapes */
.card-candle {
  position: relative;
  transition: var(--transition);
}

.card-candle-1 {
  width: 70px;
  height: 100px;
  background: linear-gradient(180deg, #f5e6d3, #dcc8b0);
  border-radius: 6px 6px 16px 16px;
  box-shadow: inset -6px 0 12px rgba(0, 0, 0, 0.06);
}

.card-candle-1::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 14px;
  background: var(--dark);
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.card-candle-1::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 18px;
  background: linear-gradient(180deg, #ffd700, #ff8c00);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  animation: flameAnim 1s ease-in-out infinite alternate;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.card-candle-2 {
  width: 60px;
  height: 90px;
  background: linear-gradient(180deg, #e8d5f0, #c8a8d8);
  border-radius: 30% 30% 40% 40%;
  box-shadow: inset -6px 0 12px rgba(0, 0, 0, 0.06);
}

.card-candle-3 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0e8d5, #dcc8b0);
  border-radius: 50%;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.06);
}

.card-candle-3::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 12px;
  background: var(--dark);
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.card-candle-4 {
  width: 50px;
  height: 110px;
  background: linear-gradient(180deg, #d4e8d4, #a8c8a8);
  border-radius: 6px 6px 12px 12px;
  box-shadow: inset -6px 0 12px rgba(0, 0, 0, 0.06);
}

.card-candle-5 {
  width: 65px;
  height: 95px;
  background: linear-gradient(180deg, #f0d4d4, #d8a8a8);
  border-radius: 20% 20% 40% 40%;
  box-shadow: inset -6px 0 12px rgba(0, 0, 0, 0.06);
}

.card-body {
  padding: 24px;
}

.card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.card-fragrance {
  font-size: 0.85rem;
  color: var(--sage);
  margin-bottom: 10px;
}

.card-fragrance i {
  margin-right: 6px;
}

.card-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ---------- Fragrances Section ---------- */
.fragrances {
  background: var(--white);
}

.fragrance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.fragrance-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.fragrance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0.6;
}

.fragrance-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.1);
}

.fragrance-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.fragrance-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.fragrance-mood {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.fragrance-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

.fragrance-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fragrance-notes span {
  font-size: 0.75rem;
  background: var(--white);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(44, 40, 36, 0.06);
}

/* ---------- Why Soy Section ---------- */
.why-soy {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--warm-ivory) 100%);
  position: relative;
}

.why-soy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239aa79a' fill-opacity='0.08'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--white);
}

.benefit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card.featured {
  background: linear-gradient(135deg, var(--cream), rgba(201, 168, 76, 0.04));
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(44, 40, 36, 0.06);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-warm) 100%);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}

.newsletter-content {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-content .section-badge {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter-input-group {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input-group input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-input-group input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-input-group .btn {
  padding: 16px 36px;
  white-space: nowrap;
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 16px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(44, 40, 36, 0.08);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 3px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 6px 0 16px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact i {
  width: 20px;
  color: var(--gold);
  margin-right: 8px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.message-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flameAnim {
  0% {
    transform: translateX(-50%) scaleY(1) scaleX(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-50%) scaleY(1.1) scaleX(0.9);
  }
  100% {
    transform: translateX(-50%) scaleY(0.95) scaleX(1.05);
    opacity: 1;
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
    margin: 0 auto;
  }

  .hero-image {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-placeholder {
    max-height: 400px;
  }

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

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

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

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

@media (max-width: 768px) {
  html { font-size: 15px; }

  .section {
    padding: 72px 0;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 100px 40px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    align-items: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: block;
    margin-top: 20px;
    width: 100%;
  }

  .nav-cta .btn-gold {
    width: 100%;
    text-align: center;
  }

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

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

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

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

  .contact-form {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .about-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }
}
