/* --- Add your custom font file --- */
@font-face {
    font-family: 'LogoFont'; /* Give your font a name */
    src: url('../fonts/Splash-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- Global Reset & Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.page {
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f0f0f0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Main Header & Navigation (UPDATED) --- */
.main-header {
    position: relative; 
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    background-color: #000; 
    border-bottom: 2px solid #BF0000;
    
    /* Added for mobile layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Make nav fill the container */
}

/* This container is used for desktop */
.nav-container {
    width: 100%;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 25px; 
    flex: 1; 
}

.nav-right {
    justify-content: flex-end; 
}

.nav-center {
    text-align: center;
}

.nav-center img {
    max-height: 60px; /* Made logo larger */
}

.nav-left a,
.nav-right a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Hero Section (UPDATED) --- */
.hero-section {
    min-height: auto; 
    width: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    padding: 60px 40px; 
}

.content-box {
    max-width: 600px; 
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 30px;
    border-radius: 5px;
}

.tagline {
    color: #BF0000; 
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tagline .logo-font {
    font-family: 'LogoFont', sans-serif; 
    color: #BF0000; 
    font-weight: normal; 
    margin-right: 10px; 
}

.content-box p {
    margin-bottom: 15px;
    color: #f0f0f0; 
}

/* --- Footer (UPDATED) --- */
.main-footer {
    background-color: #000; 
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.main-footer .footer-logo-wrap {
    margin-bottom: 20px;
}

.main-footer p {
    color: #888;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.main-footer .copyright {
    font-size: 0.8rem;
    color: #666;
    margin-top: 20px;
}


/* ==============================================
--- NEW: Responsive & Hamburger Menu Styles --- 
==============================================
*/

/* --- Mobile Hamburger & Button --- */

/* Style the hamburger button */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 101; /* Above the nav */

    /* Reset button styles */
    background: transparent;
    border: none;
    padding: 0;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-menu .bar:nth-child(1) {
    top: 0;
}
.hamburger-menu .bar:nth-child(2) {
    top: 9px;
}
.hamburger-menu .bar:nth-child(3) {
    top: 18px;
}

/* Hamburger "X" animation when active */
.hamburger-menu.is-active .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.hamburger-menu.is-active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.is-active .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* This logo is only visible on mobile, in the header bar */
.mobile-logo-link {
    display: none; /* Hidden on desktop */
    z-index: 100;
}
.mobile-logo {
    max-height: 40px;
}


/* --- Mobile Media Query --- */
/* This breakpoint (992px) is when the navigation will change to the hamburger */
@media (max-width: 992px) {
    
    /* Adjust header padding for mobile */
    .main-header {
        padding: 15px 20px;
    }

    /* Show the hamburger button */
    .hamburger-menu {
        display: block;
    }
    
    /* Show the mobile logo in the header bar */
    .mobile-logo-link {
        display: block;
    }

    /* Style the mobile menu container */
    .nav-container {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 64px; /* 64px is the height of your mobile header. Adjust if needed */
        left: 0;
        width: 100%;
        background-color: #000;
        border-bottom: 2px solid #BF0000;
    }

    /* When the nav-container has the 'is-active' class (from JS), show it */
    .nav-container.is-active {
        display: block;
    }

    /* --- Re-style the nav for vertical mobile menu --- */
    .main-nav {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    /* Hide the centered desktop logo, we use the mobile-logo */
    .main-nav .nav-center {
        display: none;
    }

    .nav-left,
    .nav-right {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        flex: 1 1 100%; /* Allow them to fill width */
    }

    .nav-left {
        margin-bottom: 20px; /* Space between left and right links */
    }
}

/* Smaller mobile screen adjustments for content */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px; /* Less padding on content */
    }
    .content-box {
        padding: 20px;
    }
    .tagline {
        font-size: 2rem; /* Smaller tagline */
    }
}

/* ==============================================
--- NEW: About Page Styles --- 
==============================================
*/

.content-section {
    padding: 60px 40px;
    background-size: cover;
    background-position: center center;
}

.two-column-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Aligns items to the top */
}

.column-left {
    flex: 1 1 50%; /* Default to 50% width */
}

.column-right {
    flex: 1 1 50%; /* Default to 50% width */
    color: #f0f0f0;
}


.about-section .content-box {
    max-width: 800px; /* Wider than the homepage's 600px */
    margin-left: auto; /* Aligns the box to the right, similar to old layout */
    margin-right: 0;
}

/* Style for the bullet list with stars */
.icon-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
    color: #f0f0f0; /* Set text color for readability */
}

.icon-list li {
    padding-left: 30px; /* Space for the icon */
    position: relative;
    margin-bottom: 12px;
    line-height: 1.5;
}


.icon-list li::before {
    content: '★'; /* Unicode star character */
    color: #BF0000; /* Red color */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

/* Responsive styles for the about page */
@media (max-width: 992px) {
    /* On tablet, center the box */
    .about-section .content-box {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 20px;
    }
    /* On mobile, box is full width */
    .about-section .content-box {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ==============================================
--- NEW: Membership Page Styles --- 
==============================================
*/

.membership-section .column-left {
    flex-basis: 65%; /* Left column is wider */
}
.membership-section .column-right {
    flex-basis: 35%; /* Right column is narrower */
}

.membership-section .tagline {
    text-align: center;
}
.subtitle {
    font-size: 0.9rem;
    color: #aaa;
}
.text-center {
    text-align: center;
}

/* Margin helpers */
.mt-50 { margin-top: 50px; }
.mt-20 { margin-top: 20px; }

/* Pricing Table Styles */
.pricing-table {
    width: 60%; /* Matches width in screenshot */
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.pricing-table.full-width {
    width: 100%;
}

.pricing-table th,
.pricing-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #333; /* Dark border */
    text-align: left;
}
.pricing-table th {
    color: #fff;
    font-weight: 700;
}
.pricing-table td {
    color: #ccc;
}
.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2),
.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
    text-align: center;
    width: 25%;
}

/* Footer row in table */
.pricing-table tfoot td {
    border-bottom: none;
    font-size: 0.8rem;
    color: #aaa;
    padding-top: 15px;
}

/* Red Button Style */
.btn-red {
    display: inline-block;
    background-color: #BF0000;
    color: #fff;
    padding: 12px 30px;
    margin: 20px 0;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
    transition: background-color 0.3s ease;
}
.btn-red:hover {
    background-color: #E60000;
    color: #fff;
}

/* New Members Step List */
.steps-list {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
    counter-reset: steps-counter; /* Initialize a counter */
}

.steps-list li {
    position: relative;
    padding-left: 60px; /* Space for the large number */
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    min-height: 40px; /* Ensure space for number */
    display: flex;
    align-items: center;
}

.steps-list li::before {
    counter-increment: steps-counter; /* Increment the counter */
    content: counter(steps-counter); /* Display the counter */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #BF0000;
    font-size: 3.5rem; /* Large number */
    font-weight: 700;
    line-height: 1;
}

/* Responsive styles for membership page */
@media (max-width: 992px) {

    .two-column-grid {
        flex-direction: column;
    }
    .column-left,
    .column-right {
        flex-basis: 100% !important; /* Full width on mobile, overrides specific page styles */
    }

    .membership-section .column-left,
    .membership-section .column-right {
        /* Stack on tablet */
        flex-basis: 100%;
    }
    .membership-section .column-right {
        margin-top: 40px;
    }
    .pricing-table {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .pricing-table {
        width: 100%;
    }
}

/* ==============================================
--- NEW: Dress Code Page Styles --- 
==============================================
*/

.dresscode-section {
    /* Ensures the background image has space to show */
    min-height: 80vh; 
}

/* Aligns the tagline to the left for this page */
.dresscode-section .tagline {
    text-align: left;
}

/* This new class holds the text on the left */
.content-column-left {
    max-width: 50%; /* Takes up the left half of the page */
    color: #f0f0f0;
}

/* A new red subtitle class */
.subtitle-red {
    color: #BF0000;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Style for the text headings */
.content-column-left p {
    margin-bottom: 15px;
}
.content-column-left p u strong {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: underline;
}

/* New list style for the pointing fingers */
.hand-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
    color: #f0f0f0;
}

.hand-list li {
    padding-left: 30px; /* Space for the icon */
    position: relative;
    margin-bottom: 12px;
    line-height: 1.5;
}

.hand-list li::before {
    content: '👉'; /* Pointing hand emoji */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

/* Style for the asterisk notes */
.asterisk-note {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 15px;
}

/* Responsive styles for dress code page */
@media (max-width: 992px) {
    .content-column-left {
        max-width: 80%; /* A bit wider on tablets */
    }
}

@media (max-width: 768px) {
    .content-column-left {
        max-width: 100%; /* Full width on mobile */
    }
}

/* ==============================================
--- NEW: Gallery Page Styles --- 
==============================================
*/

.gallery-section .tagline {
    margin-bottom: 40px; /* Space below "Gallery" title */
}

.gallery-grid {
    display: grid;
    /* 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
}

.grid-item {
    /* This ensures portrait images don't stretch the grid row */
    overflow: hidden;
    height: 250px; /* Fixed height for grid items */
    background-color: #111; /* Fallback for thin images */
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Covers the area, cropping as needed */
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* ==============================================
--- NEW: Lightbox Modal Styles --- 
==============================================
*/

.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top of everything */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.95); /* Black w/ opacity */
}

/* The fullscreen image */
.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh; /* Max height to leave room for controls */
}

/* "X" Close Button */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: #BF0000;
    text-decoration: none;
}

/* Prev/Next Arrows */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px; /* Center vertically */
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none; /* Prevent text selection */
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.lightbox-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(191, 0, 0, 0.5); /* Red hover */
}

