/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #111;
    color: #fff;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: transparent; /* Transparent background */
    z-index: 100; /* Ensures the nav is always on top */
}

.nav-logo img {
    width: 50px; /* Set fixed width for the logo */
    height: auto; /* Maintain aspect ratio */
    max-height: 100px; /* Optional: Set a maximum height for the logo */
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row; /* Ensure the buttons are in a row */
    margin-right: 50px; /* Adjust margin to move buttons to the left */
}

.nav-links li {
    margin-left: 20px; /* Adds space between the buttons */
}

.nav-links li a {
    color: white; /* Buttons are white by default */
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease; /* Smooth transition when changing colors */
}

.nav-links li a:hover {
    color: limegreen; /* Change to lime green on hover */
}

/* Add 'active' class for the current/active page */
.nav-links li a.active {
    color: limegreen; /* Active page stays lime green */
}



/* Video Background */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Ensure overlay is above video */
}
.content {
    position: absolute;
    z-index: 2; /* Ensure content is above the overlay */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.content .logo {
    max-width: 200px;
}

.content h1 {
    margin: 10px 0;
    font-size: 48px;
    color: limegreen;
}

.ticket-button {
    display: inline-block;
    background-color: limegreen;
    color: #111;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

/* Media Page Styles */
.media-library {
    display: flex;
    justify-content: space-around;
    padding: 50px;
}

.party-pane {
    width: 350px;
    height: 300px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid limegreen;
    cursor: pointer;
    text-align: center;
}

.pane-title {
    color: limegreen;
    font-size: 24px;
}

/* Party Media Page Styles */
.media-gallery {
    padding: 50px;
}

.media-item {
    margin-bottom: 30px;
}

.media-item img {
    width: 100%;
    height: auto;
}

/* Events Page Styles */
.events-list {
    display: flex;
    flex-direction: column; /* Arrange events in a column */
    align-items: center; /* Center align the panes */
    padding: 50px;
}

.event-block {
    display: flex;
    background-color: #222; /* Background for each event pane */
    border: 2px solid limegreen; /* Border for each pane */
    border-radius: 5px;
    margin-bottom: 30px; /* Margin below each event */
    overflow: hidden; /* Prevent overflow of content */
    width: 100%; /* Width of each event pane */
    max-width: 1000px; /* Optional: maximum width for larger screens */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition effects */
}

.event-block:hover {
    transform: scale(1.05); /* Zoom effect on hover */
    box-shadow: 0 0 15px limegreen; /* Shadow effect on hover */
}

.event-banner {
    width: 400px; /* Width of the banner */
    height: 500px; /* Increased height for the banner */
    object-fit: fill; /* Maintain aspect ratio and cover the space */
} 

.event-info {
    padding: 30px; /* Increased padding inside the event info for more space */
    color: white; /* Text color */
}

.event-info h2 {
    color: limegreen; /* Event title color */
    margin: 0; /* Remove default margin */
}

.event-info p {
    margin: 10px 0 0; /* Margin above description */
}




/* Centered Button on the Home Page */
.ticket-button {
    display: inline-block;
    background-color: transparent; /* Transparent background */
    color: white; /* White text label */
    padding: 10px 20px;
    font-size: 18px;
    text-decoration: none;
    border: 2px solid white; /* White border */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

/* Hover Effect for the Button */
.ticket-button:hover {
    background-color: white; /* White background on hover */
    color: #111; /* Dark text when hovering */
}

/* Media Page Styles */
.media-library {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    flex-wrap: wrap; /* Allow wrapping if there are too many panes */
    gap: 40px; /* Add space between panes (increases margin between them) */
}

.party-pane:hover {
    transform: scale(1.05); /* Slight zoom-in effect on hover */
    box-shadow: 0 0 15px limegreen; /* Highlight effect on hover */
}


.pane-title {
    margin-top: 10px;
    font-size: 18px;
    color: limegreen;
}

.party-pane {
    text-align: center;
    text-decoration: none;
    border: 2px solid limegreen;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px; /* Adjust margin */
}

.party-images {
    display: flex; /* Use flexbox for images */
    flex-wrap: wrap; /* Wrap images to the next line */
    justify-content: center; /* Center images */
    margin-top: 10px; /* Space above images */
}

.party-images img {
    width: 100px; /* Width for each image */
    height: 200px; /* Maintain aspect ratio */
    margin: 5px; /* Space between images */
}

.media-library {
    display: flex;
    flex-direction: column; /* Stack the party panes vertically */
    align-items: center; /* Center align the panes */
}


/* Main party pane container styling */
.party-pane {
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
    padding: 10px;
    box-sizing: border-box;
}

/* Image styling for responsive scaling */
.banner-image {
    /* width: 100%; */
    /* max-width: 100%; */
    height: 110%;
    object-fit: cover;
    /* border-radius: 8px; Optional rounded corners */
}

/* Title styling */
.pane-title {
    color: limegreen;
    margin-top: -20px;
    font-size: 1.2em;
    text-align: center;
}

/* Image container */
.party-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    transition: max-height 0.5s ease-out;
}

.party-images img {
    /* max-width: auto; */
    /* height: 200px; */
    /* max-height: 250px; */
    height: 250px;
    width: auto;
    margin: 5px;
    object-fit: cover;
}

/* Media Queries for Responsive Scaling */

/* For tablets */
@media (max-width: 786px) {
    .party-pane {
        padding: 0px;
        width: 100%;
        max-width: 100%;
    }
    /* .banner-image { */
        /* max-width: 110%; */
        /* height: 100%; */
    /* } */
    .pane-title {
        font-size: 1em;
    }
    .party-images img {
        
        margin: 2px;
        width: 48%;
    }

    /* Events page on phone */
    .event-block {
        display: grid;
        width: 130%; /* Width of each event pane */
        max-width: 130%; /* Optional: maximum width for larger screens */
    }
    
    .event-banner {
        width: 100%; /* Width of the banner */
        height: 100%; /* Increased height for the banner */
        object-fit: fill; /* Maintain aspect ratio and cover the space */
    } 
    
    .event-info {
        padding: 30px; /* Increased padding inside the event info for more space */
    }
    
    .event-info h2 {
        margin: 0; /* Remove default margin */
    }
    
    .event-info p {
        margin: 10px 0 0; /* Margin above description */
    }
    .content h1 {
        margin: 10px 0;
        font-size: 34px;
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .party-pane {
        max-width: 100%;
        padding: 5px;
    }
    .pane-title {
        font-size: 0.9em;
    }
}