

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

body {
    font-family: Arial, sans-serif;
    background-color: #141414;
    color: #fff;
}

a {
    color: #fff;
    text-decoration: none;
}

.email-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Ensures input and button wrap on smaller screens */
}

.email-form input[type="email"] {
    padding: 10px;
    font-size: 1rem;
    border: none;
    outline: none;
    width: 300px;
    border-radius: 3px 0 0 3px;
}

.email-form button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #e50914;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-form button i {
    margin-left: 5px;
}

img {
    max-width: 100%;
    display: block;
}

/* Header Styles */
.header {
    background-image: url(./Images/bg.jpg); /* Background image for header */
    background-size: cover;
    background-position: center;
    height: 80vh; /* Full viewport height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.header-content {
    width: 90%;
    max-width: 1200px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 120px;
    cursor: pointer;
}

.language-select {
    padding: 5px 10px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.language-select option {
    background-color: #141414;
    color: #fff;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
}

.sign-out-btn {
    padding: 8px 16px;
    background-color: #e50914;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sign-out-btn:hover {
    background-color: #f40612;
}

/* Responsive Styles */

/* For tablets (max-width: 768px) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* Stack logo and language selection vertically */
        align-items: center;
    }
    
    .left-section, .right-section {
        flex-direction: column;
        align-items: center;
    }

    .email-form input[type="email"], .email-form button {
        width: 100%;
        border-radius: 3px; /* Full-width for both input and button */
        margin-bottom: 10px;
    }

    .logo {
        width: 100px; /* Adjust logo size */
    }
    
    .sign-out-btn {
        padding: 8px 10px;
    }
}

/* For mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .header {
        height: 60vh; /* Reduce header height on mobile */
    }

    .header-content {
        width: 100%;
        padding: 0 10px;
    }

    .logo {
        width: 80px; /* Smaller logo */
    }

    .profile-img {
        width: 30px;
        height: 30px;
    }

    .sign-out-btn {
        padding: 6px 12px;
        font-size: 0.9rem; /* Smaller button size */
    }

    .email-form input[type="email"] {
        width: 100%; /* Full width on mobile */
        padding: 8px;
    }

    .email-form button {
        width: 100%;
        padding: 8px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    top: -100px; /* Move up to overlap with header */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 5px;
    border-radius: 5px;
    background-color: #e50914;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero-buttons .btn:hover {
    background-color: #f40612;
}

/* Responsive Styles */

/* For tablets (up to 768px) */
@media (max-width: 768px) {
    .hero-content {
        top: -50px; /* Reduce overlap for smaller screens */
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Smaller heading for tablets */
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.2rem; /* Smaller paragraph size */
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        padding: 12px 25px; /* Adjust button padding */
        font-size: 1rem; /* Reduce font size for buttons */
    }
}

/* For mobile devices (up to 480px) */
@media (max-width: 480px) {
    .hero-content {
        top: 0; /* Remove overlap on very small screens */
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 2rem; /* Smaller heading for mobile */
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1rem; /* Smaller paragraph size */
        margin-bottom: 15px;
    }

    .hero-buttons .btn {
        padding: 10px 20px; /* Smaller button padding for mobile */
        font-size: 0.9rem; /* Adjust button text size */
    }
}

/* Content Sections */
.content {
    padding: 40px 20px;
}

.content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Movie Row - Horizontal Scroll */
.movie-row {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    padding-bottom: 10px;
    scroll-behavior: smooth; /* Smooth scrolling for a better experience */
}

.movie-container {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.movie-container:hover {
    transform: scale(1.1);
}

.movie-container video {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

.movie-container:hover video {
    opacity: 1;
}

/* Responsive Styles */

/* For tablets (up to 768px) */
@media (max-width: 768px) {
    .content h2 {
        font-size: 1.6rem; /* Smaller heading for tablets */
    }

    .movie-container {
        width: 200px; /* Adjust width for tablets */
    }

    .movie-container:hover {
        transform: scale(1.05); /* Slightly reduce hover effect for tablets */
    }
}

/* For mobile devices (up to 480px) */
@media (max-width: 480px) {
    .content h2 {
        font-size: 1.4rem; /* Smaller heading for mobile */
    }

    .movie-container {
        width: 150px; /* Smaller movie container for mobile */
    }

    .movie-container:hover {
        transform: scale(1.05); /* Keep hover effect moderate on mobile */
    }
    
    /* Ensure smooth scrolling on touch devices */
    .movie-row {
        gap: 5px; /* Smaller gaps between movies on mobile */
        padding-bottom: 5px;
    }
}


/* Scrollbar Styling */
.movie-row::-webkit-scrollbar {
    height: 8px;
}

.movie-row::-webkit-scrollbar-track {
    background: #141414;
}

.movie-row::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.movie-row::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* More Reasons to Join Section */
.reasons-to-join {
    padding: 50px 5%;
    background-color: #141414;
    color: #fff;
    text-align: center;
}

.reasons-to-join h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.reason-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.reason-card {
    background: linear-gradient(rgb(30, 3, 30), rgb(75, 28, 75));
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(25% - 20px); /* 4 cards per row on large screens */
    max-width: calc(25% - 20px);
    box-sizing: border-box;
}

.reason-card img {
    width: 50px;
    margin-bottom: 15px;
}

.reason-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.reason-card p {
    font-size: 1rem;
    color: #b3b3b3;
}

/* Responsive Styling */

/* For tablets (768px and below) */
@media (max-width: 768px) {
    .reason-card {
        flex: 1 1 calc(50% - 20px); /* 2 cards per row */
        max-width: calc(50% - 20px);
    }
    
    .reasons-to-join h2 {
        font-size: 1.8rem;
    }
}

/* For mobile devices (480px and below) */
@media (max-width: 480px) {
    .reason-card {
        flex: 1 1 100%; /* 1 card per row */
        max-width: 100%;
    }

    .reason-card img {
        width: 40px; /* Slightly smaller images */
    }
    
    .reasons-to-join h2 {
        font-size: 1.6rem; /* Smaller heading on mobile */
    }

    .reason-card h3 {
        font-size: 1rem; /* Smaller title */
    }

    .reason-card p {
        font-size: 0.9rem; /* Smaller paragraph text */
    }
}


/* faq section */

.faq {
    padding: 50px 5%;
    background-color: #141414;
    color: #fff;
}

.faq h2 { 
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.faq-question {
    background-color: #222;
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    background-color: #333;
}

.faq-answer p {
    margin: 0;
}

.faq-toggle {
    display: none;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    display: block;
}

.faq-toggle:checked + .faq-question {
    background-color: #333;
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(45deg);
}
/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background-color: #141414;
    color: #737373;
    font-size: 0.9rem;
}

.footer a {
    color: #737373;
    margin: 0 10px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .movie-container {
        width: 200px;
    }
    .content h2 {
        font-size: 1.5rem;
    }

    .movie-container {
        width: 250px;
    }

    .reason-card {
        flex: 1 1 100%;
    }
}
@media screen and (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .movie-container {
        width: 200px;
    }

    .footer-content {
        font-size: 0.9rem;
    }
}
footer {
    background-color: #000;
    color: #757575;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    color: #757575;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin: 10px 0;
    text-align: left;
}

.footer-lang {
    margin-top: 20px;
}

.footer-lang button {
    background: none;
    border: 1px solid #757575;
    color: #757575;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 13px;
}

.footer-lang button:hover {
    background-color: #757575;
    color: #000;
}