:root {
    --bg-color: #F9F7F2;
    --text-color: #5D4037;
    --accent-color: #C68B8B;
    --secondary-color: #81968F;
    --white: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

h1, h2, h3, blockquote {
    font-family: 'Playfair Display', serif;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

main {
    max-width: 100%;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

/* --- Navigation --- */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.header-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary-color);
    letter-spacing: 0.1rem;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: 0.3s;
}

.nav-item.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
        display: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .header-container {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --- Hero & Quotes --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    padding: 4rem 0;
    /* Ensure hero doesn't inherit any centering from parents */
    left: 0; 
}

.hero-inner {
    z-index: 10;
    max-width: 800px; /* This keeps your text centered and readable */
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.hero-side-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 850px; 
    max-width: 22vw;
    height: auto;
    z-index: 1;
    opacity: 0.9;
}

.img-left { 
    left: 50px; 
}

.img-right { 
    right: 50px; 
}

@media (max-width: 1024px) {
    .hero-side-img {
        display: none; /* Completely removes images on tablets and phones */
    }
    
    .hero {
        padding: 4rem 10%; /* Re-adds padding on mobile for text readability */
    }
}

h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 1rem; }

.subtitle { font-size: 1.5rem; font-style: italic; color: var(--accent-color); margin-bottom: 3rem; }

.quote-container {
    max-width: 800px;
    margin: 4rem auto 2rem;
    padding: 4.5rem 2.5rem 3.5rem;
    position: relative;
    text-align: center;
    background-color: rgba(198, 139, 139, 0.04); 
    border-radius: 12px;
}

.quote-container::before {
    content: "“";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
}

blockquote { font-size: 1.45rem; font-style: italic; line-height: 1.6; margin-bottom: 1.5rem; }
cite { display: block; font-size: 0.9rem; letter-spacing: 0.15rem; color: var(--accent-color); font-weight: 600; font-style: normal; text-transform: uppercase; }

/* --- Sections --- */
.content-block { 
    padding: 5rem 10%; 
    max-width: 900px; /* Re-apply the limit here */
    margin: 0 auto;   /* Center it */
}

#about {
    max-width: 1100px;
    text-align: justify;
}

.alt-bg { background-color: rgba(129, 150, 143, 0.07); border-radius: 8px; }

.cta-area {
    margin: 4.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem; /* Forces consistent spacing between items */
    width: 100%;
}

.btn-wrapper { width: 100%; text-align: center; }

.btn {
    display: inline-block; /* Prevents text wrap overlap */
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.2s, opacity 0.3s;
}

.btn:hover { transform: translateY(-4px); opacity: 0.95; }

.contact-text { margin-top: 0.5rem; font-size: 0.9rem; }
.contact-text a { color: var(--text-color); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent-color); }

/* --- Other Components --- */
.styled-list { list-style: none; margin: 1rem 0; }
.styled-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; }
.styled-list li::before { content: "•"; color: var(--accent-color); position: absolute; left: 0; font-weight: bold; }

.organizer-list { display: flex; flex-direction: column; gap: 4rem; }
.bio-card { display: flex; gap: 2.5rem; align-items: flex-start; }
.bio-img { width: 130px; height: 130px; border-radius: 6px; overflow: hidden; background: #eee; flex-shrink: 0; }
.bio-img img { width: 100%; height: 100%; object-fit: cover; }
.bio-text h3 {
    display: inline;
    margin-right: 0.1rem;
    font-size: 1.2rem;
    color: var(--text-color);
}
.bio-text p { display: inline; }

.dates-table { 
    width: 100%; 
    border-collapse: collapse; 
}

.dates-table td { 
    padding: 1.5rem 0; 
    border-bottom: 1px solid rgba(0,0,0,0.06); 
    vertical-align: top;
}

.dates-table td:first-child {
    font-weight: 600;
    width: 40%;
}

.schedule-item { display: flex; padding: 1.5rem; background: var(--white); border-left: 4px solid var(--secondary-color); margin-bottom: 1rem; gap: 1.5rem; border-radius: 0 8px 8px 0; }
.schedule-item strong { min-width: 110px; }

.site-footer {
    padding: 3rem 0;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(93, 64, 55, 0.1);
    background-color: transparent;
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    letter-spacing: 0.05rem;
    font-weight: 400;
}
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        width: 100%;
    }

    .quote-container {
        padding: 3rem 1.5rem 2rem;
    }

    .quote-container::before {
        font-size: 3rem;
        transform: translate(-50%, -30%);
    }

    .bio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .schedule-item strong {
        min-width: auto;
    }

    h1 {
        font-size: 2.2rem;
    }

    .quote-container {
        padding: 2rem 1.5rem;
    }
}