/* css/gallery-style.css */

.gallery-page-section {
    padding: 40px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}
.gallery-header h1 {
    font-weight: 500;
    font-size: 2.5rem;
    color: #24292e;
}
.gallery-header .lead-text {
    font-size: 1.1rem;
    color: #586069;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

body.dark-mode .gallery-header h1 { color: #c9d1d9; }
body.dark-mode .gallery-header .lead-text { color: #8b949e; }

.gallery-section {
    margin-bottom: 40px;
}
.gallery-section-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #343a40;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}
body.dark-mode .gallery-section-title {
    color: #e9ecef;
    border-bottom-color: #495057;
}

/* Responsive Video Embed Container */
.video-embed-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    margin-bottom: 20px; /* Space below video */
    border-radius: 0.375rem; /* Bootstrap's default border-radius */
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove default iframe border */
}

body.dark-mode .video-embed-container {
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.3);
}

.video-caption {
    font-size: 0.9rem;
    text-align: center;
    color: #6c757d;
    margin-top: -10px; /* Pull it slightly closer to video */
    margin-bottom: 30px;
}
body.dark-mode .video-caption {
    color: #adb5bd;
}

/* Image Gallery (Placeholder styles if you add images later) */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.image-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}
body.dark-mode .image-gallery-item img {
    /* Add a subtle border or effect for images in dark mode if needed */
    /* border: 1px solid #454a4f; */
}