/*
Theme Name: Rezzy
Theme URI: http://example.com
Author: Cory Long
Author URI: http://example.com
Description: Netflix-style streaming theme
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mycloud
Tags: custom-header, custom-menu, featured-images, responsive-layout
*/

/* General Styles */
body {
    margin: 0;
    padding: 0;
    background: #141414;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

/* ===============================
   Netflix-Like Header
================================= */
#netflix-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,0));
  padding: 12px clamp(16px, 3vw, 48px);
  z-index: 9999;
  box-shadow: none;
  transition: background .28s ease, box-shadow .28s ease;
}
#netflix-header.is-scrolled,
body:not(.home) #netflix-header {
  background: rgba(20,20,20,.96);
  box-shadow: 0 4px 18px rgba(0,0,0,.48);
}

#netflix-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

#netflix-header .netflix-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #e50914;
  letter-spacing: 0;
  text-transform: uppercase;
}

#netflix-header .main-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
#netflix-header .main-navigation .menu li a {
  color: #e5e5e5;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: color .18s ease;
}
#netflix-header .main-navigation .menu li a:hover {
  color: #fff;
}

#netflix-header .header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

#netflix-header .header-search input[type="search"] {
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.62);
  color: #fff;
}
#netflix-header .header-search input::placeholder {
  color: #8a8a8a;
}
#netflix-header .header-search button {
  display: none;
}

#netflix-header .profile-icon img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 3px !important;
  object-fit: cover !important;
  display: block;
}

#netflix-header .profile-icon .signup-btn {
  padding: 8px 14px;
  background-color: #e50914;
  color: #fff;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.86rem;
}
#netflix-header .profile-icon .signup-btn:hover {
  background-color: #f40612;
}

#netflix-header .mobile-menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1024px) {
  #netflix-header .main-navigation {
    display: none;
    flex-direction: column;
    background: rgba(20,20,20,.98);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 16px;
  }
  #netflix-header .main-navigation.active {
    display: flex;
  }
  #netflix-header .main-navigation .menu {
    flex-direction: column;
    gap: 12px;
  }
  #netflix-header .mobile-menu-toggle {
    display: block;
  }
}

/* Hero Banner */
.movie-hero-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}
.movie-hero-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
}
.watch-now-button {
  background: #fff;
  color: #111;
  padding: 12px 30px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
  border-radius: 3px;
}
.watch-now-button:hover { background: rgba(255,255,255,.78); color: #111; }

/* Category Titles */
.category-title {
  margin: 20px 0 10px 20px;
  color: #f5f5f5;
  font-size: 1.2rem;
  font-weight: 800;
}

/* Swiper Slides */
.swiper-slide {
  text-align: center;
}
.swiper-slide img {
  width: 150px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(0,0,0,.32);
  transition: transform .22s ease, box-shadow .22s ease;
}
.movie-link {
  display: block;
  margin-top: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
}
.movie-link:hover { color: #fff; }

.swiper-slide:hover img {
  box-shadow: 0 18px 38px rgba(0,0,0,.74);
  transform: scale(1.05);
}

.swiper-button-next, .swiper-button-prev {
  color: #fff;
}

/* Search Page */
.search-results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
.search-results-grid div {
  width: 200px;
}
.search-results-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}
