@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    /* Core Royal Palette */
    --royal-black: #0A0A0A;
    --royal-obsidian: #131313;
    --royal-gold: #D4AF37;
    --royal-gold-light: #F2CA50;
    --royal-marble: #F5F5F5;
    --royal-white-soft: #E5E2E1;
    --royal-gray: #4D4635;
    
    /* Layout Tokens */
    --container-width: 1440px;
    --section-spacing: 120px;
    --border-radius-sm: 2px;
    --border-radius-md: 6px;
    
    /* Glassmorphism */
    --glass-bg: rgba(53, 53, 52, 0.4);
    --glass-blur: 20px;
    --glass-border: rgba(212, 175, 55, 0.15);
}

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

body {
    background-color: var(--royal-black);
    color: var(--royal-white-soft);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--royal-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Layout Components --- */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

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

/* --- Navigation --- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--royal-marble);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--royal-gold);
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: all 0.4s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--royal-gold-light), var(--royal-gold));
    color: #3C2F00;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

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

.btn-outline:hover {
    background: var(--royal-gold);
    color: var(--royal-black);
}

/* --- Animations --- */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */

footer {
    background-color: var(--royal-obsidian);
    padding: 80px 0 40px;
    border-top: 1px solid var(--royal-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--royal-marble);
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }
    .container {
        padding: 0 25px;
    }
    .nav-links {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
