/* ROOT VARIABLES */
:root {
    /* Colors */
    --gold: #D9A441;
    --yellow: #F2C94C;
    --brown: #68452B;
    --cream: #FFF8E8;
    --sand: #E8D5AE;
    --soft-sand: #FDF9F1;
    --dark: #1A1410;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 10rem;
    
    /* Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(104, 69, 43, 0.04);
    --shadow-md: 0 12px 30px rgba(104, 69, 43, 0.08);
    --shadow-lg: 0 24px 50px rgba(104, 69, 43, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--soft-sand);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    font-weight: 800;
    letter-spacing: -0.03em;
}
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }

p {
    font-size: 1.125rem;
    color: #4A3E38;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
    color: #6B5C54;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* LAYOUT */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 6vw;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-header p {
    font-size: 1.25rem;
    color: #4A3E38;
}

/* UTILITIES */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-brown { color: var(--brown); }
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.bg-sand { background-color: var(--sand); }
.bg-soft-sand { background-color: var(--soft-sand); }
.bg-brown { background-color: var(--brown); color: var(--white); }
.bg-dark { background-color: var(--dark); color: var(--white); }

.bg-brown h2, .bg-brown h3, .bg-brown p,
.bg-dark h2, .bg-dark h3, .bg-dark p {
    color: var(--white);
}

.hidden { display: none !important; }

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

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

/* Stagger children animations */
.stagger-container .fade-up:nth-child(1) { transition-delay: 0.1s; }
.stagger-container .fade-up:nth-child(2) { transition-delay: 0.2s; }
.stagger-container .fade-up:nth-child(3) { transition-delay: 0.3s; }
.stagger-container .fade-up:nth-child(4) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
