/* Gallery Container */
.gallery-container {
    margin-top: 120px;
    padding: 20px;
    text-align: center;
    
    
}
.gallery-title{
    margin-bottom:100px;
}

/* Main Image Viewer */
.gallery-viewer {
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
}

#main-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    
    box-shadow: 0 0 30px rgba(125, 2, 2, 0.7);
    cursor: zoom-in;
    transition: transform 0.3s;
}

#main-image:hover {
    transform: scale(1.02);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.modal-content {
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin: 2% auto;
    border: 3px solid rgb(178, 6, 6);
    border-radius: 5px;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: rgb(178, 6, 6);
    transform: rotate(90deg);
}

/* Navigation Controls */
.gallery-controls, .modal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 30px;
}

.gallery-btn, .modal-btn {
    background: rgba(178, 6, 6, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn:hover, .modal-btn:hover {
    background: rgba(178, 6, 6, 0.9);
    transform: scale(1.1);
}

/* Thumbnails */
.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: rgb(178, 6, 6);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(178, 6, 6, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gallery-container {
        margin-top: 80px;
    }
    
    #main-image {
        max-height: 50vh;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .gallery-btn, .modal-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .close-modal {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}
#image-counter
{
    color:white;
}
.video-section {
    padding: 40px 20px;
    text-align: center;
}

.video-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fffbfb;
    text-decoration:underline;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin-top:100px;
    margin-left:100px;
     margin-right:100px;
}

.video-wrapper {
    flex: 1 1 400px;
    max-width: 600px;
    max-height:800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-wrapper {
        flex: 1 1 100%;
    }
}