/* Image Counter */
.lightbox-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #ccc;
    font-size: 1rem;
}

/* ==============================================
--- Gallery Responsive Styles --- 
==============================================
*/

@media (max-width: 992px) {
    /* 2 columns on tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 1 column on mobile */
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .grid-item {
        height: 280px; /* A bit taller on mobile */
    }
    .lightbox-content {
        max-width: 95%;
    }
}
/* ==============================================
--- NEW: Contact Page Styles --- 
==============================================
*/

.contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-form-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: #222; /* Dark grey from screenshot */
    border-radius: 8px;
    overflow: hidden; /* To contain the border-radius */
}

.contact-header {
    padding: 30px 30px 20px 30px;
    text-align: center;
    color: #f0f0f0;
}
.contact-logo {
    max-height: 70px; /* A bit larger */
    margin-bottom: 20px;
}
.contact-header p {
    margin: 5px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

hr.contact-divider {
    border: 0;
    height: 1px;
    background-color: #444; /* Dark line separator */
    margin: 0;
}

.contact-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f0f0f0;
    font-weight: 500;
    font-size: 1rem;
}

/* Style for the input fields */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff; /* White background */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333; /* Dark text for typing */
}
.contact-form textarea {
    resize: vertical; /* Allow user to resize height */
}

