/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: white;
    color: maroon;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    margin: 0;
    padding: 0;
}

header .navbar {
    background-color: green;
    padding: 1rem;
}

header .navbar-brand, 
header .nav-link {
    color: white !important;
}

header .navbar-brand:hover, 
header .nav-link:hover {
    color: orange !important;
}

/* Slider Styles */
#slider {
    margin: 0;
    padding: 0;
}

.carousel-item {
    min-height: 200px;
    max-height: 400px;
    margin: 0;
    padding: 0;
}

.carousel-item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.carousel-caption h5 {
    color: white;
}

.carousel-caption p {
    color: maroon;
}

.carousel-caption .btn-custom {
    background-color: maroon;
    color: white;
    border: 2px solid orange;
}

.carousel-caption .btn-custom:hover {
    background-color: orange;
    color: white;
}

/* Image Frame Styles */
.img-frame {
    width: 300px;
    height: auto;
    border: 5px solid orange;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.img-frame:hover {
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background-color: green;
    color: white;
    margin: 0;
    padding: 0;
}

footer h5 {
    color: orange;
}

footer a {
    color: white !important;
}

footer a:hover {
    color: maroon !important;
}

footer .text-center {
    background-color: maroon;
    padding: 10px;
    color: white;
}
.text-left {
    text-align: left;
}
.col-lg-3 h5, 
.col-lg-3 ul {
    text-align: left !important;
}

/* About Us Section */
.about-us-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem 1rem;
}

.about-us-text {
    flex: 1 1 60%;
    padding-right: 2rem;
    color: maroon;
}

.about-us-videos {
    flex: 1 1 35%;
    padding-left: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.about-us-videos h2 {
    color: green;
}

.video-embed {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column;
        margin: 2rem 1rem;
    }

    .about-us-text, .about-us-videos {
        flex: 1 1 100%;
        padding-right: 0;
        padding-left: 0;
    }
}

/* Gallery Styles */
.gallery-container {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

h2 {
    text-align: center;
    color: maroon;
    margin-bottom: 2rem;
}

.video-gallery, .picture-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem; /* Adjusts spacing between items */
    margin-bottom: 3rem;
}

.video-item, .picture-item {
    flex: 1 1 22%; /* Adjusted to fit 4 pictures per row */
    max-width: 22%;
    margin-bottom: 1.5rem;
}

.picture-item img {
    width: 100%;
    height: 200px; /* Standardized image height */
    object-fit: cover; /* Ensures images maintain aspect ratio */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.picture-item img:hover {
    transform: scale(1.05);
}

/* Modal Styles for Enlarged View */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
}

#caption {
    margin: 10px 0;
    text-align: center;
    color: white;
}

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

.close:hover, .close:focus {
    color: #bbb;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-item, .picture-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .modal-content {
        width: 100%;
    }
}
