/* Import Premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables for Royal Ivory (Shopify-inspired Clean Luxury Design System) */
:root {
    --bg-primary: #FCFBF7;       /* Royal Ivory background */
    --bg-secondary: #FFFFFF;     /* Pure White card/section bg */
    --bg-card: #FFFFFF;          /* Pure White cards */
    --color-primary: #0F2942;     /* Deep Trust Blue */
    --color-primary-light: #1E3D5F;
    --accent-amber: #D97706;     /* Amber Highlight */
    --accent-amber-light: #F59E0B; /* Bright Amber */
    --accent-glow: rgba(217, 119, 6, 0.15);
    
    --text-dark: #111827;        /* Almost Black Charcoal */
    --text-muted: #5E6977;       /* Muted Slate Gray */
    --border-color: #E2E8F0;     /* Soft slate border */
    --border-amber: rgba(217, 119, 6, 0.2);
    
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    --font-display: 'Playfair Display', serif;
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(15, 41, 66, 0.06), 0 2px 4px rgba(15, 41, 66, 0.04);
    --shadow-lg: 0 12px 28px rgba(15, 41, 66, 0.08), 0 4px 12px rgba(15, 41, 66, 0.05);
}

/* Reset and Core Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-primary);
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.45rem;
}

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

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

/* Helper Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-amber {
    color: var(--accent-amber);
}

.text-blue {
    color: var(--color-primary);
}

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

.font-display {
    font-family: var(--font-display);
}

.font-mono {
    font-family: var(--font-mono);
}

.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Flex Helpers */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Overlays & Section Backdrops */
section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

section.white-surface {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gradient-blue-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
