/* General Styles */
body {
    font-family: 'Arial Black', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light background for better contrast */
    color: #141414; /* Dark text color */
    padding-top: 60px; /* Adjust for fixed navbar height */
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: larger;
    text-align: center;
}

/* Header and Navigation */
header {
    background-color: #d1814f; /* Dark gray for header */
    padding: 10px 0;
    position: fixed; /* Fix the navbar at the top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Stay above other content */
}

nav ul {
    display: flex;
    justify-content: center; /* Center the navigation items */
    list-style-type: none; /* Remove default list styles */
    padding: 0; /* Reset padding */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00; /* Yellow hover effect */
}

/* Banner Video */
.banner-video-container {
    width: 100%;
    height: 40vh; /* Decrease banner height */
    overflow: hidden; /* Hide overflow */
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire container */
}

/* Section Titles */
h1, h2 {
    text-align: center;
    margin: 20px 0;
}

/* Triptychs Section */
.tripsec {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center; /* Center items */
    gap: 20px; /* Space between images */
    margin: 20px 0; /* Add margin above and below */
}

.image-container {
    position: relative;
    width: 200px; /* Fixed width for consistency */
}

.image-container img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: transform 0.3s; /* Smooth transition for hover effect */
    cursor: pointer; /* Pointer cursor for images */
}

.image-container img:hover {
    transform: scale(1.05); /* Slightly enlarge image on hover */
}

.image-title {
    text-align: center;
    margin-top: 5px; /* Space between image and title */
    font-weight: bold;
}

/* Gallery Styles */
.gallery {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center; /* Center gallery */
    margin: 20px auto; /* Center the gallery with auto margins */
    width: 100%; /* Use full width to eliminate gaps */
    max-width: 1200px; /* Limit max width to keep it centered */
}

/* Main Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Responsive grid */
    gap: 20px; /* Increased space between items */
    margin: 10px 0; /* Space above and below the grid */
    width: 100%; /* Use full width to eliminate gaps */
    max-width: 1200px; /* Limit max width to keep it centered */
    justify-content: center; /* Center the grid items horizontally */
}

/* Gallery Grids for different sections */
.gallery-grid2,
.gallery-grid3,
.gallery-grid4,
.gallery-grid5 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Responsive grid */
    gap: 20px; /* Increased space between items */
    margin: 20px auto; /* Center the grid with auto margins */
    width: 100%; /* Use full width to eliminate gaps */
    max-width: 1200px; /* Limit max width to keep it centered */
    justify-content: center; /* Center the grid items horizontally */
}

/* Centering images within their container */
.gallery-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Above the navbar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black with transparency */
}

.modal-content {
    margin-left: 15%; /* Centered */
    margin: auto;
    margin-top: 1%;
    display: block; /* Display as block */
    max-width: 80%; /* Limit max width */
    border-radius: 0px; /* Rounded corners */
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff; /* Close button color */
    font-size: 35px;
    font-weight: bold;
    cursor: pointer; /* Pointer cursor on hover */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #d1814f; /* Dark gray for header */
    color: white;
}

/* Centering Awards and Gallery Sections */
.awards, .intl-photo-gallery, .local-photo-gallery {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the sections */
    margin: 20px auto; /* Center the sections with auto margins */
    width: 100%; /* Use full width to eliminate gaps */
    max-width: 1200px; /* Limit max width to keep it centered */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .banner-video-container {
        height: 30vh; /* Adjust banner height for mobile */
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically */
        align-items: center; /* Center align */
    }

    .tripsec {
        gap: 15px; /* Reduced gap for smaller screens */
        justify-content: center; /* Center align */
    }

    .gallery {
        width: 90%; /* Full width for gallery */
    }

    .gallery-grid,
    .gallery-grid2,
    .gallery-grid3,
    .gallery-grid4,
    .gallery-grid5 {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* More responsive grid */
    }

    .image-container {
        width: auto; /* Allow auto width for smaller screens */
    }
}

/* Video Container */
.video-container {
    display: flex;
    flex-direction: column; /* Stack controls vertically */
    align-items: center; /* Center the video player */
    justify-content: center; /* Center the video player */
    margin: 20px auto; /* Center the container */
    width: 90%; /* Full width for better centering */
    max-width: 640px; /* Limit max width */
}

#player {
    position: relative;
    width: 100%; /* Make the player responsive */
}

#player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#selfies {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically (if needed) */
    gap: 20px; /* Adds space between images */
  }
  
  .gallery-grid2z {
    display: flex;
    gap: 15px; /* Adjust spacing between images */
  }
  
  .image-containerz {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 200px; /* Fixed width for consistency */
  }
  
  .gallery-imagez {
    max-width: 100%; /* Ensures images are responsive */
    height: auto;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  }