/* --- RESET & BASICS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    /* Angular, tech-looking body text */
    font-family: 'Chakra Petch', sans-serif; 
    background-image: url("images/bg4b.jpg");
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 18px; /* Bumped up base size */
}


/* --- BASE/DESKTOP LOGO SIZE (Default State: >= 769px) --- */
.navbar .logo img {
    /* Set the default/desktop size (200px) */
    width: 200px; 
    height: auto;
    display: block;
    transition: width 0.3s ease; /* Smooth transition when resizing */
}

/* --- MOBILE LOGO SIZE (Screen width <= 768px) --- */
@media (max-width: 768px) {
    .navbar .logo img {
        /* Adjust for mobile size (150px) */
        width: 150px; 
    }
}


/* --- HEADERS (The Big Blocky Font) --- */
h1, h2, h3 {
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px; /* Wide spacing for impact */
    font-weight: 400; /* Russo is already bold by default */
}

/* Make the main titles HUGE */
.hero-content h1, .full-width-display h1 {
    font-size: 4rem; /* Very large */
    line-height: 1;
    text-shadow: 0 4px 0px #000; /* Hard shadow for 3D effect */
    margin-bottom: 20px;
}

/* --- NAVBAR & BUTTONS (The Bold UI Font) --- */
.navbar, .primary-btn, .user-profile, .video-overlay {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700; /* Bold */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Bump up Navbar text size */
.nav-menu a {
    font-size: 1.1rem; 
}

/* --- MOBILE ADJUSTMENT --- */
@media (max-width: 768px) {
    .hero-content h1, .full-width-display h1 {
        font-size: 2.5rem; /* Shrink slightly on phone so it fits */
    }

	/* Ensure the talent images scale down completely */
		.talent-person img {
			/* Overrides the inline style (max-width: 400px) */
			max-width: 100% !important; 
			
			/* Ensures the image itself is constrained by the phone screen */
			width: 100%; 
			
			/* Centers the image within the container */
			margin: 15px auto; 
		}
		
		/* Center the talent section content */
		.talent-person {
			text-align: center;
			padding: 0 15px; /* Add some padding to keep content off the edges */
		}

		/* ... rest of mobile styles ... */
	}

}

* --- CONSTRAIN TEXT AND IMAGES --- */

/* Targets the container holding the talent bios */
.talent {
    width: 100%;
    max-width: 900px; /* Reduced the overall width of the talent section */
    margin: 40px auto; /* Center the entire section */
    padding: 0 20px;
}

/* Constrains the paragraphs for better line length */
.talent-person p {
    /* Maximum width for readable text lines */
    max-width: 75ch; /* 'ch' unit is based on character width */
    margin: 15px auto; /* Centers the text block under the headings */
    text-align: left; /* Keep text left-aligned */
}

/* Ensure the titles align with the constrained paragraphs */
.talent-person h3, 
.talent-person .talent-title {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure all main elements are centered relative to the new 900px container */
.talent-person {
    text-align: center;
    padding: 0;
}

/* Ensure the image scaling remains correct */
.talent-person img {
    max-width: 400px; 
    width: 100%; 
    margin: 20px auto; 
    display: block; 
}


.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* Changed from solid #1a1a1a to 80% opacity */
    background-color: rgba(26, 26, 26, 0.0); 
    display: flex;
    flex-direction: column;
    border-left: 0px solid #333;
    border-right: 0px solid #333;
    min-height: 100vh;
    position: relative;
    /* Optional: Adds a glass blur effect behind the whole app 
    backdrop-filter: blur(5px); */
}

/* --- NAVBAR WITH BACKGROUND IMAGE & OPACITY --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Shape */
    border-radius: 20px; 
    margin: 20px; 
    padding: 10px 20px;
    
    /* Remove solid background color here */
    background-color: transparent; 
    border: 1px solid #444; 
    
    position: relative; /* Essential for the background layer to stick to */
    z-index: 100;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* The Virtual Background Layer */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* --- IMAGE SETTINGS --- */
    background-image: url('images/silverbg.jpeg'); /* Put your image path here */
    background-repeat: no-repeat;
    background-size: cover; /* Stretches image to fill the bar */
    background-position: center;
    
    /* --- OPACITY SETTINGS --- */
    opacity: 0.7; /* Adjust this (0.1 to 1.0) to fade the image */
    
    /* Ensure this layer is rounded just like the parent */
    border-radius: 20px; 
    
    z-index: -1; /* Puts it BEHIND the buttons and logo */
    
    /* Optional: Add a dark tint so text pops if image is bright */
    background-color: rgba(0,0,0,0.8); 
    background-blend-mode: overlay; 
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #888;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Login Button Styling */
.user-profile {
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}
.mobile-login {
    display: none; /* Hidden on desktop */
}

