
/* Base Styles */
body {
    overflow-x: hidden;
}

.bg-image {
    position: relative;
    background-image: url('../30+.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Dark overlay for better text readability */
.bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.6) 100%
    ); */
    z-index: 0;
}

/* Ensure content stays above the overlay */
.bg-image > * {
    position: relative;
    z-index: 1;
}

/* Header & Navigation */
header {
    transition: all 0.3s ease;
    position: relative;
}

/* Mobile Menu */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

#mobileMenu:not(.hidden) {
    max-height: 300px; /* Adjust based on your content */
}

/* Video Modal */
#videoModal {
    transition: opacity 0.3s ease-in-out;
    padding: 1rem;
    z-index: 9999;
}

#videoModal:not(.hidden) {
    display: flex !important;
}

#closeModal {
    transition: transform 0.2s ease, color 0.2s ease;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#closeModal:hover {
    transform: scale(1.1);
    color: #84CC16;
}

/* Responsive iframe */
#youtubeVideo {
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
}

/* Buttons */
button, .btn {
    transition: all 0.2s ease;
}

button:active, .btn:active {
    transform: scale(0.98);
}

/* Responsive Typography */
h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
}

h2 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.1;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #trailerBtn {
        width: 100%;
        justify-content: center;
    }
    
    /* Adjust modal for smaller screens */
    #videoModal .relative {
        width: 95%;
        margin: 0 auto;
    }
    
    #closeModal {
        top: -50px;
        right: 0;
    }
    .bg-image {
        background-size: cover;
        background-position: 72% 70%;
        background-attachment: fixed;
    }
    
    /* Adjust overlay for mobile if needed */
    .bg-image::before {
        background: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0.7) 0%, 
            rgba(0, 0, 0, 0.5) 50%, 
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
    }
    
    main {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

