/* Reset some basic styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #181818; /* Change this to a dark color */
    color: #333;
    scroll-behavior: smooth;
}

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    background-image: url('banner-image.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Changed from center to flex-start */
    text-align: center;
    color: white;
    opacity: 0;
    animation: fadeInBanner 1s ease-in-out forwards;
    background-color: #0a0a0a; /* Fallback color */
    background-attachment: fixed;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(30,30,30,0.7) 60%, rgba(10,10,10,0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.banner-content {
    background: rgba(0, 0, 0, 0.6);
    min-height: 100vh; /* Changed from height: 100vh */
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    margin: auto 0; /* Vertically center within banner */
    /* Remove height and width if causing overflow issues */
}

@keyframes fadeInBanner {
    from { opacity: 0; }
    to { opacity: 1; }
}

.banner h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    animation: slideInDown 1.2s ease;
}

.cinematic-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-shadow: 0 8px 32px rgba(0,0,0,0.8), 0 1px 0 #5ab7f1;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: slideInUp 1.2s ease;
}

.btn {
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid white;
    color: white;
    transition: background 0.5s ease, transform 0.2s;
    border-radius: 5px;
    margin: 20px;
    animation: fadeInUp 2s ease;
}

.btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 2000; /* Ensure it's above all content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none; /* Prevent interaction when hidden */
}

#navbar.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Enable interaction when visible */
}



#navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

#navbar ul li {
    display: inline;
}

#navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#navbar ul li a:hover {
    color: #5ab7f1;
}

.content {
    padding: 50px 20px;
    text-align: center;
    background-color: #1b1b1b;
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-text h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

.about-images {
    display: flex;
    justify-content: center; /* Center the container horizontally */
    align-items: center; /* Center the container vertically */
    height: 300px; /* Adjust the height as needed */
    width: 300px; /* Adjust the width as needed */
    border-radius: 20px; /* Border radius for the container */
    overflow: hidden; /* Hide any overflow to maintain rounded corners */
    position: relative; /* Ensure positioning context for inner elements */
}

.about-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px; /* Adjust gap between images */
    width: 100%;
    height: 100%;
}
.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the container without distortion */
    border-radius: 0; /* Remove border-radius from images */
    transition: none; /* Remove any transition effect */
}

@keyframes fadeInLazy {
    from { opacity: 0; }
    to { opacity: 1; }
}


@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

#contact {
    padding: 50px 20px;
    background-color: #0a0a0a;
    color: #ccc;
}

#contact h2 {
    color: #5ab7f1;
}

#contact p {
    margin-top: 20px;
    font-size: 1.2rem;
}

.content h2 {
    color: #5ab7f1;
}

.scroll-prompt {
    position: absolute;
    bottom: 20px;

    color: #5ab7f1;
    font-size: 2rem; /* Adjust size as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure it takes full width to remain centered */
    animation: bounce 5s ease-in-out 5s infinite; /* Bounce every 5 seconds */
    opacity: 1;
}

.scroll-icon {
    width: 24px; /* Adjust size as needed */
    height: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Footer Styles */
footer {
    background-color: #333; /* Dark background color for footer */
    color: #fff; /* White text color */
    padding: 1.852vh 0; /* Padding for top and bottom */
    text-align: center; /* Center text alignment */
    position: relative; /* Relative positioning for footer */
    bottom: 0; /* Aligns the footer to the bottom of its container */
    width: 100%; /* Full width */
    border-top: 1px solid #444; /* Optional border at the top */
}

.footer-content {
    max-width: 1200px; /* Maximum width for content */
    margin: 0 auto; /* Center content horizontally */
    padding: 0 20px; /* Padding on left and right */
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    background-color: #0a0a0a;
    color: #ccc;
    text-align: center;
}

#contact h2 {
    color: #5ab7f1;
}

.contact-btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #5ab7f1;
    color: #5ab7f1;
    background-color: transparent;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.contact-btn:hover {
    background-color: #5ab7f1;
    color: white;
    transform: scale(1.05);
}

/* Under Construction Page */
.under-construction {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f4f4f4;
    color: #333;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.content-p {
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    color: #5ab7f1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.under-construction-p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #666;
    animation: fadeInUp 1.5s ease-out;
}

.construction-icon {
    margin: 20px 0;
}

.icon {
    width: 100px;
    height: 100px;
    color: #5ab7f1;
    animation: spin 2s linear infinite;
}

.contact-info a {
    color: #5ab7f1;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Our Founder Section */
#founder {
    padding: 50px 20px;
    background-color: #1f1f1f;
    color: #ffffff;
    display: flex;
    justify-content: center; /* Center the container horizontally */
}

/* Founder Container */
.founder-container {
    display: flex;
    align-items: center; /* Center image and bio vertically */
    gap: 20px;
    max-width: 800px; /* Limit width for better centering */
    text-align: center; /* Ensure text is centered */
}

