/* ==========================================================================
   MEHFIN DESIGNING - REFINED LUXURY DESIGN SYSTEM
   Palette: Warm Cream + Deep Wine Burgundy + Subtle Antique Champagne Gold
   Positioning: Customized Gifts + Gift Hampers + Surprise Planning
   Slogan: WE DESIGN YOUR MEMORIES.
   ========================================================================== */

:root {
  /* --- Brand Color Palette --- */
  --color-cream-100: #FFFDF9; /* Purest Ivory Silk */
  --color-cream-200: #FAF7F2; /* Signature Warm Cream / Alabaster */
  --color-cream-300: #F5EDE4; /* Warm Linen */
  --color-cream-400: #EAE1D6; /* Soft Antique Parchment */
  --color-cream-500: #D8CCC0; /* Muted Cashmere */

  /* Deep Royal Burgundy & Velvet Wine */
  --color-burgundy-950: #190206; /* Midnight Claret */
  --color-burgundy-900: #26050B; /* Deepest Wine */
  --color-burgundy-800: #380811; /* Royal Velvet */
  --color-burgundy-700: #4A0E17; /* Signature Deep Burgundy */
  --color-burgundy-600: #5C1120; /* Velvet Burgundy */
  --color-burgundy-500: #721627; /* Rich Plum */
  --color-burgundy-400: #8C2237; /* Rosewood Wine */

  /* Subtle Antique Champagne Gold (Refined Accents) */
  --color-gold-900: #7E6329;
  --color-gold-700: #A8863D;
  --color-gold-500: #C5A059; /* Signature Antique Champagne Gold */
  --color-gold-400: #D8B775;
  --color-gold-300: #E7CF9B;
  --color-gold-200: #F3E4C3;
  --color-gold-100: #FAF4E6;

  /* Signature Soft Pink Ribbon Accents */
  --color-ribbon-pink-100: #FDF2F4;
  --color-ribbon-pink-200: #F8DFE5;
  --color-ribbon-pink-300: #F2C5D1;
  --color-ribbon-pink-400: #E8A6B8;
  --color-ribbon-pink-500: #D58298;

  /* Typography / Text Colors (Crisp, High-Contrast Readability) */
  --text-primary: #24070B; /* Ultra-deep burgundy charcoal */
  --text-secondary: #4E3B3F; /* Warm plum espresso */
  --text-muted: #7A6569; /* Subtle taupe */
  --text-on-dark: #FFFDF9; /* Pure Ivory */
  --text-gold: #C5A059;

  /* Luxury Borders & Dividers */
  --border-subtle: rgba(197, 160, 89, 0.18);
  --border-gold: rgba(197, 160, 89, 0.38);
  --border-burgundy: rgba(74, 14, 23, 0.1);

  /* Shadows (Boutique, Soft, Controlled) */
  --shadow-sm: 0 4px 16px rgba(36, 7, 11, 0.04);
  --shadow-md: 0 10px 28px rgba(36, 7, 11, 0.06);
  --shadow-lg: 0 18px 45px rgba(36, 7, 11, 0.1);

  /* Typography Stacks */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-serif-sub: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Alex Brush', cursive;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Constraints (Standardized & Controlled) */
  --max-width: 1240px;
  --max-width-narrow: 1020px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Section Spacing System (80–110px desktop, 50–70px mobile) */
  --section-spacing-desktop: 90px;
  --section-spacing-mobile: 56px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-cream-200);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--color-cream-200);
  overflow-x: hidden;
  position: relative;
}

/* Subtle continuous texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(197, 160, 89, 0.03) 1px, transparent 0);
  background-size: 28px 28px;
  z-index: 1;
}

/* ==========================================================================
   Controlled Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-burgundy-700);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

/* H1: Large but controlled */
h1 {
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 500;
}

/* H2: Clearly smaller than H1 */
h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 500;
}

/* H3: Medium */
h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
}

h4 {
  font-size: 1.18rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Controlled Containers & Alignment
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 72px;
  padding-right: 72px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

/* Consistent Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold-700);
  margin-bottom: 0.75rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-500));
}

.section-tag::after {
  background: linear-gradient(90deg, var(--color-gold-500), transparent);
}

.section-title {
  margin-bottom: 0.85rem;
  color: var(--color-burgundy-700);
}

.section-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Section Spacing Utility */
.section-spacer {
  padding-top: var(--section-spacing-desktop);
  padding-bottom: var(--section-spacing-desktop);
}

/* Section Divider */
.editorial-divider {
  width: 100%;
  max-width: 240px;
  height: 1px;
  margin: 3.5rem auto;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-burgundy-700), var(--color-burgundy-800));
  color: var(--color-cream-100);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 4px 16px rgba(74, 14, 23, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-burgundy-600), var(--color-burgundy-700));
  border-color: var(--color-gold-400);
  box-shadow: 0 6px 22px rgba(74, 14, 23, 0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--color-burgundy-700);
  border: 1px solid var(--color-burgundy-700);
}

.btn-secondary:hover {
  background: var(--color-burgundy-700);
  color: var(--color-cream-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 14, 23, 0.12);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-700));
  color: #190206;
  border: 1px solid var(--color-gold-300);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-300), var(--color-gold-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(197, 160, 89, 0.4);
}

.btn-instagram {
  background: linear-gradient(135deg, #833AB4, #C13584, #E1306C);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(193, 53, 132, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-instagram:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(193, 53, 132, 0.4);
  color: #FFFFFF;
}

/* Page visibility utilities for 6-page navigation */
.site-page {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 4.5rem;
}

.site-page.active-page {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
