/* BACKGROUND & OVERLAY */
.hero {
    height: 100vh;
    background: url('129554147-6ac7ba51-43e7-4c8e-ba77-e646a3ef6b12.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 90%),
                linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

/* TOP RIGHT NAVIGATION */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10%;
    position: relative;
    z-index: 10;
}

/* Container for both dropdown and Sign In button */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between the two elements */
}

/* Language Switcher Styling */
.lang-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
    border-radius: 4px;
}

.lang-dropdown {
    background: transparent;
    color: white;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

/* Red Sign In Button */
.signin-btn {
    background-color: #e50914;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.logo { width: 150px; }
.arc-wrapper {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

.arc {
    width: 150%;
    height: 100px;
    background: #000;
    border-top: 4px solid #e50914;
    border-radius: 50% 50% 0 0;
    position: absolute;
    left: -25%;
    box-shadow: 0 -10px 20px rgba(229, 9, 20, 0.4);
}

/* 3. BUTTONS (RE-CONSOLIDATED) */

.get-started { height: 56px;
    padding: 0 24px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap; }

.signin-btn:hover, .get-started:hover { background-color: #a80f16; }
.signin-btn:active, .get-started:active { transform: scale(0.98); }

/* 4. HERO CONTENT */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    z-index: 10;
}

.hero-content h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; }
.price-tag { font-size: 1.5rem; margin-bottom: 1.5rem; }

.email-form { display: flex; justify-content: center; gap: 10px; width: 100%; max-width: 700px; }
.email-form input {
    flex: 1;
    padding: 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #555;
    color: white;
    border-radius: 4px;
    font-size: 1rem;
}

/* 5. TRENDING SECTION (OVERLAY NUMBERS) */
.trending-section {
    padding: 60px 10% 20px 10%;
    background-color: #000;
    border-bottom: 8px solid #232323;
}

.section-title { font-size: 1.5rem; font-weight: bold; margin-bottom: 20px; }

.movie-slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.movie-slider {
    display: flex;
    gap: 40px;
    padding: 40px 0 40px 40px; 
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.movie-card {
    position: relative;
    min-width: 180px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.movie-card:hover { transform: scale(1.08); z-index: 20; }

.movie-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 1; /* Poster behind */
}

/* THE CARD CONTAINER */
.reason-card {
    background: linear-gradient(149deg, #192247 0%, #210e17 100%);
    padding: 24px;
    border-radius: 16px;
    position: relative; /* Essential for absolute positioning of icons */
    min-height: 200px;  /* Ensures there is enough space for the icon */
    overflow: hidden;   /* Keeps the icon from "bleeding" out of the rounded corners */
}

/* THE ICON STYLING */
.card-icon {
    position: absolute;
    bottom: 16px;       /* Distance from bottom */
    right: 16px;        /* Distance from right */
    
    /* SIZE CONTROL */
    width: 72px;        /* Standard Netflix icon width */
    height: 72px;       /* Keeps it square */
    object-fit: contain; /* Ensures the image doesn't stretch */
    
    /* OPTIONAL: LIGHT GLOW EFFECT */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
    opacity: 0.9;
}

/* TEXT ADJUSTMENT */
/* Ensures text doesn't run into the icon on small cards */
.reason-card p {
    margin-right: 60px; 
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}
/* BIG NUMBERS OVERLAYING IN FRONT */
.movie-card::before {
    content: attr(data-rank);
    position: absolute;
    bottom: -15px;
    left: -35px;
    font-size: 100px;
    font-weight: 900;
    color: #000; 
    -webkit-text-stroke: 2px #fff; 
    z-index: 5; /* In front of image */
    line-height: 1;
}

.slider-arrow {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    height: 80px;
    width: 40px;
    cursor: pointer;
    z-index: 30;
    font-size: 2rem;
    border-radius: 4px;
}

.arrow-left { left: -20px; }
.arrow-right { right: -20px; }

/* 6. REASONS SECTION (GRADIENT CARDS) */
.reasons-section { padding: 40px 10%; border-bottom: 8px solid #232323; }

.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }

.reason-card {
    background: linear-gradient(149deg, #192247 0%, #210e17 100%);
    padding: 30px 20px; 
    border-radius: 16px; 
    height: 280px;
    position: relative;
    overflow: hidden;
}

.reason-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

.reason-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: brightness(1.5);
}

.reason-1::after { filter: drop-shadow(0 0 15px rgba(100, 100, 255, 0.8)); }
.reason-2::after { filter: drop-shadow(0 0 15px rgba(255, 100, 255, 0.8)); }

/* 7. FAQ SECTION */

/* FAQ SECTION CONTAINER */
.faq {
    padding: 70px 15%;
    background-color: #000;
    border-bottom: 8px solid #232323;
    text-align: center;
}

#faqTitle {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* FAQ INDIVIDUAL ITEMS */
.faq-item {
    background-color: #2d2d2d; /* Netflix dark gray */
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-item:hover {
    background-color: #414141; /* Lightens on hover */
}

.question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 400;
    border-bottom: 1px solid #000;
}

.question span {
    font-size: 2rem;
}

.answer {
    padding: 24px;
    font-size: 1.2rem;
    display: none; /* Controlled by your JS */
    line-height: 1.6;
    background-color: #2d2d2d;
    border-top: 2px solid #000;
}

/* BOTTOM EMAIL FORM */
/* 1. UNIVERSAL SETUP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 2. HERO SECTION (COLLAGE & OVERLAY) */
.hero {
    height: 100vh;
    /* Ensure the image name matches your file exactly */
    background: url('129554147-6ac7ba51-43e7-4c8e-ba77-e646a3ef6b12.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darkens the collage so white text is readable */
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.3) 60%, 
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

/* Keeps Navbar and Content on top of the dark overlay */
.navbar, .hero-content, .arc-wrapper {
    position: relative;
    z-index: 10;
}

/* 3. TRENDING SECTION (BIG NUMBERS) */
.movie-card {
    position: relative;
    min-width: 200px; /* Wider to accommodate the number offset */
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.movie-card::before {
    content: attr(data-rank);
    position: absolute;
    bottom: -10px;
    left: -30px;
    font-size: 110px;
    font-weight: 900;
    color: #000; /* Black fill */
    -webkit-text-stroke: 2px #fff; /* White outline from screenshot */
    z-index: 5;
    line-height: 1;
}

.movie-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

/* 4. REASONS SECTION (GRADIENT CARDS) */
.reason-card {
    background: linear-gradient(149deg, #192247 0%, #210e17 100%);
    padding: 24px;
    border-radius: 16px;
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.card-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.email-form{
  display: flex;
  flex-direction: column; /* Stacks items vertically */
  align-items: center;    /* Centers items horizontally */
  gap: 15px;              /* Space between comment and button */
  width: 100%;
  padding: 20px;
  background-color: #000; /* Dark background */
}

.email-instruction {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
}

.get-started-btn {
  background-color: #e50914; /* Netflix Red */
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.get-started-btn:hover {
  background-color: #c11119;
}
        /* Mobile Optimization */
        @media (max-width: 600px) {
            .email-form {
                flex-direction: column;
                align-items: center;
            }
            .email-input, .get-started-btn {
                width: 100%;
            }
            .faq-item {
                font-size: 1.1rem;
            }
        }
/* 2. THE INPUT GROUP (Keeps input and button side-by-side) */
.input-group {
    display: flex;
    flex-direction: row; /* Forces horizontal alignment */
    gap: 8px; /* Netflix-style small gap */
    width: 100%;
    max-width: 600px;
}

.input-group input {
    flex: 1;
    height: 56px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(128, 128, 128, 0.7);
    color: white;
    font-size: 1rem;
    border-radius: 4px;
}

.input-group .get-started {
    height: 56px;
    padding: 0 24px;
    background-color: #e50914;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.footer {

    padding: 70px 15% 40px;

    color: #b3b3b3;

}



.footer-links {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    margin: 30px 0;

    gap: 20px;

}



.footer-links ul {

    list-style: none;

}



.footer-links li {

    margin-bottom: 15px;

    font-size: 0.9rem;

    text-decoration: underline;

    cursor: pointer;

}



.footer-country {

    margin-top: 20px;

    font-size: 0.8rem;

}


