/* ==========================================================================
   BLOOM STUDIO - EDITORIAL LUXURY DESIGN SYSTEM (WARM SAGE & TERRACOTTA)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Rich Brand Palette (Extracted directly from Studio Interior Photo) */
  --primary-sage: #596849;         /* Signature Deep Olive Sage Green */
  --sage-dark: #35412B;            /* Deep Forest Green for dark accents & buttons */
  --sage-hover: #455238;           /* Deeper Sage for hover states */
  --sage-light: #EBF1E5;          /* Soft Organic Sage Tint */
  --sage-subtle: #F2F6ED;         /* Ultra-soft Sage Background */

  --terracotta: #B87554;           /* Warm Terracotta Clay Accent */
  --terracotta-hover: #A06243;     /* Darker Terracotta */
  --terracotta-light: #F7EDE7;     /* Soft Terracotta Tint */

  --gold-champagne: #D4B785;       /* Backlit Arch Glow & Metallic Accent */
  --gold-light: #F9F5EC;           /* Warm Golden Warm White */

  /* Subtle Warm Tonal Background System (No pure harsh white feel) */
  --bg-primary: #FAF7F2;           /* Venetian Plaster Warm White */
  --bg-warm-white: #FAF8F6;        /* Subtly Warm Background */
  --bg-ivory: #F8F5F1;             /* Warm Ivory Section Tone */
  --bg-cream: #F5F1EC;             /* Soft Cream Section Tone */
  --bg-linen: #FBFAF8;             /* Subtle Linen Tone */
  --bg-card: #FFFFFF;              /* Pure White for tactile card contrast */

  --text-main: #20241B;             /* Deep Charcoal Forest Text */
  --text-muted: #636B5C;            /* Earthy Muted Green-Gray */
  --text-light: #8E9687;            /* Soft Subtler Neutral Text */
  --border-light: #EAE4DC;          /* Warm Subtle Border Tint */
  --border-sage: #C8D4BF;           /* Sage Tinted Border */

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 2rem;      /* 32px */
  --spacing-lg: 3.5rem;    /* 56px */
  --spacing-xl: 6rem;      /* 96px */
  --spacing-2xl: 9.5rem;   /* 152px */

  /* Border Radius & Architectural Forms */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --radius-arch: 200px 200px 16px 16px;

  /* Subtle Elevation & Soft Glows */
  --shadow-subtle: 0 4px 20px rgba(32, 36, 27, 0.03);
  --shadow-hover: 0 12px 32px rgba(53, 65, 43, 0.08);
  --shadow-arch-glow: 0 16px 40px rgba(89, 104, 73, 0.12);

  /* High-Performance Motion Curves */
  --transition-fast: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Widths */
  --container-max: 1280px;
  --container-narrow: 840px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom High-End Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #B2BDAB;
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-sage);
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

h4 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container & Section Layouts */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

/* Minimal Editorial Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.eyebrow-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-sage);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: var(--spacing-xs);
}

/* Subtle Gradient Section Backgrounds for Tonal Flow */
.bg-warm-white {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-warm-white) 100%);
}

.bg-ivory {
  background: linear-gradient(180deg, var(--bg-warm-white) 0%, var(--bg-ivory) 100%);
}

.bg-cream {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-cream) 100%);
}

.bg-linen {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-linen) 100%);
}

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

/* Decorative Divider Rule */
.editorial-divider {
  width: 60px;
  height: 1px;
  background-color: var(--terracotta);
  margin: 1.5rem auto;
  opacity: 0.6;
}

/* High-End Motion & Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
