/* ==========================================================================
   ELISIA — "BEAUTY, REFINED"
   Core Design System & Global Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties / Brand Palette
   Derived authentically from the Elisia Brand Identity & Logo
   -------------------------------------------------------------------------- */
:root {
  /* Brand Plums & Rich Wine Tones */
  --color-plum-black: #140315;
  --color-plum-deep: #1f0720;
  --color-plum-dark: #2c0b2d;
  --color-plum-base: #381039;
  --color-plum-mid: #4a174c;
  --color-wine-rich: #5e1c5d;
  --color-wine-light: #7c2c7b;

  /* Rose / Coral Accent (Matching Logo Rose & Sparkles) */
  --color-coral: #e85567;
  --color-coral-hover: #d23d50;
  --color-coral-soft: #f4808e;
  --color-coral-tint: rgba(232, 85, 103, 0.08);
  --color-coral-glow: rgba(232, 85, 103, 0.25);

  /* Blush & Soft Neutrals */
  --color-blush-bg: #fcf6f7;
  --color-blush-card: #ffffff;
  --color-blush-surface: #f9eff1;
  --color-blush-border: #edd5da;
  --color-blush-line: rgba(232, 85, 103, 0.18);

  /* Warm Whites & Base Neutrals */
  --color-white: #ffffff;
  --color-warm-white: #faf7f5;
  --color-ivory: #f4efe9;
  --color-text-primary: #1f121e;
  --color-text-secondary: #574a55;
  --color-text-muted: #847582;
  --color-text-on-dark: #fbf7f8;
  --color-text-muted-dark: #d6c5ce;

  /* Editorial Borders & Hairlines */
  --border-subtle: 1px solid rgba(56, 16, 57, 0.08);
  --border-light: 1px solid rgba(56, 16, 57, 0.14);
  --border-dark: 1px solid rgba(255, 255, 255, 0.12);
  --border-coral: 1px solid rgba(232, 85, 103, 0.35);

  /* Restrained Shadows */
  --shadow-subtle: 0 4px 20px rgba(28, 6, 29, 0.04);
  --shadow-card: 0 10px 30px rgba(28, 6, 29, 0.06);
  --shadow-elevated: 0 18px 45px rgba(28, 6, 29, 0.09);
  --shadow-dark: 0 16px 40px rgba(10, 2, 11, 0.35);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --container-narrow: 920px;
  --header-height: 84px;
  --header-height-mobile: 72px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 9999px;

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-warm-white);
  color: var(--color-text-primary);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography Hierarchy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-coral);
  margin-bottom: 0.75rem;
}

.eyebrow-dark {
  color: var(--color-coral-soft);
}

/* --------------------------------------------------------------------------
   Layout Containers & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
}

.section-dark {
  background-color: var(--color-plum-dark);
  color: var(--color-text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-text-on-dark);
}

.section-dark p {
  color: var(--color-text-muted-dark);
}

.section-blush {
  background-color: var(--color-blush-bg);
}

.section-plum-deep {
  background-color: var(--color-plum-black);
  color: var(--color-text-on-dark);
}

.section-plum-deep h1,
.section-plum-deep h2,
.section-plum-deep h3 {
  color: var(--color-text-on-dark);
}

.section-plum-deep p {
  color: var(--color-text-muted-dark);
}

/* Section Header Structure */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
}

.section-dark .section-header .section-subtitle {
  color: var(--color-text-muted-dark);
}

/* Editorial Hairline Accents */
.hairline-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(56, 16, 57, 0.08);
}

.hairline-divider-dark {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.09);
}

.editorial-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-coral);
}

/* ==========================================================================
   Full-Bleed Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-plum-black);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 3, 21, 0.90) 0%, rgba(56, 16, 57, 0.78) 50%, rgba(20, 3, 21, 0.94) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.1;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--color-coral);
  display: block;
  margin-top: 0.5rem;
}

.hero-lead {
  color: var(--color-text-muted-dark);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-stats-strip {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  display: block;
}

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted-dark);
  display: block;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Genuine Instagram & Social Showcase
   ========================================================================== */
.instagram-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.instagram-post-card {
  background-color: var(--color-white);
  border: 1px solid rgba(56, 16, 57, 0.08);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.instagram-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.instagram-post-card blockquote.instagram-media {
  margin: 0 !important;
  min-width: 100% !important;
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.instagram-card-fallback {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.instagram-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: var(--color-coral);
}

.instagram-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-plum-base);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.instagram-card-handle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}
