@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(45deg, #141e30, #243b55);
    color: #fff;
    overflow-x: hidden;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* ✅ Fix: Ensure Main Content Fills Space & Footer Stays at Bottom */
.main-content {
    flex: 1;
    padding-top: 80px;
}

/* ✅ Fix Hero Section - Ensure It Starts Directly Below Navbar */
/* ✅ Hero Section - Fix Extra Space */
.hero {
    margin-top: -20px !important; /* Moves the section up to remove the gap */
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../assets/images/black_curtains.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



/* ✅ Prevent Any Extra Space */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.8rem);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.hero .cta-btn {
    padding: 10px 20px;
    background: #03dac6;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero .cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(3, 218, 198, 0.6);
}

/* ✅ Fix Navbar to Prevent Extra Space */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0px 30px; /* Remove extra padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 60px; /* Set a fixed height to prevent pushing content */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons button {
    padding: 10px 16px;
    font-size: 16px;
    background-color: #6200ee;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nav-buttons button:hover {
    background-color: #3700b3;
}

/* ✅ Ensure Navbar Buttons Fit on One Row at 600px */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .nav-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 5px;
    }

    .nav-buttons button {
        width: 45%;
        max-width: 140px;
        font-size: 14px;
        padding: 8px 12px;
        white-space: nowrap;
    }
}

/* ✅ Parallax Background for Features Section */
.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 80px 20px 50px;
    text-align: center;
    margin-top: 0;
    background-image: url('../assets/images/audience silhouette.webp'); /*theater_background.webp Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* ✅ This enables the parallax effect */
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.4); /* Lightened card background */
    padding: 25px;
    border-radius: 10px;
    width: 75%;    
    text-align: left;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.85);
    color: #222; /* ✅ Darker Text for Better Readability */
    display: flex;
    flex-direction: column;
    justify-content: center; /* ✅ Ensures text uses full height */
    height: auto; /* ✅ Allows dynamic height adjustment */
}

.feature-card h2 {
    color: #111;
    font-size: clamp(1.5rem, 3vw, 2rem); /* ✅ Dynamically adjust heading size */
    margin-bottom: 10px;
}

/* ✅ Responsive Feature Card Text */
.feature-card ul {
    list-style: none;
    padding: 0;
    font-size: clamp(1rem, 2vw, 1.2rem); /* ✅ Adjusts text size to fit card */
    line-height: 1.5; /* ✅ Improves readability */
}

.feature-card li {
    color: #333;
    font-size: inherit; /* ✅ Ensures consistent scaling */
    margin-bottom: 8px;
}


.features h2 {
    margin-bottom: 30px;
}


.feature-card:hover {
    transform: translateY(-5px);
}

/* ✅ Ensure Consistent Resizing for Small Screens */
@media (max-width: 768px) {
    .feature-card {
        width: 90%;
        text-align: center;
    }

    .feature-card h2 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .feature-card ul {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
}

@media (max-width: 480px) {
    .feature-card {
        width: 100%;
        min-width: 280px;
    }

    .feature-card h2 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .feature-card ul {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
}

/* ✅ Fix: Footer Always Stays at Bottom */
footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* ✅ Modal & Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 400px;
    max-width: 90vw;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.modal input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.modal button {
    width: 100%;
    max-width: 350px;
    padding: 12px;
    background: #6200ee;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.modal button:hover {
    background: #3700b3;
    transform: scale(1.05);
}

.modal p {
    margin-top: 15px;
    font-size: 13px;
}

.modal p a {
    color: #03dac6;
    text-decoration: none;
    font-weight: bold;
}

.modal p a:hover {
    text-decoration: underline;
}

@media (max-width: 500px) {
    .modal-content {
        width: 90%;
        min-width: 300px;
        padding: 20px;
    }

    .modal button {
        font-size: 12px;
        padding: 10px;
    }

    .close-btn {
        font-size: 20px;
        top: 5px;
        right: 10px;
    }
}

/* 🖱️ Cool Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00ffcc;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4081;
}