/* Founder Image */
.founder-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 4px solid #5ab7f1;
}

/* Founder Bio and Title */
.founder-bio {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto; /* Center the text block */
    text-align: left;
}

.founder-bio h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 2px solid #5ab7f1;
}

@media (max-width: 680px) {
    .about-container {
        display: flex;
        display:inline-block; 
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .about-images{
        display:inline-block; 
        margin-top: 20px;
    }
    .founder-container {
        display: flex;
        display:inline-block; 
        align-items: center;
        gap: 20px;
        max-width: 800px;
        text-align: center;
    }
}

/* Logo styles */
.production-logo {
    width: 100%;
    height: 200px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.production-logo img {
    width: auto; /* Maintain aspect ratio */
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.production-logo:hover img {
    opacity: 0.7;
    filter: brightness(0.8);
}

.developers {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.developer {
    width: 25px;
    height: 25px;
}

.developer img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.developer:hover img {
    opacity: 0.7;
    filter: brightness(0.8);
}

/* Cinematic Styles */
.cinematic-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-shadow: 0 8px 32px rgba(0,0,0,0.8), 0 1px 0 #5ab7f1;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.cinematic-tagline {
    font-size: 2rem;
    font-weight: 400;
    color: #5ab7f1;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
}

/* Section Divider */
.section-divider {
    width: 80vw;
    height: 3px;
    margin: 0 auto 60px auto;
    background: linear-gradient(90deg, rgba(90,183,241,0.1) 0%, rgba(90,183,241,0.6) 50%, rgba(90,183,241,0.1) 100%);
    border-radius: 2px;
    opacity: 0.7;
}

/* Cinematic Section */
.cinematic-section {
    position: relative;
    background: linear-gradient(180deg, #181818 0%, #232323 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    border-radius: 20px;
    margin: 60px auto;
    max-width: 1200px;
    padding: 70px 40px;
    z-index: 2;
}

/* Cinematic Heading */
.cinematic-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #5ab7f1;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    border-bottom: 2px solid #5ab7f1;
    display: inline-block;
    padding-bottom: 10px;
}

/* Cinematic Highlight */
.cinematic-highlight {
    font-weight: 700;
    background: linear-gradient(90deg, #5ab7f1 0%, #fff 50%, #5ab7f1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #5ab7f1;
}

/* Cinematic Images */
.cinematic-images {
    box-shadow: 0 8px 32px rgba(90,183,241,0.2);
    border: 2px solid #5ab7f1;
    border-radius: 20px;
    overflow: hidden;
}

/* Cinematic Card */
.cinematic-card {
    background: linear-gradient(180deg, #232323 0%, #181818 100%);
    box-shadow: 0 8px 32px rgba(90,183,241,0.15);
    border: 2px solid #5ab7f1;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.cinematic-card:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 16px 48px rgba(90,183,241,0.25);
}

/* Responsive Cinematic Styles */
@media (max-width: 900px) {
    .cinematic-title { font-size: 3.2rem; }
    .cinematic-tagline { font-size: 1.3rem; }
    .cinematic-heading { font-size: 2rem; }
    .cinematic-section { padding: 40px 10px; }
    .section-divider { margin-bottom: 30px; }
}

@media (max-width: 680px) {

    .production-logo {
        height: auto; /* Allow height to adjust on smaller screens */
    }
}

/* Our Productions Section */
.productions-section {
    background-color: #121212;
    color: #eaeaea;
    padding: 70px 20px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.productions-content h2 {
    font-size: 2.5rem;
    color: #5ab7f1;
    margin-bottom: 30px;
    border-bottom: 2px solid #5ab7f1;
    display: inline-block;
    padding-bottom: 10px;
}

.productions-content p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.7;
}

.production-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.production-card {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.production-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.production-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.production-card p {
    color: #aaa;
    font-size: 1rem;
}

.collab-contact-section {
    background-color: #0a0a0a;
    padding: 50px 20px;
    text-align: center;
    animation: fadeInUp 1.5s ease-in-out;
    color: #eaeaea;
}

.collab-contact-content h2 {
    font-size: 2.5rem;
    color: #5ab7f1;
    margin-bottom: 20px;
    border-bottom: 2px solid #5ab7f1;
    display: inline-block;
    padding-bottom: 10px;
}

.collab-contact-content p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.collab-contact-content .contact-info {
    margin-top: 30px;
    font-size: 1rem;
    color: #999;
}

.collab-contact-content .contact-info a {
    color: #5ab7f1;
    text-decoration: underline;
}

.collaborate-btn {
    background-color: transparent;
    border: 2px solid #5ab7f1;
    color: #5ab7f1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.collaborate-btn:hover {
    background-color: #5ab7f1;
    color: #0a0a0a;
    transform: scale(1.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.collaborate-btn:hover {
    background-color: #5ab7f1;
    color: #0a0a0a;
    transform: scale(1.05);
}