/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    max-width: 100%; /* Prevent horizontal overflow */
    overflow-x: hidden; /* Disable horizontal scrolling */
}

body {
    
    font-family: 'Arial', sans-serif;
    background-color: #f6f6f6;
    color: #333;
    line-height: 1.6;
  
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 10px;
    animation: fadeInBackground 0.5s ease-in-out forwards;
}
/* General Fix for Sections and Containers */
section, header, nav, .video-container, footer {
    max-width: 100%; /* Ensure they don't exceed screen width */
    overflow-x: hidden; /* Prevent individual horizontal overflow */
}

/* Fade-in Animation */
@keyframes fadeInBackground {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

header {
    text-align: center; /* Center align content inside the header */
    width: 100%;
    overflow: hidden; /* Prevent any overflow */
    background-color: rgba(17, 11, 8, 0.9); /* Optional background */
    padding: 10px 0; /* Add padding to avoid tight spacing */
}

header img {
    width: 20%; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image fills its container */
    max-height: 400px; /* Limit height for PC screens */
    display: block; /* Prevent inline spacing issues */
    margin: 0 auto; /* Center the image horizontally */
    padding: 5px; /* Add consistent padding around the image */
}

/* Adjustments for Tablets */
@media (max-width: 768px) {
    header img {
        width: 60%; /* Slightly larger for tablets */
        max-height: 80px; /* Limit height for tablets */
        object-fit: contain; /* Ensure full visibility */
        padding: 15px; /* Increase padding for spacing */
    }
}

/* Adjustments for Mobile */
@media (max-width: 480px) {
    header {
        height: 100px; /* Set header height for mobile */
    }
    header img {
        width: 20%; /* Use more width on small screens */
        height: auto; /* Maintain aspect ratio */
        object-fit: cover; /* Ensure image looks good */
        padding: 10px; /* Add more padding for mobile */
    }
}




nav {
    position: sticky; /* Sticky position for the nav */
    top: 0; /* Stick to the top when scrolling */
    z-index: 1000; /* Ensure it stays above content */
    background-color: #3433339d; /* Background color for the nav */
    padding: 10px 0; /* Add padding */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

.menu {
    list-style: none; /* Remove default list styling */
    display: flex; /* Arrange items in a row */
    justify-content: center; /* Center the menu items */
    gap: 20px; /* Add spacing between items */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.menu li a {
    color: white; /* White text for contrast */
    text-decoration: none; /* Remove underline */
    font-size: 18px; /* Set font size */
    padding: 10px 20px; /* Add padding for clickable area */
    border-radius: 5px; /* Slightly rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
}

.menu li a:hover {
    background-color: #fffbfb9f; /* Darker background on hover */
    color: #fff; /* Maintain white text on hover */
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
}
/* Video Container */
.video-container {
    max-width: 800px; /* Set maximum width for larger screens */
    height: 450px; /* Set height proportionate to width */
    margin: 20px auto; /* Center the video */
    border-radius: 10px; /* Optional rounded corners */
    overflow: hidden; /* Prevent overflow for rounded corners */
    position: relative;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
}

/* Video Element */
.video-container video {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the video fills the container without distortion */
    border-radius: 10px; /* Match container corners */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%; /* Use full width of the screen */
        aspect-ratio: 16 / 9; /* Maintain video aspect ratio */
        height: auto; /* Adjust height automatically */
        margin: 10px auto; /* Center video on smaller screens */
    }
}

@media (max-width: 480px) {
    .video-container {
        max-width: 100%; /* Full width for small screens */
        aspect-ratio: 16 / 9; /* Maintain proper aspect ratio */
        height: auto; /* Adjust height dynamically */
        margin: 10px auto; /* Center the container */
    }
}

/* Section Styling */
section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #706f6f80;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Buttons */
button.glow-button {
    padding: 12px 25px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

button.glow-button:hover {
    background-color: #555;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}
/* Section Styling */
#video {
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Video Wrapper for Responsive Video */
.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    width: 100%; /* Full width */
    max-width: 800px; /* Optional max width for larger screens */
    margin: 0 auto; /* Center the video */
    overflow: hidden; /* Prevent overflow */
    border-radius: 10px; /* Optional: round the corners */
}

/* Responsive YouTube Iframe */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width of the container */
    height: 100%; /* Full height of the container */
    border: none;
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    border-radius: 8px;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#backToTop:hover {
    background-color: #555;
}
/* Side Menu Container */
/* Side Menu Container */
/* Side Menu */
#side-menu {
    position: fixed;
    right: -250px; /* Start hidden on the right */
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #bc8e1a79;
    color: white;
    z-index: 2000;
    box-shadow: -2px 0 5px rgba(116, 66, 3, 0.551); /* Shadow on the left for the right menu */
    transition: right 0.3s ease; /* Smooth slide-in effect */
}

/* Close Button */
#close-menu {
    position: absolute;
    top: 10px;
    left: 10px; /* Move close button to the left inside the menu */
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2000;
}

#close-menu:hover {
    color: #ff5555; /* Optional hover color */
}

/* Open Button */
#open-menu {
    position: fixed;
    top: 10px;
    right: 10px; /* Position the open button on the right */
    z-index: 1001;
    background: #705607a7;
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

#open-menu:hover {
    background-color: #555;
}

/* Side Menu */
#side-menu {
    position: fixed;
    right: -250px; /* Hidden initially */
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #33333396;
    color: white;
    z-index: 2000;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Shadow on left for right menu */
    transition: right 0.3s ease; /* Smooth slide-in effect */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px; /* Add padding for spacing */
}

/* Close Button */
#close-menu {
    align-self: flex-end; /* Align the button to the right */
    margin-bottom: 20px; /* Add spacing below the close button */
    background: transparent;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

#close-menu:hover {
    color: #ff5555; /* Optional hover color */
}

/* Open Button */
#open-menu {
    position: fixed;
    top: 0; /* Stick to the top */
    right: 0; /* Align to the right */ 
    z-index: 1001;
    background: #ffffffbc;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 0px;
}

#open-menu:hover {
    background-color: #5c5b5bb0;
}

/* Side Menu List */
.side-menu-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.side-menu-list li {
    margin-bottom: 20px;
}

.side-menu-list li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.side-menu-list li a:hover {
    background-color: #ffffff68;
}

@media (max-width: 768px) {
    header img {
        width: 100%; /* Full width for mobile devices */
        height: auto; /* Maintain aspect ratio */
    }
}
@media (max-width: 600px) {
    
    body {
        padding: 10px;
        font-size: 14px;
    }

    nav {
        padding: 5px 0;
    }

    .menu {
        flex-direction: column; /* Stack the menu vertically */
        gap: 10px;
    }

    .menu li a {
        font-size: 14px;
        padding: 8px 15px; /* Smaller padding */
    }

    .slider {
        height: auto; /* Allow the height to adjust dynamically */
        border-radius: 5px; /* Adjust for smaller screens */
    }

    section {
        padding: 10px;
        margin: 10px auto;
    }

    button.glow-button {
        font-size: 14px;
        padding: 10px 15px;
    }

    footer {
        font-size: 14px;
        padding: 10px;
    }

    #backToTop {
        bottom: 20px;
        right: 20px;
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 5px;
    }

    .menu {
        gap: 5px;
    }

    .menu li a {
        font-size: 12px;
        padding: 5px 10px;
    }

    header img {
        height: auto;
    }

    section {
        padding: 8px;
    }

    button.glow-button {
        font-size: 12px;
        padding: 8px 10px;
    }
}
