﻿/* Highlights & Media Sections Styles */

/* HIGHLIGHTS SECTION */
.highlights {
    padding: 0px 0 110px 0;
    background: #e8e1d8;
    min-height: 100vh;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 30px 0 #e8e1d8;
}

    .highlights .container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0px;
        width: 100%;
    }

    .highlights .section-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 40px;
    }

.section-title-group {
    display: flex;
    flex-direction: column;
}

.highlights .view-all-btn {
    background: white;
    color: var(--text-contain);
    border: 1px solid var(--border-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    font-weight: 500;
}

    .highlights .view-all-btn:hover {
        background: var(--primary-red);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px var(--shadow-medium);
    }

/* HIGHLIGHTS TABS */
.highlights-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
}

    .tab-btn.active {
        color: #c41e3a;
        border-bottom-color: #c41e3a;
    }

    .tab-btn:hover {
        color: #c41e3a;
    }

/* TAB CONTENT */
.highlights-tab-content {
    display: none;
    opacity: 0;
    visibility: hidden;
}

    .highlights-tab-content.active {
        display: block;
        opacity: 1;
        visibility: visible;
        animation: fadeInUp 0.4s ease-out;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HIGHLIGHTS GRID LAYOUT */
.highlights-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px;
    height: 550px;
    width: 100%;
    max-width: none;
}

/* MAIN FEATURED CARD */
.highlight-card.main {
    grid-row: 1 / 3;
    grid-column: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 550px;
    width: 100%;
}

    .highlight-card.main:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .highlight-card.main img {
        display: none;
    }

    .highlight-card.main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100% );
        z-index: 1;
    }

    .highlight-card.main .highlight-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px;
        background: transparent;
        z-index: 2;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 25px;
    }

    .highlight-card.main .highlight-text {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .highlight-card.main .highlight-date {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .highlight-card.main h3 {
        font-size: 1.4rem;
        line-height: 1.4;
        color: white;
        margin: 0;
        font-weight: 600;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        max-width: 90%;
    }

    .highlight-card.main .highlight-link {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        flex-shrink: 0;
        white-space: nowrap;
    }

        .highlight-card.main .highlight-link:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-1px);
            text-decoration: none;
        }

/* SIDE CARDS */
.highlight-card.side.top-right {
    grid-row: 1;
    grid-column: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 265px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.highlight-card.side.bottom-right {
    grid-row: 2;
    grid-column: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 265px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.highlight-card.side:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.highlight-card.side img {
    display: none;
}

.highlight-card.side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100% );
    z-index: 1;
}

.highlight-card.side .highlight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    background: transparent;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.highlight-card.side .highlight-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.highlight-card.side .highlight-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.highlight-card.side h3 {
    font-size: 1rem;
    line-height: 1.3;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 90%;
}

.highlight-card.side .highlight-link {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
}

    .highlight-card.side .highlight-link:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-1px);
        text-decoration: none;
    }

/* PHOTO GALLERY */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    width: 100%;
}

.photo-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    height: 280px;
}

    .photo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .photo-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .photo-card:hover img {
        transform: scale(1.05);
    }

/*.photo-count {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    backdrop-filter: blur(10px);
}*/

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100% );
    padding: 25px;
    z-index: 1;
}

/* VIDEO GALLERY */
.videos-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    width: 100%;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-card:hover .video-play-button {
    background: rgba(196, 30, 58, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-content {
    padding: 20px;
}

 

/* RESPONSIVE */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: 1.8fr 1fr;
        height: 450px;
        gap: 18px;
    }

    .highlight-card.main {
        min-height: 450px;
    }

    .highlight-card.side.top-right,
    .highlight-card.side.bottom-right {
        height: 215px;
    }
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
        gap: 20px;
    }

    .highlight-card.main {
        grid-row: 1;
        grid-column: 1;
        height: 350px;
        min-height: 350px;
    }

    .highlight-card.side.top-right {
        grid-row: 2;
        height: 280px;
    }

    .highlight-card.side.bottom-right {
        grid-row: 3;
        height: 280px;
    }

    .photo-gallery-grid,
    .videos-gallery-grid,
    .events-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .highlight-card.main {
        height: 300px;
        min-height: 300px;
    }

    .highlight-card.side.top-right,
    .highlight-card.side.bottom-right {
        height: 250px;
    }

    .event-card {
        height: 220px;
    }
}


/* ========== HOME PAGE - EVENTS TAB ========== */
.events-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
 
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.event-card:hover .event-image img {
    transform: scale(1.05);
}
.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

 

.event-learn-more {
    color: #c41e3a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

    .event-learn-more:hover {
        gap: 0.75rem;
    }

.add-to-calendar, .btn-add-calendar {
    background: transparent;
    border: 1px solid #c41e3a;
    color: #c41e3a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .add-to-calendar:hover, .btn-add-calendar:hover {
        background: #c41e3a;
        color: #fff;
    }

    .add-to-calendar i, .btn-add-calendar i {
        font-size: 1rem;
    }
