/* A classic, neutral color scheme */
:root {
    --bg-cream: #FDFBF7;
    --bg-light-tan: #F5F2EC; /* New darker shade */
    --text-dark-taupe: #4A4238;
    --accent-soft-gold: #C0A470;
    --accent-light-grey: #EAEAEA;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark-taupe);
}
.bg-cream { background-color: var(--bg-cream); }
.bg-light-tan { background-color: var(--bg-light-tan); }
.text-dark-taupe { color: var(--text-dark-taupe); }
.bg-dark-taupe { background-color: var(--text-dark-taupe); }
.accent-soft-gold { color: var(--accent-soft-gold); }
.bg-accent-soft-gold { background-color: var(--accent-soft-gold); }
.border-accent-soft-gold { border-color: var(--accent-soft-gold); }

        /* --- CORRECTED STYLES --- */
/* Reusable classes defined with standard CSS */
.nav-link {
    color: var(--text-dark-taupe);
    transition: color 0.3s, border-color 0.3s;
    padding-bottom: 0.25rem;
    border-bottom-width: 2px;
    border-color: transparent;
}
.nav-link:hover {
    color: var(--accent-soft-gold);
    border-color: var(--accent-soft-gold);
}

.section-title {
    font-size: 1.75rem; /* 28px */
    line-height: 2.25rem; /* 36px */
    font-weight: 700;
    text-align: center;
    color: var(--text-dark-taupe);
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem; /* 18px */
    line-height: 1.75rem; /* 28px */
    text-align: center;
    color: var(--text-dark-taupe);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem; /* 36px */
        line-height: 2.5rem; /* 40px */
    }
}

/* --- Animate on Scroll System --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Reusable Button System --- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-align: center;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    transform: translateY(0); /* Base state for hover effect */
}
.btn:hover {
        transform: translateY(-2px);
}

/* Hero Button Style */
.btn-hero {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
}
.btn-hero:hover {
    background-color: white;
    color: var(--text-dark-taupe);
}

/* Outline Button Style (for sections with light backgrounds) */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-soft-gold);
    color: var(--text-dark-taupe);
}
.btn-outline:hover {
    background-color: var(--accent-soft-gold);
    color: white;
}
.btn-disabled {
    background-color: #d1d5db;
    border-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}
/* --- Dynamic Header Styling --- */
#main-header, #main-header span, #main-header a, #main-header button {
    transition: color 0.3s ease-in-out;
}
#main-header.nav-on-dark span,
#main-header.nav-on-dark a,
#main-header.nav-on-dark button {
    color: white;
}
    #main-header.nav-on-dark a:hover {
    border-color: white;
    color: #e5e7eb; /* A slightly off-white for hover */
}

/* --- Interactive Card Hover Effect --- */
.interactive-card img {
    filter: grayscale(100%) blur(2px);
    transition: filter 0.4s ease-in-out;
}
.interactive-card:hover img {
    filter: grayscale(0%) blur(0px);
}

/* --- Accordion Styles --- */
.accordion-toggle {
    transition: background-color 0.3s ease-in-out;
}
.accordion-toggle:hover {
    background-color: var(--bg-cream);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.accordion-content.open {
    max-height: 2000px; /* Large enough to fit any content */
}
.accordion-toggle svg {
    transition: transform 0.3s ease-in-out;
}
.accordion-toggle.open svg {
    transform: rotate(180deg);
}