/* --- HAMBURGER ICON (Hidden on Desktop) --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

/* --- HERO SECTION WITH TRUE TRANSPARENCY --- */
.hero-section {
    position: relative; /* Needed to anchor the background layer */
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 40px 60px;
    
    overflow: hidden; /* Ensures the image doesn't spill out */
    
    /* No background here! We do it in the ::before block below */
    background: transparent; 
}

/* This creates a virtual layer BEHIND the text */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* PUT YOUR IMAGE HERE */
    /*background-image: url('images/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    
    /* This controls the transparency of the IMAGE ONLY */
    opacity: 0.4; /* 0.4 = 40% visible, very ghostly */
    
    z-index: -1; /* Puts it behind the text */
}

/* We ensure the text sits ON TOP of the ghostly image */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
}

/* Keep your existing text styles */
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* Adds shadow to pop against transparency */
}

/* --- HERO SPLIT LAYOUT --- */

/* The Container for the two columns */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center; /* Centers them vertically */
    z-index: 2; /* Ensures it sits above the background image */
    position: relative;
}

/* --- LEFT COLUMN: VIDEO PLAYER --- */
.video-frame {
    position: relative;
    border: 1px solid #555;
    padding: 5px;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1); /* Slight tech glow */
}

.video-frame video {
    width: 100%;
    display: block;
    border-radius: 5px;
    background: #000;
}

/* "LIVE FEED" Text overlay on video border */
.video-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}


/* 1. Define the Container's Aspect Ratio */
.video-container {
    /* Example: Setting the overall size and padding trick for 16:9 ratio */
    position: relative;
    width: 100%;
    /* 56.25% = (9 / 16) * 100. This maintains the 16:9 aspect ratio */
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden; /* Important for clean edges */
}

/* 2. Scale the Video Element (and Poster) to Cover the Container */
.video-container video {
    /* Fill the container */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Crucial Property: Ensures the video and poster image stretch to cover 
       the element's full area, cropping if necessary, just like background-size: cover. */
    object-fit: cover; 
}


