:root {
    /* Brand Colors */
    --color-brand: #d19357;
    --color-accent: #d1c757;

    /* Palette */
    --color-bg-light: #fdfcfa;
    --color-bg-warm: #fff9f0;
    --color-bg-card: #ffffff;
    --color-text-primary: #333139;
    --color-text-secondary: #6b5d49;
    --color-text-light: #9b8f7e;

    /* Spacing */
    --max-width: 1400px;
    --section-padding: clamp(3rem, 8vw, 6rem);
    --card-padding: clamp(1.5rem, 4vw, 2.5rem);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(209, 147, 87, 0.1);
    --shadow-md: 0 4px 16px rgba(209, 147, 87, 0.14);
    --shadow-lg: 0 8px 32px rgba(209, 147, 87, 0.2);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    line-height: 1.6;
    background: var(--color-brand);
}

main {
    overflow-x: hidden;
}

/* ==================== LAYOUT STYLES ==================== */

/* Header & Navigation */
header {
    background: var(--color-bg-card);
    border-bottom: 1px solid rgba(209, 147, 87, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

header nav {
    --padding-sites: 2rem;
    max-width: calc(var(--max-width) + var(--padding-sites) * 2);
    margin: 0 auto;
    padding: 0.6rem var(--padding-sites);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

header .nav-logo {
    display: flex;
    align-items: center;
}

header .nav-logo svg {
    height: 2rem;
    width: auto;
}

header nav a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

header .nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

header .nav-links a {
    font-size: 0.85rem;
}

header .nav-links a:hover {
    color: var(--color-brand);
}

header .nav-links a:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-brand);
    transition: var(--transition-smooth);
}

header .nav-links a:hover::after {
    width: 100%;
}

header .nav-links a:last-child {
    background-color: var(--color-accent);
    border-radius: 16px;
    padding: 0.5em 1em;
}

header.nav-links a:last-child:hover {
    background-color: var(--color-accent);
    color: var(--color-text-primary);
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

@media (min-width: 480px) {
    header nav {
        justify-content: space-between;
        flex-direction: row;
        gap: 0.6rem;
    }

    header .nav-links a {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    header .nav-links a {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: var(--color-text-primary);
    color: var(--color-bg-light);
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    padding-top: var(--section-padding);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-content nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-content nav a {
    color: rgba(255, 249, 240, 0.5);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-content nav a:hover {
    color: rgba(255, 249, 240, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 249, 240, 0.1);
}

.footer-copyright {
    color: rgba(255, 249, 240, 0.5);
    font-size: 0.8rem;
    font-weight: 400;
}

.footer-tagline {
    margin-top: 1rem;
    color: rgba(209, 147, 87, 0.4);
    font-size: 0.7rem;
    font-weight: 400;
}

@media (min-width: 480px) {
    .footer-content nav {
        flex-direction: row;
        gap: 0.75rem;
    }

    .footer-tagline {
        font-size: 0.75rem;
    }
}