/* Base Styles */
:root {
    --primary-color: #7b11c5;
    --secondary-color: #ff4081;
    --accent-color: #00bcd4;
    --dark-color: #121212;
    --light-color: #f8f8f8;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --font-heading: 'Pacifico', cursive;
    --font-body: 'Arial', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--light-color);
    background-color: #000000; /* Pure black background */
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

/* All section headings set to white instead of gradient */
h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.8rem;
}

section {
    padding: 80px 0;
    position: relative;
    background-color: transparent !important;
}

/* Enhanced Space Background - Fixed for full-site coverage */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #000000; /* Pure black background - no tint at all */
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* Pure black overlay - no gradient or tint */
    z-index: -1;
}

/* Star styles */
.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    z-index: -1;
}

.star.tiny {
    width: 1px;
    height: 1px;
    opacity: 0.5;
}

.star.small {
    width: 2px;
    height: 2px;
    opacity: 0.7;
}

.star.medium {
    width: 3px;
    height: 3px;
    opacity: 0.8;
    box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.4);
}

.star.large {
    width: 4px;
    height: 4px;
    opacity: 1;
    box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.7);
}

/* Nebula styles - only blue for space theme */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.1; /* More subtle opacity */
    z-index: -1;
}

.nebula.blue {
    background: radial-gradient(ellipse at center, rgba(0, 100, 200, 0.3) 0%, rgba(0, 100, 200, 0) 70%);
}

/* Add twinkling animation */
@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.star.twinkle {
    animation: twinkle 4s infinite ease-in-out;
}

.star.twinkle-slow {
    animation: twinkle 7s infinite ease-in-out;
}

.star.twinkle-fast {
    animation: twinkle 2s infinite ease-in-out;
}

/* Add subtle pulsing to nebulas */
@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.05); }
}

.nebula.pulse {
    animation: pulse 15s infinite ease-in-out;
}

/* Header - FIXED FOR CENTER NAVIGATION */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Center navigation */
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    transition: var(--transition);
    background-color: #000000; /* Pure black header */
    backdrop-filter: blur(5px);
}

/* Main logo in the hero section - updated positioning */
.logo-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the logo perfectly */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    height: auto;
    width: 350px; /* Larger size for the hero image */
    max-width: 90vw; /* Responsive sizing */
}

/* Nav Menu - properly centered */
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #ffffff; /* Pure white text */
    font-weight: 700; /* Bold text */
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 5%;
    z-index: 1001;
}

/* Hero Section - adjusted for the actual image layout */
.hero {
    height: 100vh;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    color: #ffffff; /* Pure white text */
    font-weight: 700; /* Bold */
    font-family: 'Pacifico', cursive; /* Cursive font */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff; /* Pure white text */
    font-weight: 700; /* Bold */
}

/* About Section */
.about {
    background-color: transparent !important;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    width: 50%;
    text-align: left; /* Align text to the left */
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ffffff; /* Pure white text */
    font-weight: 500; /* Medium weight for readability */
}

.about-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* Menu Section Styles */
.menu {
    background-color: transparent !important;
}

.menu-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-images {
    display: flex;
    justify-content: center;
    gap: 2rem; /* This creates the 2-space gap you requested */
    flex-wrap: wrap; /* This allows the images to stack on mobile */
}

.menu-image {
    flex: 1;
    min-width: 300px; /* Ensures images don't get too small */
    max-width: 600px; /* Prevents images from getting too large */
    background: rgba(0, 100, 200, 0.2); /* Matches your gallery item style */
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-image:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 100, 200, 0.3);
}

.menu-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .menu-images {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-image {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Events Section */
.events {
    background-color: transparent !important;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: rgba(0, 100, 200, 0.2); /* Light blue tint as requested */
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 100, 200, 0.3);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #ffffff; /* Pure white text */
    padding: 15px;
    font-weight: bold;
    text-align: center;
    min-width: 80px;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.8rem;
}

.event-info {
    padding: 20px;
    flex-grow: 1;
}

.event-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #ffffff; /* Pure white text */
    font-weight: 700; /* Bold */
}

.event-info p {
    margin-bottom: 15px;
    color: #ffffff; /* Pure white text */
    font-weight: 400;
}

/* Gallery Section */

/* Updated Gallery Section with proper image handling */
.gallery {
    background-color: transparent !important;
}

.gallery-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.toggle-btn {
    background: rgba(0, 100, 200, 0.2);
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    font-weight: 700;
}

.toggle-btn.active, .toggle-btn:hover {
    background: rgba(0, 100, 200, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.gallery-item {
    aspect-ratio: 1/1; /* Force square aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    background: rgba(0, 100, 200, 0.2);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 100, 200, 0.3);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is crucial - makes images cover the entire container */
    position: absolute;
    top: 0;
    left: 0;
}

/* Contact Section */
.contact {
    background-color: transparent !important;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    font-size: 1.5rem;
    width: 30px;
    color: #ffffff; /* Pure white icons */
}

.info-item p {
    color: #ffffff; /* Pure white text */
    font-weight: 500; /* Medium weight for readability */
    margin-bottom: 5px;
}

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

input, textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 100, 200, 0.1); /* Light blue tint */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #ffffff; /* Pure white text */
    font-family: inherit;
}

textarea {
    height: 150px;
    resize: vertical;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    filter: blur(1px); /* Blurry logos as requested */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 100, 200, 0.2); /* Light blue background */
    border-radius: 50%;
    margin: 0 10px;
    transition: var(--transition);
    color: #ffffff; /* Pure white icons */
}

.social-links a:hover {
    background: rgba(0, 100, 200, 0.5); /* Brighter blue on hover */
    transform: translateY(-3px);
}

/* Hours display in contact section */
.hours-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-left: 45px;
}

.hours-container p {
    margin-bottom: 5px;
    color: #ffffff;
}

/* Footer */
footer {
    background-color: transparent !important;
    text-align: center;
    padding: 30px 0;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #ffffff; /* Pure white text */
    font-weight: 500; /* Medium weight for readability */
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Gallery filtering */
.gallery-item.hidden {
    display: none;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background: #000000;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        text-align: center;
        transition: var(--transition);
        backdrop-filter: blur(10px);
        margin-right: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .about-text {
        margin-bottom: 30px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        display: flex;
        flex-direction: row;
        padding: 10px;
    }

    .event-date .month {
        margin-right: 5px;
    }
}