/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #fff;
}

/* ================= HEADER ================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: #111;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
}

.logo img {
    height: 100px;
    width: auto;
}

/* Nav */
nav {
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #ff3c3c;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.slider,
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Overlay */
.slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 40px;
    border-radius: 12px;
    max-width: 90%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: darkred;
}

/* ================= MOVIES ================= */

.movies-section {
    padding: 60px 24px;
    text-align: center;
}

.movies-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ff3c3c;
}

/* Carousel */
.carousel-container {
    position: relative;
}

.movies-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.movies-carousel::-webkit-scrollbar {
    display: none;
}

.movie-card {
    flex: 0 0 25%;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    padding: 10px;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 15px #ff3c3c;
}

.movie-card video {
    width: 100%;
    border-radius: 8px;
}

.movie-card h3 {
    text-align: center;
    font-size: 1.1rem;
    margin: 8px 0;
    background: linear-gradient(90deg, #ff3c3c, #ff9f00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.movie-info {
    font-size: 0.85rem;
    color: #bbb;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 5;
}

.carousel-btn:hover {
    background: rgba(255, 60, 60, 0.8);
}

.carousel-btn.left { left: 5px; }
.carousel-btn.right { right: 5px; }

/* ================= REQUEST MODAL ================= */

.request-section {
    text-align: center;
    padding: 40px 20px;
    background: #111;
}

.request-btn {
    background: red;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.request-btn:hover {
    background: darkred;
    transform: scale(1.05);
}

.request-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.request-box {
    background: #1c1c1c;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    position: relative;
    animation: popup 0.3s ease;
}

@keyframes popup {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.request-box input,
.request-box textarea,
.request-box button {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: none;
}

/* ================= FOOTER ================= */

footer {
    padding: 2rem;
    text-align: center;
    background-color: #111;
    color: #888;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
    .movie-card { flex: 0 0 33.33%; }
}

/* Mobile */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 50px;
        right: 0;
        background: #111;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        gap: 16px;
        display: none;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
    }

    nav ul.active {
        display: flex;
    }

    .hero-content {
        top: 18%;
        padding: 18px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .movie-card { flex: 0 0 50%; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .movie-card { flex: 0 0 100%; }

    .hero-content h1 {
        font-size: 1.6rem;
    }
}


/* ================= HERO CONTAINER ================= */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;          /* Desktop height */
    min-height: 500px;     /* Prevent too small */
    overflow: hidden;
}

/* ================= BACKGROUND SLIDER ================= */

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual Slides */
.bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: slide 16s infinite;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ✅ FIXED image paths (NO backslash \ ) */
.slide1 {
    background-image: url("AdmizStream\ logo.png");
    animation-delay: 0s;
}

.slide2 {
    background-image: url("The\ Rip.jpg");
    animation-delay: 4s;
}

.slide3 {
    background-image: url("infinite.avif");
    animation-delay: 8s;
}

.slide4 {
    background-image: url("the\ investigation\ of\ lucy\ letby.jpg");
    animation-delay: 12s;
}

/* ================= ANIMATION ================= */

@keyframes slide {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    30%  { opacity: 1; }
    40%  { opacity: 0; }
    100% { opacity: 0; }
}

/* ================= OPTIONAL DARK OVERLAY ================= */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* ================= HERO CONTENT ================= */

.hero-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 40px;
    border-radius: 12px;
    max-width: 90%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ================= RESPONSIVE ================= */

/* 💻 Large Desktop */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* 📱 Tablet */
@media (max-width: 1024px) {
    .hero {
        height: 75vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .hero {
        height: 65vh;
        min-height: 420px;
    }

    .hero-content {
        top: 18%;
        padding: 18px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* 📱 Small Mobile */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 380px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}


.google-link {
    display: inline-block;          /* Prevent full row stretch on desktop */
    width: 100%;
    max-width: 320px;               /* Limit width on large screens */
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    background: red;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

/* Hover (desktop) */
.google-link:hover {
    background: darkred;
    transform: translateY(-2px);
}

/* Optional active press effect */
.google-link:active {
    transform: scale(0.98);
}

/* 💻 Desktop */
@media (min-width: 769px) {
    .google-link {
        font-size: 16px;
        padding: 12px 22px;
    }
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .google-link {
        font-size: 15px;
        padding: 14px 18px;     /* Bigger tap area */
        max-width: 100%;        /* Full width on mobile */
    }
}

/* 📱 Small Mobile */
@media (max-width: 480px) {
    .google-link {
        font-size: 14px;
        padding: 14px;
    }
}

.google-container {
    text-align: center;
}



.movie-poster {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.watch-btn {
    display: block;
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    background: red;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.watch-btn:hover {
    background: darkred;
}

}
