/* --- event-detail.css — Reusable styles for event detail pages --- */

/* --- Hero Section --- */
.event-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px 60px;
    margin-top: 0;
}

.event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.event-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: var(--white);
}

.event-hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    font-size: 1.05rem;
    opacity: 0.95;
}

.event-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-hero-meta i {
    color: var(--gold);
}

/* --- Event Summary --- */
.event-summary {
    padding: 60px 20px;
    background: var(--bg-cream);
}

.event-summary .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.event-summary p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* --- Generic Event Section --- */
.event-section {
    padding: 60px 20px;
}

.event-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.event-section:nth-child(even) {
    background: var(--bg-light);
}

.event-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.event-section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.event-section-header p {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- About Section (text + optional image sidebar) --- */
.event-about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.event-about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.event-about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-about-sidebar img {
    max-height: 220px;
    object-fit: contain;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* --- Sponsor Logo Bar --- */
.event-sponsors {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.event-sponsors img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.event-sponsors img:hover {
    filter: grayscale(0%);
}

/* --- Highlights / Stat Cards --- */
.event-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-stat-card .stat-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.event-stat-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.event-stat-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* --- People Spotlight --- */
.event-people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.event-person-card {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}

.event-person-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--light-green);
}

.event-person-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--dark-green);
    margin-bottom: 4px;
}

.event-person-info .person-title {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-person-info p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* --- Blockquote --- */
.event-quote-block {
    padding: 60px 20px;
    background: var(--dark-green);
    text-align: center;
}

.event-quote-block .container {
    max-width: 800px;
    margin: 0 auto;
}

.event-quote-block blockquote {
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
}

.event-quote-block blockquote i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.event-quote-block blockquote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 16px;
}

.event-quote-block blockquote cite {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--light-green);
    font-style: normal;
    font-weight: 600;
}

/* --- Photo Gallery --- */
.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.event-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e0e0e0;
    position: relative;
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9e9e9e;
    font-size: 0.9rem;
    gap: 8px;
    height: 100%;
}

.event-gallery-placeholder i {
    font-size: 2rem;
}

/* --- CTA Section --- */
.event-cta {
    padding: 60px 20px;
    background: var(--bg-cream);
    text-align: center;
}

.event-cta .container {
    max-width: 700px;
    margin: 0 auto;
}

.event-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 16px;
}

.event-cta p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.event-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* --- Responsive — 992px --- */
@media (max-width: 992px) {
    .event-hero-content h1 {
        font-size: 2.2rem;
    }

    .event-about-grid {
        grid-template-columns: 1fr;
    }

    .event-about-sidebar {
        flex-direction: row;
        justify-content: center;
    }

    .event-about-sidebar img {
    max-height: 220px;
    object-fit: contain;
        max-width: 250px;
    }

    .event-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-people-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive — 768px --- */
@media (max-width: 768px) {
    .event-hero {
        min-height: 380px;
        padding: 60px 16px 40px;
    }

    .event-hero-content h1 {
        font-size: 1.8rem;
    }

    .event-hero-meta {
        flex-direction: column;
        gap: 12px;
    }

    .event-section {
        padding: 40px 16px;
    }

    .event-section-header h2 {
        font-size: 1.6rem;
    }

    .event-stat-card h3 {
        font-size: 1.3rem;
    }

    .event-person-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-quote-block blockquote p {
        font-size: 1.4rem;
    }

    .event-summary p {
        font-size: 1.05rem;
    }

    .event-cta h2 {
        font-size: 1.6rem;
    }
}

/* --- Responsive — 480px --- */
@media (max-width: 480px) {
    .event-hero {
        min-height: 300px;
        padding: 50px 12px 30px;
    }

    .event-hero-content h1 {
        font-size: 1.5rem;
    }

    .event-highlights-grid {
        grid-template-columns: 1fr;
    }

    .event-gallery-grid {
        grid-template-columns: 1fr;
    }

    .event-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .event-sponsors img {
        height: 36px;
    }
}
