.gallery-container {
    padding: 40px 5%;
    background: #f8f8f8;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay.open {
    opacity: 1;
    pointer-events: all;
}

.overlay-inner {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.overlay-inner img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.gallery-heading {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-heading h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.gallery-heading p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================
   VIDEO GALLERY STYLES
======================== */
.video-section {
    margin-top: 50px;
    padding: 40px 0;
    background: #f1f1f1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 5%;
}

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.video-info p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* Section Divider */
.section-divider {
    text-align: center;
    padding: 40px 0;
    background: #fff;
}

.section-divider h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 15px;
}
