/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000000;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

/* Header */
h1 {
    color: #ffffff;
    margin-top: 20px;
}

/* Navigation Bar */
.navbar {
    background-color: #121212;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: inline-block;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
}

.navbar a:hover {
    background: linear-gradient(90deg, #ffff00, #ff6600);
    color: white;
    transform: scale(1.1);
}

/* Active Page Highlight */
.navbar a.active {
    border: 2px solid white;
    padding: 10px 18px; /* Adjust padding to compensate for border */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Video Gallery */
.video-gallery {
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a, #000000); /* Subtle background gradient */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.video-gallery h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

/* Video Panel */
.video-panel {
    display: flex;
    gap: 15px; /* Space between videos */
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px; /* Space between image panel and video panel */
}

.video-panel video {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 2px solid #ffffff; /* Added border */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-panel video:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    box-shadow: 0 8px 16px rgba(255, 165, 0, 0.5); /* Glowing orange shadow */
    border-color: #ff6600; /* Change border color on hover */
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    width: 100%;
}

/* Footer Links */
.footer a {
    color: white;
    text-decoration: none;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, yellow, orange);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;  /* Full width on hover */
    transition: width 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-panel {
        flex-direction: column; /* Stack videos on smaller screens */
        align-items: center;
    }

    .video-panel video {
        width: 80%;
        height: auto;
    }
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    padding-top: 60px;
    text-align: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
}

.modal-caption {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px; /* Adjust margin to position caption above the image */
}

.modal video {
    display: none; /* Hidden by default */
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}
