/* --- General Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000; /* Pure Black Background */
    color: #e0e0e0; /* Light Gray Text */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Links & Buttons Global --- */
a {
    color: #8A2BE2; /* Purple Accent */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #AF8EEA; /* Lighter Purple */
}

.btn, button {
    cursor: pointer;
}

/* --- Header Styles --- */
.main-header {
    background: linear-gradient(to bottom, #000000, #2e004f); /* Black to Dark Purple */
    padding: 15px 20px;
    border-bottom: 1px solid #444;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    
    /* ESSENTIAL: Sets the boundary for absolute positioning */
    position: relative; 
}

.header-logo img {
    height: 50px; /* Adjust logo size */
    width: auto;
}

/* --- NAVIGATION (DESKTOP) --- */
#main-nav {
    /* No flex properties needed on the container itself for this method */
}

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;

    /* --- The Centering Magic (Desktop) --- */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#main-nav ul li a {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

#main-nav ul li a:hover {
    color: #8A2BE2;
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

/* Header Buttons */
.button {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.button.login {
    background-color: #8A2BE2;
    color: white;
}

.button.login:hover {
    background-color: #6a1bb3;
}

.button.logout {
    background-color: #d9534f;
    color: white;
}

/* --- Index Splash Page Specifics --- */
/* This makes the background image fill the area between header and footer */
.index-splash-container {
    flex-grow: 1;
    width: 100%;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Background Configuration */
    background-image: url('columbus_skyline.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

/* Adds a dark overlay so the logo pops against the skyline */
.index-splash-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 50% Black Overlay */
    z-index: 1;
}

.logo-wrapper {
    position: relative;
    z-index: 2; /* Sits above the overlay */
    padding: 20px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.splash-logo {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6)); /* Purple Glow */
    transition: transform 0.3s ease;
}

.splash-logo:hover {
    transform: scale(1.02);
}

/* --- About Page Specifics --- */
.about-hero-section {
    flex-grow: 1;
    width: 100%;
    min-height: 80vh; /* Ensure substantial height */
    
    /* Image Settings */
    background-image: url('kink_couch.jpg');
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    
    position: relative;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Center the 1200px wrapper horizontally */
}

/* This wrapper mimics the header container width.
   justify-content: flex-start puts the card in the first section (left side).
*/
.about-layout-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    display: flex;
    justify-content: flex-start; 
}