/* Style for the submit button */
.btn-red.contact-submit {
    width: 100%;
    /* Yellow/gold border from screenshot */
    border: 3px solid #f0ca4f; 
}

/* Style for the status message */
.status-msg {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    background-color: #BF0000; /* Default to red/error */
    color: #fff;
}

/* ==============================================
--- NEW: Events Page Styles --- 
==============================================
*/

.events-section .tagline {
    margin-bottom: 40px;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-item {
    display: flex;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    color: #f0f0f0;
    border: 1px solid #333;
}

/* Column 1: Event Details */
.event-col-left {
    flex-basis: 220px;
    padding: 20px;
    background-color: #111;
    display: flex;
    flex-direction: column;
}
.event-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.event-time {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}
hr.event-divider {
    border: 0;
    height: 1px;
    background-color: #444;
    margin: 15px 0;
}
.event-costs {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}
.event-costs p {
    margin-bottom: 5px;
}
.event-actions {
    margin-top: auto; /* Pushes buttons to the bottom */
    padding-top: 20px;
}
/* Re-using .btn-red, adding a secondary style */
.btn-secondary {
    display: inline-block;
    background-color: #444;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.btn-secondary:disabled {
    background-color: #333;
    color: #777;
    cursor: not-allowed;
}
.event-actions .btn-red {
    width: 100%;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}


/* Column 2: Image */
.event-col-mid {
    flex-basis: 300px;
    min-width: 300px;
    background-color: #000;
}
.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Column 3: Description */
.event-col-right {
    flex: 1; /* Takes up remaining space */
    padding: 20px 30px;
}
.event-title {
    font-family: 'LogoFont', sans-serif;
    color: #BF0000;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 15px;
}
.event-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ccc;
}

