/* Global styles */
html,
body {
    background: url('/images/pirate-ship.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0px;
    padding: 0px;
    width: 100%;
    background-color: #800020;
    font-family: 'Cinzel', sans-serif;
    font-size: 1.1em;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow-x: hidden;
    box-sizing: border-box;
    color:rgb(255, 255, 255)
}
/* Navbar and its items */
.navbar {
    display: flex;
    justify-content: space-between;
    /* Aligns logo and navigation links */
    align-items: center;
    width: 100%;
    /* Make the navbar full width */
    padding: 20px;
    /* Increased padding for taller navbar */
    background: linear-gradient(to bottom right, #800020, #000000);
    position: fixed;
    /* Makes navbar stay fixed at the top */
    top: 0;
    left: 0;
    z-index: 1000;
    /* Ensure it’s above other content */
    display: flex;
    box-sizing: border-box;
}


/* Logo Container */
.logo-container {
    width: 350px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-left: 0px;
    margin-right: 20px;
}

/* Logo Image */
.logo {
    max-width: 160px;
    height: auto;
} 
/* Adjust Logo Container for mobile screens */
@media (max-width: 768px) {
    .logo-container {
        width: auto; /* Adjust width to fit on smaller screens */
        height: 150px; /* Adjust height to maintain proportionality */
        margin-right: 10px; /* Reduce right margin */
    }

    /* Optionally, adjust logo size */
    .logo {
        max-width: 80%; /* Adjust logo size within container */
        height: auto; /* Ensure height is auto for proportion */
    }
}

/* Navbar links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    margin-right: 30px;
    /* Adjust this margin if necessary */
}

/* Navbar link style */
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.5s ease;
    font-family: 'Cinzel', serif;
}

/* Hover effect: box around the link */
.nav-links a:hover {
    color: #fff;
    background-color: #000000;
    /* Red background on hover */
    border: 2px solid #800020;
    /* Red border on hover */
}


/* Center the navbar links when screen is small */
@media (max-width: 768px) {
    .navbar {
                display: grid;
        grid-template-columns: repeat(3, 1fr); /* Three equal columns */
        width: 100%;
        justify-content: center;
        align-items: center; /* Vertically align content */
    }
    .nav-links {
        flex-direction: column;
        /* Stack the links vertically */
        align-items: center;
        /* Center the links when stacked */
        font-size: 14px;
        padding-left: 50px;
    }

    /* Adjust body margin for smaller navbar height */
    body {
        margin-top: calc(10px + 1rem);
    }
}


/* Container for Main Content */
.container {
    width: 90%;
    /* Or any preferred width */
    max-width: 100%;
    margin: 0 auto;
    /* Centers the container */
    
    border-radius: 10px;
}

/* Featured Section */
.featured {
    text-align: center;
    padding: 0;
    background: linear-gradient(to bottom right, #800020, #000000);
    /* Grey to dark grey gradient */
    color: white;
    width: 100%;
    /* Ensure it spans the full width of the page */
    margin: 0;
    /* Remove default margin */
    box-sizing: border-box;
    /* Include padding in the width calculation */
}

.featured .container {
    width: 100%;
    /* Ensure container inside spans the entire width */
    padding: 0;
    /* Remove padding inside the container */
}

.featured h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: white;
}

.featured p {
    font-size: 2.75em;
    align-self: stretch;
    margin-bottom: 20px;
}

