/* Hero Section with Parallax */
.hero-image {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: translateZ(0);
    will-change: transform;
}

/* Black overlay */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-image .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-image {
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image .container {
        padding: 60px 20px;
    }
}

/* Gallery Navigation */
.gallery-nav-container {
    background-color: transparent;
    padding: 30px 0 0 0;
}

.gallery-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.gallery-tab {
    position: relative;
    cursor: pointer;
}

.gallery-tab a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-tab:hover a {
    color: #fff;
}

.gallery-tab.active a {
    color: #ff9d00;
}

.gallery-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff9d00;
}

/* Gallery Content */
.gallery-content {
    padding: 60px 0;
    background-color: #000;
    min-height: 600px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background-color: #111;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease; 
}

.photo-item:hover img {
    transform: scale(1.1);
}


/* Fullscreen Modal - INSTANT */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    /* NO transition property here */
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    background-color: transparent;

}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover {
    color: #ccc;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.video-item {
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 157, 0, 0.3);
}

.video-item iframe {
    width: 100%;
    height: 300px;
    display: block;
}

.video-item h3 {
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
}

/* Video Link Item Styles */
.video-link-item {
    padding-bottom: 0;
}

.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #ff9d00;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-thumbnail:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.2);
    color: #fff;
}

.watch-btn {
    display: block;
    text-align: center;
    padding: 15px 20px;
    background-color: #ff9d00;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.watch-btn:hover {
    background-color: #fff;
    color: #ff9d00;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-nav {
        gap: 20px;
    }

    .gallery-tab a {
        font-size: 1.1rem;
        padding: 8px 15px;
    }

    .gallery-content {
        padding: 40px 0;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-item iframe {
        height: 250px;
    }
}