/* Status message for errors */
.status-msg {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    background-color: #BF0000;
    color: #fff;
}


/* Responsive styles for events page */
@media (max-width: 992px) {
    .event-item {
        flex-direction: column;
    }
    .event-col-mid {
        /* On tablet, make image full width and limit height */
        width: 100%;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    /* On mobile, stack all columns */
    .event-col-left {
        flex-basis: auto;
    }
    .event-col-mid {
        max-height: 250px;
    }
    .event-col-right {
        padding: 20px;
    }
}

/* ==============================================
--- NEW: Header Action Button Styles --- 
==============================================
*/

.header-action-button {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 15px; /* Space between links and buttons */
}

/* Base button style */
.button {
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button.login,
.button.social {
    background-color: #BF0000; /* Red */
}
.button.login:hover,
.button.social:hover {
    background-color: #E60000;
    color: #fff;
}

.button.logout {
    background-color: #555; /* Grey */
}
.button.logout:hover {
    background-color: #777;
    color: #fff;
}

/* ==============================================
--- NEW: Login Modal Styles --- 
==============================================
*/

.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Higher than lightbox */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Class added by JS to show the modal */
.modal-overlay.show {
    display: flex; /* Use flex for centering */
    opacity: 1;
    align-items: flex-start; /* Align modal to the TOP */
    justify-content: center; /* Horizontal centering */
    overflow: hidden; /* This LOCKS the overlay scroll */
}

.modal-content {
    background-color: #222;
    color: #f0f0f0;
    margin: 50px auto; /* This sets a 50px top margin */
    padding: 30px;
    border: 1px solid #444;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 100px); /* Add: 100vh minus top/bottom margins */
    display: flex; /* Add this */
    flex-direction: column; /* Add this */
    
    /* Fade-in animation */
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}
.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.modal-close-button:hover,
.modal-close-button:focus {
    color: #BF0000;
    text-decoration: none;
}

.modal-content h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-family: 'LogoFont', sans-serif;
    color: #BF0000;
    font-size: 2.5rem;
    font-weight: normal;
}

.modal-form-group {
    margin-bottom: 20px;
}
.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.modal-form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
}

/* Submit Button */
.modal-submit-button {
    /* Re-using btn-red styles */
    display: block;
    width: 100%;
    background-color: #BF0000;
    color: #fff;
    padding: 12px 30px;
    margin: 20px 0 15px 0;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.modal-submit-button:hover {
    background-color: #E60000;
}

/* Links inside modal */
.forgot-password-link {
    display: block;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
}
.forgot-password-link:hover {
    color: #BF0000;
    text-decoration: underline;
}

/* AJAX Message */
.modal-message {
    display: none;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}
.modal-message.error {
    background-color: #BF0000;
    color: #fff;
}
.modal-message.success {
    background-color: #008a2e; /* Green */
    color: #fff;
}

/* ==============================================
--- NEW: Form Page Styles --- 
(for forgot_password, request_login, etc.)
==============================================
*/

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px 40px;
    border-radius: 8px;
}

