/* --- CORE VARIABLES --- */
:root {
    --earthy-bg: #3a2a22; 
    --harvard-crimson: #A51C30;
    --accent-gold: #d4a373;
    --text-main: #f4f1ee;
    --nav-footer-dark: #1a1816; 
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--earthy-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER & NAV --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); background: transparent; 
}

nav.scrolled {
    padding: 15px 5%; background: var(--nav-footer-dark); 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 163, 115, 0.2); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo { 
    font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--accent-gold); 
    text-decoration: none; font-weight: 700; opacity: 0; transform: translateY(-10px); transition: all 0.8s ease forwards;
}

.nav-menu { display: flex; gap: 30px; align-items: center; }

.header-link {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
    color: var(--accent-gold); text-decoration: none; cursor: pointer; position: relative;
    opacity: 0; transform: translateY(-15px); transition: all 0.4s ease;
}

.header-link:hover, .header-link.active-page {
    color: #fff; transform: translateY(-2px); text-shadow: 0 0 10px rgba(212, 163, 115, 0.5);
}

.reveal-active { opacity: 1 !important; transform: translateY(0) !important; }

/* --- MOBILE DRAWER --- */
.menu-icon { display: none; font-size: 1.5rem; color: var(--accent-gold); cursor: pointer; z-index: 1001; }
.side-drawer {
    position: fixed; top: 0; left: -100%; width: 280px; height: 100%;
    background: var(--nav-footer-dark); backdrop-filter: blur(15px); z-index: 2000;
    padding: 80px 30px; display: flex; flex-direction: column; gap: 25px;
    transition: 0.5s; border-right: 1px solid var(--accent-gold);
}
.header-title { color: var(--accent-gold); cursor: pointer; font-weight: 600; text-decoration: none; display: block; transition: color 0.3s ease; }
.header-title:hover { color: #fff; }
.side-drawer.open { left: 0; }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1999; display: none; }
.menu-overlay.active { display: block; }

@media (max-width: 992px) {
    .menu-icon { display: block; } .nav-menu { display: none; } nav { padding: 20px 5%; }
}

/* --- HERO --- */
.hero {
    position: relative; height: 75vh; 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    overflow: hidden; text-align: center; padding: 0 5%;
}

.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }

.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; animation: heroZoom 20s infinite alternate ease-in-out; }
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }

.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--earthy-bg)); z-index: 1; pointer-events: none;}

.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 20px; color: var(--accent-gold); position: relative; z-index: 2;}
.hero-subtitle { font-size: 1.1rem; max-width: 600px; color: #ddd; position: relative; z-index: 2;}

/* --- MAIN LAYOUT GRID --- */
.container { max-width: 1400px; margin: -40px auto 60px auto; padding: 0 30px; position: relative; z-index: 10; }

.faq-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .faq-layout-grid {
        /* RATIO: 1fr text to 1.2fr image */
        grid-template-columns: 1fr 1.2fr; 
        align-items: start;
    }
}

/* LEFT COLUMN STYLES */
.faq-content-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    opacity: 0; transform: translateY(30px); transition: all 0.8s ease;
}
.section-glass.active { opacity: 1; transform: translateY(0); }

.section-title {
    color: var(--accent-gold); text-transform: uppercase; font-size: clamp(1.2rem, 4vw, 1.8rem);
    border-bottom: 2px solid rgba(212, 163, 115, 0.2); padding-bottom: 8px; margin: 0 0 30px 0;
}

/* FAQ ITEM STYLES */
.faq-group { display: flex; flex-direction: column; gap: 15px; }

.faq-item {
    background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px; overflow: hidden; transition: all 0.3s ease; opacity: 0; transform: translateY(20px);
}
.faq-item:hover { border-color: var(--accent-gold); background: rgba(255, 255, 255, 0.05); }

.faq-question {
    width: 100%; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; background: transparent; border: none; text-align: left;
    font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #f4f1ee; transition: color 0.3s ease;
}
.faq-question:hover, .faq-question.active { color: var(--accent-gold); }

.faq-icon { font-size: 0.9rem; color: var(--accent-gold); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    padding: 0 25px; background: rgba(0, 0, 0, 0.1);
}
.faq-answer p { margin: 0; padding-bottom: 25px; padding-top: 5px; font-size: 0.95rem; color: #ccc; line-height: 1.7; }
.faq-answer h3 { font-size: 1rem; color: var(--accent-gold); margin-top: 10px; margin-bottom: 5px; }

/* RIGHT COLUMN (IMAGES) STYLES */
.faq-image-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Sticky effect */
    position: sticky;
    top: 110px; 
}

.side-image-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0; transform: translateX(30px); transition: all 0.8s ease;
}

.side-image-wrapper.active { opacity: 1; transform: translateX(0); }

.side-image-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
    filter: sepia(20%) contrast(1.1); /* Subtle vintage filter */
}

.side-image-wrapper:hover img { transform: scale(1.05); filter: sepia(0%); }

/* --- FOOTER --- */
footer {
    background-color: #1a1816; padding: 60px 5% 48px; border-top: 1px solid rgba(212, 163, 115, 0.15);
    width: 100%; position: relative; z-index: 100; margin-top: 40px;
}

.footer-grid { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; width: 100%; }
.footer-reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
.footer-reveal.active { opacity: 1; transform: translateY(0); }
.footer-col { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-gold); margin-bottom: 8px; }
.footer-col p { font-size: 0.85rem; color: #999; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 5px; }
.footer-links a { text-decoration: none; color: #ffffff; font-size: 1rem; font-family: 'Playfair Display', serif; }
.social-icons { display: flex; gap: 10px; margin-top: 5px; justify-content: center; }
.social-icons a { text-decoration: none !important; color: #fff; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s ease; }
.social-icons a:hover { border-color: var(--accent-gold); }
.footer-bottom { text-align: center; margin-top: 15px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.65rem; color: #444; }

@media (max-width: 768px) {
    footer { padding: 15px 10px 10px; } .footer-grid { flex-direction: column; align-items: center; gap: 15px; }
    .section-glass { padding: 30px 15px; }
    .side-image-wrapper { height: 250px; } 
}