.about-card {
    width: 100%;
    max-width: 450px; /* Roughly 1/3 of a standard desktop layout */
    
    background-color: rgba(0, 0, 0, 0.5); /* 50% Transparent Black */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle edge */
    
    /* Optional: Blur behind the card for better readability */
    backdrop-filter: blur(5px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-title {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: bold;
}

.about-title .highlight {
    color: #8A2BE2; /* Purple accent */
    display: block; /* Moves "425 VIP CLUB" to its own line */
}

.about-body p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-body .fun-question {
    color: #AF8EEA;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 25px;
}

.about-body .disclaimer {
    font-size: 0.85rem;
    color: #bbb;
    font-style: italic;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

/* --- Groups Page Specifics --- */
.groups-hero-section {
    flex-grow: 1;
    width: 100%;
    min-height: 80vh;
    
    /* Image Settings */
    background-image: url('dj_mixer.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Centered Card */
}

/* Add a slight overlay to pop the translucent card */
.groups-hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.groups-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px; /* Width of the card */
    
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker for image contrast */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    margin: 20px;
}

.groups-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
}

.groups-title .highlight {
    color: #8A2BE2;
}

.groups-stack {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Even spacing between images */
    align-items: center;
}

.group-link {
    display: block;
    transition: transform 0.3s ease;
}

.group-link:hover {
    transform: scale(1.05);
}

.group-image {
    width: 200px; /* Square dimensions */
    height: 200px;
    object-fit: cover; /* Ensures image fills square cleanly */
    border: 2px solid #8A2BE2;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #111; /* Fallback if image fails */
}

/* --- Footer Styles --- */
footer {
    background: #000000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-contact p {
    margin: 5px 0;
    color: #bbb;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

/* --- Modal Styles (Login) --- */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark backdrop */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 30px;
    border: 1px solid #444;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
}

.modal-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close-button:hover {
    color: white;
}

.modal-content h2 {
    color: #8A2BE2;
    margin-bottom: 20px;
    text-align: center;
}

.modal-form-group {
    margin-bottom: 15px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

.modal-form-group input {
    width: 100%;
    padding: 10px;
    background: #333;
    border: 1px solid #555;
    color: white;
    border-radius: 4px;
}

.modal-form-group input:focus {
    outline: none;
    border-color: #8A2BE2;
}

.modal-submit-button {
    width: 100%;
    padding: 12px;
    background: #8A2BE2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 10px;
}

.modal-submit-button:hover {
    background: #721cbe;
}

.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #999;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .header-container {
        position: relative; 
        flex-direction: row;
        padding-bottom: 0;
    }

    .menu-toggle {
        display: block; /* Show hamburger on mobile */
        order: 3;       /* Hamburger on the far right */
        margin-left: 10px;
    }

    #main-nav {
        display: none; /* Hidden by default */
        
        /* Fix the hamburger menu so it floats below header */
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        
        /* Solid dark background for readability */
        background-color: rgba(0, 0, 0, 0.95); 
        padding: 20px;
        border-bottom: 2px solid #8A2BE2;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 9999;
    }
    
    #main-nav.active {
        display: block; /* Show when active */
    }

    #main-nav ul {
        /* --- CRITICAL FIX: DISABLE DESKTOP CENTERING --- */
        /* This resets the absolute positioning so links stack normally on mobile */
        position: static; 
        transform: none;
        
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 10px 0;
    }

    .header-action-button {
        order: 2; /* Login button sits to the left of hamburger */
        margin-left: auto;
    }

    /* About Page Mobile Specifics */
    .about-layout-wrapper {
        justify-content: center; /* Center card on mobile */
    }

    .about-card {
        max-width: 100%; /* Allow card to fill screen on mobile */
        background-color: rgba(0, 0, 0, 0.7); /* Darker background for readability */
    }

    /* Groups Page Mobile Specifics */
    .group-image {
        width: 150px; /* Smaller images on mobile */
        height: 150px;
    }
}

/* --- Contact Page Specifics --- */
.contact-section {
    background-color: #1a1a1a; /* Dark card background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 800px;
    margin: 40px auto; /* Center on page */
    border: 1px solid #333;
}

.contact-section h1 {
    color: #8A2BE2;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
}

.contact-info {
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: #fff;
}

.contact-form-container h2 {
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #000; /* Black input background */
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #8A2BE2;
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.3);
}

.contact-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-submit-button {
    width: 100%;
    padding: 15px;
    background-color: #8A2BE2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.contact-submit-button:hover {
    background-color: #721cbe;
}

/* Form Status Messages */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: none; /* Hidden by default */
}

.form-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* --- Expect Page Specifics --- */
.expect-hero-section {
    flex-grow: 1;
    width: 100%;
    min-height: 80vh;
    
    /* Image Settings */
    background-image: url('bg_club.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add overlay to bg_club.jpg */
.expect-hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay to make text pop */
    z-index: 0;
}

.expect-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px; /* Wider than groups card for text columns */
    
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    text-align: left; /* Text align left per your screenshot */
    margin: 20px;
}

.expect-title {
    font-size: 3rem;
    margin-bottom: 5px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.expect-title .highlight {
    color: #fff; /* Keeping white per screenshot, or change to #8A2BE2 for purple */
}

.expect-subtitle {
    color: #ccc;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
    gap: 40px;
}

.expect-column h3 {
    color: #fff; /* White headers per screenshot */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.expect-column p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* ... existing mobile styles ... */

    /* Expect Page Mobile Specifics */
    .expect-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 30px;
    }
    
    .expect-title {
        font-size: 2rem;
    }
}