.form-container .page-title {
    font-family: 'LogoFont', sans-serif;
    color: #BF0000;
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 10px;
}

.form-container .page-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.form-container .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #f0f0f0;
}

.form-container .form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
}

.form-container .form-group {
    margin-bottom: 20px;
}
.form-container .form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #aaa;
}

.form-container .submit-section {
    margin-top: 30px;
    text-align: center;
}

/* Re-use the .btn-red from membership */
.form-container .btn {
    display: inline-block;
    background-color: #BF0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.form-container .btn:hover {
    background-color: #E60000;
    color: #fff;
}

/* Message for success/error */
.form-container .message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    color: #fff;
}
.form-container .message.error {
    background-color: #BF0000;
}
.form-container .message.success {
    background-color: #008a2e; /* Green */
}

/* ==============================================
--- NEW: Application & Form Page Styles --- 
==============================================
*/

/* Container for application and other forms */
.application-container,
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px 40px;
    border-radius: 8px;
    color: #f0f0f0;
}
.form-container {
    max-width: 600px; /* Smaller container for simple forms */
}

/* --- Form Headers --- */
.section-header .tagline {
    margin-bottom: 30px;
}
.form-container .page-title {
    font-family: 'LogoFont', sans-serif;
    color: #BF0000;
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 10px;
}
.form-container .page-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* --- Form Structure --- */
.form-fieldset {
    border: 1px solid #444;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
}
.form-legend {
    font-family: 'LogoFont', sans-serif;
    color: #BF0000;
    font-size: 1.8rem;
    font-weight: normal;
    padding: 0 10px;
    margin-left: 10px;
    width: auto; /* Fix for fieldset legend */
}
.form-sublegend {
    margin: 2rem 0 1rem 0; 
    color: #ccc;
    font-family: 'LogoFont', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    flex: 1;
    min-width: 150px;
}
.form-group.full-width { flex-basis: 100%; }
.form-group.half-width { flex-basis: calc(50% - 10px); }
.form-group.third-width { flex-basis: calc(33.33% - 14px); }
.form-group.quarter-width { flex-basis: calc(25% - 15px); }

/* --- Form Elements --- */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #f0f0f0;
}
.form-input,
.form-select,
.form-input-file {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
}
.form-input-file {
    background-color: #f0f0f0;
    padding: 8px;
}
.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #aaa;
}
.warning-text,
.form-group small[style*="color: #FF4A4A"] {
    color: #FF4A4A !important;
    font-weight: 700;
}

/* Radio & Checkbox */
.radio-group, .checkbox-group {
    display: flex;
    gap: 20px;
    padding-top: 10px;
}
.checkbox-group {
    padding-top: 20px;
}
.radio-item, .checkbox-group {
    display: flex;
    align-items: center;
}
.radio-item input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}
.checkbox-group a {
    color: #BF0000;
    text-decoration: underline;
}

/* Buttons */
.submit-section {
    margin-top: 30px;
    text-align: center;
}
.btn-secondary { /* For "Read Terms" */
    display: inline-block;
    background-color: #444;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.btn-secondary:hover {
    background-color: #666;
    color: #fff;
}

