:root {
    --emerald: #064E3B;
    --teak: #B45309;
    --ruby: #991B1B;
    --plum: #4C1D95;
    --cream: #FDFCF0;
    --white: #FFFFFF;
}

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

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--cream);
    color: var(--emerald);
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    text-align: center;
}

/* SHARED NAV */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(253, 252, 240, 0.98);
    border-bottom: 1px solid rgba(180, 83, 9, 0.1);
}

.lang-btn {
    background: var(--white);
    border: 1px solid var(--teak);
    color: var(--teak);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.75rem;
    border-radius: 4px;
}

.lang-btn.active {
    background: var(--teak);
    color: var(--white);
}

/* SIDEBAR MENU */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--emerald);
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-overlay a {
    color: var(--cream);
    font-size: 1.5rem;
    text-decoration: none;
    margin: 12px 0;
}

/* TAB STYLES */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--teak);
    background: transparent;
    color: var(--teak);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- Recs Corner --- */

/* TAB STYLES */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--teak);
    background: transparent;
    color: var(--teak);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--teak);
    color: var(--white);
}

.tab-content {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.active-content {
    display: block;
    /* Shown when active */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-card {
    margin-top: 50px;
    padding: 0;
    overflow: hidden;
    border-top: 5px solid var(--teak);
}

/* --- Schedule Page --- */

.welcome-note h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.welcome-note p {
    line-height: 1.8;
    color: var(--emerald);
    font-style: italic;
}

.timeline {
    margin-top: 40px;
}

.event-card {
    margin-bottom: 25px;
    padding: 25px;
    position: relative;
    text-align: left;
}

.event-date {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--teak);
    margin-bottom: 5px;
    font-weight: 700;
}

.event-time {
    font-weight: bold;
    margin: 10px 0;
    font-size: 0.95rem;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--teak);
    text-decoration: none;
    border: 1.5px solid var(--teak);
    padding: 6px 14px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: var(--teak);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.2);
}

/* --- HAMBURGER FIX --- */
.hamburger {
    cursor: pointer;
    background: var(--emerald);
    /* Dark green background */
    padding: 10px;
    border-radius: 8px;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    z-index: 1001;
    /* Stay above the overlay */
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    /* Off-white lines */
    transition: 0.3s;
}

/* Ensure the logo is visible and elegant */
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--teak);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

/* Overlay needs to be a flex column to center links */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--emerald);
    z-index: 999;
    display: none;
    /* Toggled by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* PAGE LAYOUT */
.container {
    padding: 100px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--teak);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.btn-teak {
    background: var(--teak);
    color: white;
}

.btn-ruby {
    background: var(--ruby);
    color: white;
}

/* HEADER LOGO & NAV */
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--teak);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* FOOTER STYLING */
.footer-container {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--cream);
    color: var(--emerald);
}

.footer-divider {
    width: 50px;
    height: 1px;
    background-color: var(--teak);
    margin: 0 auto 30px;
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-date {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-icons {
    margin: 20px 0;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-credit {
    font-size: 0.7rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FORMS */
input,
select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* AUTH GATE */
#gatekeeper {
    position: fixed;
    inset: 0;
    background: var(--emerald);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}