body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow: visible;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 10, 0.2);
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s; /* Smooth transition for the header movement */
}

.logo {
    z-index: 1010; /* Higher than the header to keep it visible */
    position: relative; /* Change from fixed to relative so it does not overlap nav */
    max-height: 70px; /* Set maximum height */
    width: auto;
    margin-left: 50px; /* Space from the left side */
}

nav {
    margin-left: auto; /* Push nav to the right */
    display: flex; /* Ensure nav items are lined up horizontally */
    margin-right: 50px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    padding: 0 20px; /* Space between nav items */
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #ccc; /* Lighter color on hover */
}


.video-background {
    padding-top: 100px;
    width: 100%;
    overflow: hidden;
    animation: fadeIn .5s ease-in;
}

.video-background video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.content {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 2;
    animation: fadeIn 2s ease-in;
}

@keyframes flyInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logo img {
    animation: flyInFromRight 2s ease-out;
    max-height: 60px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo a img {
    border: 0;
}

.contact-page {
    color: #fff;
    text-align: center;
    z-index: 25;
}

.contact img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .contact img {
        max-width: 70%;
    }
}

.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: -1;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin: 20px auto;
    padding: 0;
    max-width: 90%;
    line-height: 1.2;
    animation: fadeIn 2s ease-in;
}

.three-columns {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-top: 5px;
    animation: fadeIn 2s ease-in;
}

.column {
    flex: 1;
    margin: 0 10px;
    padding: 20px;
    background-color: #f4f4f4;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    border-radius: 40px;
    align-content: center;
    animation: fadeIn 2s ease-in;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Add transitions for smooth effects */
}

.column:hover {
    transform: scale(1.05); /* Slightly scale up on hover */
    box-shadow: 0 8px 16px rgba(0,0,0,0.3); /* Increase shadow size on hover for a "lifted" effect */
}

.column:active {
    /* Overlay a semi-transparent white on the existing background color */
    background-color: rgba(255, 255, 255, 0.2);
    mix-blend-mode: lighten;
}
@media (max-width: 768px) {
    .three-columns {
        flex-direction: column;
    }
    .column {
        margin: 10px 0;
    }
}


.contact-link {
    color: inherit;
    text-decoration: none;
    transition: text-shadow 0.3s ease;
}

.contact-link:hover {
    text-shadow: 0 3px 5px rgba(0, 0, 0, 05);
}

#toggleSound {
    position: absolute;
    left: 30px;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background-color: rgba(255, 95, 0, 0.25);
    border: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin-top: 20px; /* Adjust spacing above the button */
    z-index: 3000;

}

#toggleSound:hover {
    background-color: rgba(255, 95, 0, 9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 05);
    color: rgba(255, 255, 255, 10);
        border: rgba(255, 255, 255, 10);
        border: 3px;

}
.two-column-section {
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    color: black;
    flex-direction: column; /* Ensure that the default direction is column */
}

.two-column-section h1 {
    color: black;
}

.left-column, .right-column {
    width: 10%; /* Adjust width for better mobile responsiveness */
    margin: 10px;
}

.left-column p {
    text-align: left;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    width: 100%; /* Adjust based on the number of images */
    transition: transform 0.5s ease-in-out;
}
.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%; /* Ensures each image takes full width of its container */
    flex: 0 0 100%; /* Prevents flex items from growing or shrinking */
    height: auto; /* Maintains the aspect ratio */
    object-fit: cover; /* Ensures the image covers the area without being stretched */
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}
button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

@media (min-width: 768px) {
    .two-column-section {
        flex-direction: row; /* Set to row for larger screens if desired */
    }

    .left-column {
        width: 40%; /* Adjust the width of the text column on wider screens */
    }

    .right-column {
        flex: 1; /* Allows the carousel images to take the remaining space */
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px; /* Limit the size of the image */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.logo-image {
    max-width: 80%; /* Adjust the width as necessary */
	max-height: 200px; /* Prevent the image from being too large */

    display: block; /* Ensures the image is block level for proper margin handling */
    margin: 0 auto; /* Centers the image horizontally */
    padding: 2px 0; /* Adds some vertical spacing */
}

.background-color-changer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Cover the full viewport height */
    background-color: #918e41; /* Set initial background color to black */
    z-index: -1; /* Place it behind other content */
}

.nice-quote {
    text-align: center; /* Center-align the text */
    padding: 20px; /* Add padding for better spacing */
    margin: 0 auto; /* Ensure it centers horizontally in its container */
    color: #fff; /* Set the text color to white for contrast */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    border-radius: 10px; /* Optional: rounded corners for aesthetic */
    max-width: 80%; /* Limit the maximum width for better reading */
    font-style: italic; /* Italicize the quote */
    font-size: 1.2em; /* Make the font slightly larger */
    position: relative; /* Ensure the positioning context is set */
    z-index: 10; /* Bring the text above any background elements */
    box-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Subtle shadow for depth */
    transform: translateY(-50%); /* Vertically center in the div */
    top: 50%; /* Set top to 50% of the parent */
}