.btn {
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    background-color: #800020;
    /* Red button */
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.btn:hover {
    background-color: #000000;
    /* Darker red button hover */
}

.faq-button {
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    background-color: #800020;
    /* Red button */
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.faq-button:hover {
    background-color: #000000;
    /* Darker red button hover */
}

.faq-item h3 {
    background-color: #ffffff94; /* Green background color */
    color: rgb(0, 0, 0); /* White text color */
    padding: 10px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    font-weight: bold; /* Bold font */
    text-align: center; /* Center the text */
    margin-bottom: 10px; /* Space below the heading */
}


/* Contact Info Section */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    width: 100%;
    margin: auto;
}

/* Map container to ensure the iframe is centered */
.map-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Styling the iframe for responsive design */
.map-container iframe {
    max-width: 100%;
    width: 600px;
    height: 450px;
    border: 0;
    margin: 0;
}

/* Adjust map container and iframe for mobile screens */
@media (max-width: 768px) {
    .map-container {
        width: 90%; /* Reduce width for smaller screens */
        margin: 0 auto; /* Center the container */
    }

    .map-container iframe {
        width: 250px; /* Make iframe responsive */
        height: 250px; /* Adjust height for mobile screens */
    }
}

/* Contact Text Section */
.contact-text {
    margin-top: 20px;
    position: center;
}

/* Styling for the Contact Button */
.btn-contact {
    padding: 10px 20px;
    background-color: #800020;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-contact:hover {
    background-color: #000000;
}

/* Footer Styles */
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 1em;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Admin Page Section */
.admin-page {
    padding: 40px 20px;
    background-color: #f4f4f9;
}

.vendor-list,
.add-vendor-form {
    margin-bottom: 40px;
    color: #000000;
}

/* Vendor Section Styles */
.vendors {
    padding: 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    /* Ensure heading is centered */
    color: #ffffff;
}


/* Vendor Tiles - Grid setup */
.vendor-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .vendor-tiles {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        width: 95%;
        padding: 10px;
    }

    .vendor-list,
    .add-vendor-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 90px;
    }

    .vendor-list li {
        font-size: 14px;
        padding: 8px;
    }

    .add-vendor-form input,
    .add-vendor-form button {
        font-size: 14px;
    }

    footer {
        font-size: 14px;
    }
}

/* Individual Vendor Tile */
.tile {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    height: 400px;
    transition: transform 0.4s ease-in-out;
    overflow: hidden;
    width: 100%;
}

.tile:hover {
    transform: scale(1.08);
}

/* Clickable Vendor Tile */
a .tile {
    cursor: pointer;
    transition: transform 0.4s ease-in-out;
}

/* Text Overlay */
.text-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-size: clamp(12px, 2vw, 18px);
}

.text-overlay h3 {
    margin: 0;
    font-size: clamp(12px, 2vw, 18px);
    color: #ffffff;
}

.text-overlay p {
    margin: 0;
    font-size: 1rem;
}

/* Add Vendor Form */
.add-vendor-form {
    background-color: #000000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    color: #000000;
}

.add-vendor-form h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.add-vendor-form input,
.add-vendor-form button {
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
}

.add-vendor-form input {
    border: 1px solid #ccc;
}

.add-vendor-form button {
    background-color: #800020;
    color: white;
    cursor: pointer;
}


.timeline-container {
    position: relative;
    padding: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #7a5c33;
    z-index: 0;
    color: #000000;
}

.timeline-item {
    position: relative;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    z-index: 1;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    align-self: flex-start;
    margin-left: 55%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-right: 55%;
}

/* Responsive Timeline Layout */
@media (max-width: 768px) {
    .timeline-item {
        width: 90%; /* Make items take up most of the screen */
        margin: 1rem auto; /* Center items with spacing */
        text-align: center; /* Center text for better readability */
    }

    .timeline-container::before {
        left: 10px; /* Move timeline to the left for better spacing */
        transform: none; /* Remove translateX effect */
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        align-self: center;
        margin: 1rem auto;
    }
}


/* General styling for content blocks */
.content-block {
    background-color: #e2e1e1;
    /* White background */
    border: 3px solid #ffffff;
    /* Lighter border */
    padding: 20px;
    margin: 20px auto;
    /* Centering the content block horizontally */
    border-radius: 12px;
    /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for hover effect */
    width: 75%;
    /* Set content block width to 75% of the page */
    max-width: 1200px;
    /* Prevents content block from getting too wide on larger screens */
    box-sizing: border-box;
    /* Ensures padding is included in width calculation */
}

/* Hover effect for content blocks */
.content-block:hover {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    /* Enhance shadow on hover */
}

/* Title of the content block */
.content-block h3 {
    font-size: 2rem;
    /* Larger font size */
    font-weight: 600;
    /* Make the title bold */
    color: #333;
    /* Dark color for better readability */
    margin-bottom: 15px;
    /* More spacing between the title and content */
    letter-spacing: 0.5px;
    /* Slight letter spacing */
    line-height: 1.4;
    /* Better line height for readability */
}