/* Status Messages */
.status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    color: #fff;
    display: none; /* Hidden by default */
}
.status-message.error { background-color: #BF0000; display: block; }
.status-message.success { background-color: #008a2e; display: block; }
.status-message.submitting { background-color: #337ab7; display: block; }

/* Utility */
.hidden {
    display: none;
}
/* ==============================================
--- NEW: Form Message Text Styles --- 
==============================================
*/

/* Make text inside message boxes white */
.form-container .message h2,
.form-container .message p {
    color: #fff;
}

/* ==============================================
--- NEW: Form Message Text Styles --- 
==============================================
*/

/* Make ALL text inside message boxes white */
.form-container .message {
    color: #fff;
}

/* This keeps the success message text white too */
.form-container .message h2,
.form-container .message p {
    color: #fff;
}

/* ==============================================
--- NEW: Help Page Styles --- 
==============================================
*/

.help-links {
    display: flex;
    flex-direction: column; /* Stacks the buttons vertically */
    gap: 20px; /* Adds space between the buttons */
    margin-top: 30px;
}

/* Make the buttons full-width */
.help-links .btn-red {
    display: block; /* Make the link fill the space */
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1rem;
}


/* --- Site Alert Specific Overrides --- */
/* Makes the alert box wider than the login box */
.modal-content.site-alert-width {
    max-width: 800px; 
    width: 95%;
}

/* Ensures images inside the alert don't overflow */
.alert-body-content img {
    display: block; /* Fixes potential spacing issues */
    max-width: 100%; /* Wont be wider than the modal */
    height: auto; /* Keeps its aspect ratio */
    max-height: 60vh; /* Wont be taller than 60% of the screen */
    object-fit: contain; /* Ensures the whole image scales to fit */
    margin: 10px auto; /* Adds a little space and centers it */
}

/* Styles the content inside to match your theme */
.alert-body-content {
    color: #f0f0f0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 10px;
    overflow-y: auto; /* This makes the content scrollable */
    padding-right: 15px; /* This adds space for the scrollbar */
}

/* Optional: Hide the alert title if your HTML content already has headers */
.alert-body-content h1, 
.alert-body-content h2 {
    color: #BF0000; /* Matches your theme red */
}

/* Adjust stacked couple name font */
.member-name.is-couple {
    font-size: 2.2rem; /* Reduce font size to fit stacked lines */
    line-height: 1.2; /* Tighten up the line spacing */
}

@media (min-width: 768px) {
    .member-name.is-couple {
        font-size: 2.5rem; /* A bit bigger on desktop, but not the original 3rem */
    }
}
/* ==============================================
--- NEW: Reservation Page Styles --- 
==============================================
*/

.reservation-container {
    display: flex;
    flex-wrap: wrap; /* Allow stacking on mobile */
    gap: 30px;
    margin-top: 30px;
}

.selection-panel {
    flex: 1; /* Take up 50% (or remaining) */
    min-width: 300px; /* Prevent it from getting too small */
}

.cart-panel {
    flex: 1; /* Take up 50% (or remaining) */
    min-width: 300px;
    background-color: #111; /* Slightly darker to stand out */
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #333;
}

.cart-panel h3 {
    font-family: 'LogoFont', sans-serif;
    color: #BF0000;
    font-size: 1.8rem;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.cart-items-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-items-table th {
    text-align: left;
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
}

.cart-items-table tbody td {
    padding: 12px 5px;
    border-bottom: 1px solid #333;
    vertical-align: middle;
}

.cart-items-table tfoot td {
    padding: 12px 5px;
}

/* Style for the "Total" row */
.cart-total-row td {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    border-top: 2px solid #444;
    padding-top: 15px;
}

/* Style for the 'x' remove button */
.cart-item-remove-btn {
    background-color: #BF0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    text-align: center;
    padding: 0;
}
.cart-item-remove-btn:hover {
    background-color: #E60000;
}

/* Styles for the tip input */
.tip-input {
    max-width: 100px;
    padding: 8px 10px !important; /* Overrides default form-input padding */
    text-align: right;
}

/* Responsive stacking for the columns */
@media (max-width: 768px) {
    .reservation-container {
        flex-direction: column;
    }
}
/* ==============================================
--- Verify Email Page Message Styles --- 
==============================================
*/

.verify-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ccc;
}

.verify-message h2,
.verify-message p {
    color: #000000;
}