/* --- RIGHT COLUMN: CHAT BOX --- */
.chat-box {
    display: flex;
    flex-direction: column;
    height: 350px; /* Fixed height for the chat window */
    background: rgba(20, 20, 20, 0.85); /* Dark Glass */
    border: 1px solid #444;
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Chat Header */
.chat-header {
    background: #222;
    padding: 10px 15px;
    font-size: 0.8rem;
    border-bottom: 1px solid #444;
    color: #888;
    font-weight: bold;
    letter-spacing: 1px;
}

.blink {
    color: #0f0; /* Green dot */
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker { 50% { opacity: 0; } }

/* Chat Messages Area */
.chat-messages {
    flex-grow: 1; /* Takes up all available space */
    overflow-y: auto; /* Scrolls if too many messages */
    padding: 15px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Message Styles */
.msg { padding: 5px 10px; border-radius: 5px; width: fit-content; max-width: 90%; }
.msg.system { color: #aaa; font-style: italic; font-size: 0.8rem; }
.msg.user { background: rgba(255, 255, 255, 0.1); color: #fff; align-self: flex-end; }
.msg.admin { color: #0f0; text-shadow: 0 0 5px rgba(0,255,0,0.5); }

/* Chat Input Area */
.chat-input-area {
    display: flex;
    border-top: 1px solid #444;
    padding: 10px;
    background: rgba(0,0,0,0.3);
}

.chat-input-area input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    outline: none;
    padding: 5px;
}

.chat-input-area button {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}
.chat-input-area button:hover { background: #fff; color: #000; }

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Stack them vertically */
        gap: 20px;
    }
    
    /* Make sure video is on top (default behavior, but good to be explicit) */
    .video-wrapper { order: 1; }
    .chat-wrapper { order: 2; }
    
    /* Adjust height for mobile chat so it doesn't take up whole screen */
    .chat-box { height: 300px; }
}


.primary-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #fff;
    color: #000;
}

/* --- CONTENT GRID --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px;
}

/* 3. Cards become semi-transparent */
.card {
    /* Changed from #252525 to 80% opacity */
    background: rgba(0, 0, 0, 0.8); 
    padding: 15px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.2s ease;
}

.card:hover { transform: translateY(-5px); border-color: #555; }

.card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #444;
    margin-bottom: 15px;
}

footer {
    padding: 30px 20px;
    text-align: center;
    /* Changed from #111 to 70% opacity */
    background-color: rgba(17, 17, 17, 0.0); 
    font-size: 0.85rem;
    color: white;
    margin-top: auto;
    border-top: 1px solid #333;
}

/* =========================================
   MOBILE RESPONSIVENESS 
   ========================================= */

@media (max-width: 768px) {
    
    /* Hide desktop login, show mobile login */
    .desktop-only { display: none; }
    .mobile-login { display: block; }

    /* --- HAMBURGER FIX --- */
    .hamburger { 
        display: block; 
        position: relative; /* Needed for z-index to work */
        z-index: 1001;      /* Higher than everything else */
    }

    /* Animation to "X" */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* --- NAV MENU FIX --- */
.nav-menu {
        position: absolute;
        
        /* Push the menu down slightly so it floats below the rounded bar */
        top: calc(100% + 10px); 
        
        left: 0; 
        width: 100%;
        
        /* Match the navbar rounding */
        border-radius: 15px; 
        
        background-color: #1a1a1a; 
        border: 1px solid #444; /* Full border */
        
        transition: 0.3s ease-in-out;
        z-index: 999; 
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
        
        /* Ensure the menu doesn't disappear off the side initially */
        transform: translateX(-150%); /* Move it way off screen */
        /* Reset 'left' because we are using transform now */
        left: 0; 
    }

    .nav-menu.active {
        transform: translateX(0); /* Slide it back in */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }
    .nav-menu li:last-child { border-bottom: none; }

    /* General Mobile Layout Adjustments */
    .hero-section {
        padding: 40px 20px;
        text-align: center;
        justify-content: center;
    }
    .hero-content h1 { font-size: 2rem; }
    .content-grid { padding: 20px; grid-template-columns: 1fr; }
    .navbar { padding: 15px 20px; }
}

/* --- FIX FOR HOME PAGE FULL WIDTH --- */

/* 1. Override the hero padding specifically for the centered layout */
.hero-center {
    /* Keep top padding to account for fixed navbar, remove side padding */
    padding: 0px 0 20px 0; 
    width: 100%;
    max-width: 100%;
}

/* 2. Force the video container to match the Navbar width */
.full-width-display {
    width: 100%;
    /* Matches the Navbar max-width (1160px) exactly */
    max-width: 1160px; 
    margin: 0 auto; /* Centers it */
    padding: 0 20px; /* Adds small safe zone on mobile */
}

/* 3. Ensure the inner video frame fills that space */
.video-frame.large {
    width: 100%;
    margin: 0;
}

/* --- NEWS SECTION LAYOUT --- */
.news-section {
    width: 100%;
    max-width: 1160px;
    margin: 40px auto 60px 40px; /* Desktop Left-Alignment */
    padding: 0 20px;
}

.section-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    
    padding-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* --- STATIC SLIDER WINDOW (No Animation) --- */
.news-scroll-window {
    height: 450px; /* Adjust this height until exactly 3 cards are visible */
    overflow: hidden; /* Hides everything outside this window */
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.news-scroll-track {
    /* Manual sliding will use JS to modify this */
    transition: transform 0.5s ease-in-out; 
    display: flex; 
    flex-direction: column; /* Forces vertical stacking */
}

/* --- NEWS CARD STYLING --- */
.ews-card {
    width: 100%; 
    height: 150px; 
    padding: 15px 0; /* Adjusted padding slightly */
    box-sizing: border-box; 
    
    /* ADDED: Creates 10px of space below each card */
    margin-bottom: 10px; 
    
    border-bottom: none; /* Keep border removed */
    display: block; 
}

.news-date {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.ews-card h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.2;
}

.ews-card p {
    font-size: 1rem;
    color: #ccc; 
    margin-bottom: 10px;
}

/* --- BRIGHT RSVP/READ MORE BUTTON STYLING (The Neon Pop) --- */
.read-more {
    /* CRITICAL CHANGE: Use inline-block to allow padding/styling but keep compact width */
    display: inline-block; 
    
    font-family: 'Chakra Petch', sans-serif;
    font-weight: bold;
    
    background-color: #00FFFF;
    color: #000;
    
    text-decoration: none;
    font-size: 0.9rem;
    
    border: 2px solid #00FFFF;
    padding: 8px 20px; 
    border-radius: 5px; 
    transition: all 0.2s ease-in-out;
    
    /* Remove text-align: center and add margin to center the button visually */
    margin-top: 10px; 
}
/* --- NEON GLOW ON HOVER --- */
.read-more:hover {
    background: transparent; /* Background vanishes */
    color: #00FFFF; /* Text turns cyan */
    border-color: #00FFFF;
    
    /* Add the neon glow effect */
    box-shadow: 0 0 10px #00FFFF, 0 0 20px rgba(0, 255, 255, 0.4); 
}
/* --- NAVIGATION BUTTONS --- */
.news-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1160px;
    margin: 20px auto 40px auto;
    padding: 0 20px;
}

/* --- AGE GATE OVERLAY STYLES --- */

.age-gate-overlay {
    /* Covers the entire viewport */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
    /* MODIFICATION: Start invisible (opacity 0) */
    opacity: 0; 
    visibility: hidden; /* New addition to prevent interaction before JS runs */
    
    /* Remove the transition on load, add it only when needed */
    transition: opacity 0.5s, visibility 0.5s;
}

.age-gate-overlay.hidden {
    visibility: hidden;
    opacity: 0;
}

.age-gate-overlay.visible {
    visibility: visible;
    opacity: 1;
}

.age-gate-content {
    text-align: center;
    padding: 40px;
    background: #111; /* Slight border background */
    border: 2px solid #333;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.age-gate-content h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.age-gate-buttons button {
    margin: 0 15px;
    padding: 15px 40px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Style the NO button to contrast with the YES button */
.age-gate-buttons .no-btn {
    background: #500; /* Dark red background */
    border-color: #f00;
    color: #fff;
}
.age-gate-buttons .no-btn:hover {
    background: #f00;
    color: #000;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .age-gate-content h1 {
        font-size: 1.8rem;
    }
    .age-gate-buttons button {
        display: block;
        width: 80%;
        margin: 15px auto;
    }
}

/* --- MAP CONTAINER STYLES --- */

.show-map {
    /* Existing Styles */
    max-width: 500px; 
    min-width: 100px;
    border: 1px solid #444;
    
    /* NEW: Add padding inside the border */
    padding: 5px; 
    
    /* Ensure image fits within this new padded area */
    box-sizing: content-box; 
    
    /* Ensure the map is displayed first on mobile */
    order: -1; 
}

.map-image {
    display: block;
    width: 100%;
    height: auto;
    /* Ensure no residual spacing under the image */
    vertical-align: middle; 
}




.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(10, 10, 10, 0.7); /* Dark semi-transparent background */
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-form h2 {
    font-family: 'Russo One', sans-serif;
    color: #00FFFF; /* Cyan accent color */
    border-bottom: 1px solid #00FFFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #eee;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    background: rgba(50, 50, 50, 0.5);
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Chakra Petch', sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 15px;
}






/* --- MOBILE FIXES (Inside @media (max-width: 768px) block) --- */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* Stack vertically on phone */
    }
   .news-section {
        /* Reset Alignment: Center on mobile */
        margin: 40px auto 60px auto; 
    }
    .section-title {
        text-align: center;
        font-size: 1.8rem;
    }
    .news-scroll-window {
        /* On mobile, show only 2 items to save screen height */
        height: 300px; /* 2 x 150px */
    }
	
	.show-details {
        flex-direction: column; 
    }
    
    .show-map {
        /* On mobile, make the map full width, centered */
        max-width: 90%; 
        min-width: 90%;
        margin: 15px auto; /* Adds space above and below the map */
        padding: 5px; /* Keeps the padding inside the border */
    }
    
    /* Ensure the text container is full width */
    .show-info {
        width: 100%;
        padding: 0 15px; /* Ensure text isn't flush with screen edge */
    }
	
}