/* Paragraph content styling */
.content-block p {
    font-size: 1.5rem;
    /* Standard font size */
    color: #555;
    /* Slightly lighter color for text */
    line-height: 1.6;
    /* Improve line spacing */
    margin-bottom: 15px;
    /* More spacing after paragraph */
}

/* Image styling */
.content-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Keep rounded corners */
    margin-top: 15px;
    /* Increase top margin */
    transition: transform 0.3s ease;
    /* Smooth zoom effect on hover */
}

.content-block img:hover {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

/* Button styling */
.content-block button {
    background-color: #800020;
    color: white;
    /* White text */
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Smooth color transition */
    margin-top: 20px;
    /* Added margin for spacing */
    text-align: center;
    width: 100%;
}

.content-block button:hover {
    background-color: #000000;
}


/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .content-block {
        margin: auto;
        /* Less margin on smaller screens */
        padding: 15px;
        /* Less padding on smaller screens */
        width: 90%;
        /* Make the content block wider on mobile */
    }

    .content-block h3 {
        font-size: 1.5rem;
        /* Smaller title size */
    }

    .content-block p {
        font-size: 0.95rem;
        /* Slightly smaller text */
    }

    .content-block button {
        font-size: 0.9rem;
        /* Smaller button text */
    }
}



/* Form Elements */
input[type="text"],
textarea {
    width: 90%;
    padding: 15px;
    margin: 20px auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1.5rem;
    font-family: 'Cinzel', sans-serif;
}

label {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
}

button {
    background-color: #800020;
    color: white;
    border: black;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #000000;
}

/* Make the input field match the appearance of a textarea */
.textarea-style,
.input-field {
    width: 90%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: auto;
    /* Center the text inside the input */
}

.textarea-style {
    height: 30px;
    /* Adjust the height to match the textarea */
    resize: none;
    /* Disable resizing of the input */
    width: 100%;
}

/* Optionally, adjust styles for focus state */
.textarea-style:focus,
.input-field:focus {
    outline: none;
    border-color: #007bff;
    /* Change border color on focus */
}

/* Parallax effect for the entertainment section */
.entertainment-page .entertainment {
    position: relative;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 0;
    color: white;
    min-height: 100vh;
    width: 100%;
    margin-bottom: 0;
    transition: background-image 5s ease-in-out;
    /* Add a transition for smooth background change */
}

/* Style for performance sections inside the entertainment area */
.entertainment-page .performance {
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.5);
    /* Light background for each performance */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    /* Rounded corners for performance boxes */
    color: black;
    /* Set text color for performance details */
}

/* Header for performance sections */
.entertainment-page .performance h3 {
    margin-top: 0;
    max-width: 90%;
    color: black;
    /* Ensure header text is black */
}

/* Paragraphs for performance details */
.entertainment-page .performance p {
    color: black;
    /* Ensure paragraph text is black */
}

/* Add a smooth transition for background changes */
body.entertainment-page {
    background-size: cover;
    background-position: center 20%;
    transition: background-image 0.5s ease-in-out;
}

/* Make sure the page content does not overlap the footer */
footer {
    margin-top: 20px;
}

/* Container style for readability, ensures content is legible over the background */
.entertainment-page .entertainment .container {
    font-size: 22px;
    position: relative;
    z-index: 2;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    /* Semi-transparent white background for text */
    color: black;
    /* Black text for readability */
}

video {
    width: 70%; /* Ensure it adapts to the width of its container */
    border-radius: 15px; /*rounds the corners*/
    display: block; /* Ensures it's centered properly in its container */
    margin: 20px auto; /* Center it horizontally with some space around */
}


.beyonk-shop-section {
    display: flex;
    justify-content: center;
    /* Center the shop horizontally */
    align-items: center;
    /* Align content vertically if needed */
    padding: 20px;
    /* Optional: Add spacing around the section */
    background-color: #f9f9f900;
    /* Optional: Set a background for distinction */
}

.beyonk-shop-section beyonk-shop {
    max-width: 80%;
    /* Stretch horizontally within the section */
    width: 80%;
    /* Adjust the percentage as needed */
    height: auto;
}

