/* Global Design System for Whitecap Wealth */
:root {
    --primary: #003366;
    --primary-light: #004080;
    --accent: #C5A059;
    --accent-light: #D4AF37;
    --bg-light: #F8F9FA;
    --text-dark: #1A202C;
    --text-muted: #4A5568;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header/Footer Shared Styles */
#header-placeholder {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

main {
    padding-top: 80px; /* Space for fixed header */
}

/* Common Components */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
}