/* Scroll container */
.scroll-container {
    position: relative;
    width: 80%;
    max-width: 1500px;
    padding: 50px 30px;
    text-align: center;
    margin: 20px auto;
    font-family: 'Cinzel', serif;
    line-height: 1.6;
    color: #ffffff;
}

/* Inner content styling */
.scroll-content {
    padding: 20px;
    backdrop-filter: blur(5px);
    /* Light parchment overlay */
    border-radius: 10px;
}

/* Bullet points */
.scroll-content ul {
    text-align: left;
    margin-left: 20px;
}

.scroll-content li {
    margin-bottom: 10px;
}

.festival-links {
    text-align: center;
    margin-top: 40px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.festival-button {
    background-color: #0D0C0C;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.festival-button:hover {
    background-color: #5a4e4e;
}

.about {
    position: relative;
    background: rgba(255, 255, 255, 0.336);
    backdrop-filter: blur(3px);
    padding: 20px;
    border-radius: 10px;
    color: rgb(255, 255, 255);
}

.btn-tickets {
    text-decoration: none;
    padding: 25px 50px; /* Increase padding for larger button */
    margin: 50px;
    background-color: #800020; /* Red button */
    color: white;
    font-weight: bold;
    font-size: 1.5rem; /* Increase font size */
    border-radius: 8px; /* Slightly rounder edges */
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

/* Optional hover effect for a more interactive feel */
.btn-tickets:hover {
    background-color: #000000; /* Darker red on hover */
    transform: scale(1.5); /* Slightly enlarges the button */
}

.admin-icon img {
    width: 30px;
    height: 30px;
    opacity: 0.6; /* Make it less noticeable */
}

.admin-icon img:hover {
    opacity: 1;
}


/* Modal (Popup) styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* 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.4); /* Black with opacity */
    padding-top: 60px;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Form styling */
.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between form elements */
}

.modal input,
.modal textarea,
.modal select {
    margin-bottom: 10px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%; /* Makes the form fields take up full width */
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.modal input[type="text"],
.modal input[type="email"],
.modal select {
    background-color: #f9f9f9;
}

.modal textarea {
    resize: vertical;
    min-height: 100px;
    background-color: #f9f9f9;
}

/* Submit Button Styling */
.modal button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal button:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Responsive styling */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 23% auto;
    }
}

#openFormBtn {
    margin-top: 30px; /* Adjust the value as needed */
}

#faireFilter {
    padding: 10px 15px; /* Adds padding inside the select box */
    font-size: 16px; /* Adjust font size */
    font-family: 'Arial', sans-serif; /* Use a clean font */
    background-color: #f0f0f0; /* Light background color */
    border: 2px solid #ccc; /* Border color */
    border-radius: 5px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transition on hover/focus */
}

#faireFilter:focus {
    outline: none; /* Remove default focus outline */
    border-color: #5c6bc0; /* Highlight border color on focus */
    background-color: #e8eaf6; /* Light purple background on focus */
}

#faireFilter option {
    padding: 10px; /* Adds padding inside the options */
    background-color: #fff; /* White background for options */
    color: #333; /* Dark text color */
}

#faireFilter option:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
}

#fairesCheckboxes {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap into multiple lines if needed */
    gap: 15px; /* Adds spacing between the checkboxes */
}

#fairesCheckboxes label {
    display: flex;
    align-items: center; /* Align checkbox and text on the same level */
    font-size: 16px; /* Adjust font size for consistency */
}

#fairesCheckboxes input[type="checkbox"] {
    margin-right: 8px; /* Adds some space between the checkbox and the label */
}


.ticket-prices-container {
  max-width: 320px;       /* smaller width */
  margin: 20px auto;      /* center horizontally with vertical spacing */
  padding: 12px 16px;     /* less padding */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;      /* slightly smaller text */
}

.ticket-prices {
  width: 80%;
  border-collapse: collapse;
  margin-top: 8px;
  text-align: center;
}

.ticket-prices th,
.ticket-prices td {
  padding: 6px 8px;
  border-bottom: 1px solid #ccc;
}

.ticket-prices {
  width: 80%;
  margin: 8px auto 0 auto; /* top 8px, left & right auto for centering */
  border-collapse: collapse;
  text-align: center;
}


.spacer-row td {
  border: none;
  padding: 10px 0;
}
