/* Netflix-inspired styles */
body {
  background: #141414;
  color: #fff;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  margin: 0;
}

.netflix-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 70vh;
  margin-top: 2rem;
}

.netflix-header {
  text-align: center;
  margin-bottom: 2rem;
}

.netflix-logo {
  width: 160px;
  margin-bottom: 1rem;
}

.netflix-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #e50914;
  margin: 0.5rem 0;
}

.netflix-tagline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.netflix-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.netflix-gallery figure {
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  margin: 0;
  transition: transform 0.2s;
}
.netflix-gallery figure:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(229,9,20,0.3);
}
.netflix-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.netflix-gallery figcaption {
  padding: 0.7rem;
  font-size: 1rem;
  color: #fff;
  background: #181818;
  text-align: center;
}

header, .site-title a {
  color: #fff;
  text-decoration: none;
  background: #1565c0;
}

footer {
  background: #1565c0;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #0d47a1;
}
/* Center content below nav bar */
.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 60vh;
  margin-top: 2rem;
}
/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Reset some default styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding-top: 70px; /* more space for fixed header */
  padding-bottom: 60px; /* more space for fixed footer */
  color: #fff;
  background: #141414 !important;
  min-height: 100vh;
}

/* Video background styling */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

/* Fixed header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #ff512f 0%, #dd2476 60%, #1e3c72 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  padding: 18px 32px 12px 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 18px 18px;
}

.site-title a, header h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 2.1rem;
  letter-spacing: 2px;
  font-weight: bold;
  transition: color 0.2s;
}
.site-title a:hover {
  color: #ffd700;
}

.search-form {
  display: flex;
  align-items: center;
  margin-left: 2rem;
  background: #fff;
  border-radius: 20px;
  padding: 2px 8px 2px 12px;
  box-shadow: 0 2px 8px rgba(44,83,100,0.07);
}

.search-form input[type="search"] {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  width: 120px;
  transition: width 0.3s;
}
.search-form input[type="search"]:focus {
  width: 180px;
}

.search-form button {
  background: #1e3c72;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: 0.2rem;
  transition: background 0.2s;
}
.search-form button:hover {
  background: #16222a;
}

/* Menu button: always visible */
#menu-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: 2rem;
  transition: color 0.2s;
  display: block;
}
#menu-btn:hover {
  color: #ffd700;
}

/* Nav links container */
#nav-links {
  position: fixed;
  top: 70px;
  right: -260px;
  width: 260px;
  height: calc(100% - 70px);
  background: linear-gradient(120deg, #43c6ac 0%, #191654 100%);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.18);
  border-radius: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  transition: right 0.5s cubic-bezier(.77,0,.18,1);
  z-index: 1001;
  overflow-y: auto;
}

#nav-links.active {
  right: 0;
}

#nav-links a {
  color: white;
  text-decoration: none;
  padding: 18px 28px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 1.15rem;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}
#nav-links a:last-child {
  border-bottom: none;
}
#nav-links a:hover,
#nav-links a:focus {
  background: #ffd700;
  color: #2c5364;
  outline: none;
}

/* Responsive nav for desktop */
@media (min-width: 900px) {
  #nav-links {
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    transition: none;
  }
  #nav-links a {
    border-bottom: none;
    padding: 0 18px;
    color: #fff;
    background: none;
    font-size: 1.1rem;
  }
  #nav-links a:hover,
  #nav-links a:focus {
    background: none;
    color: #ffd700;
  }
  #menu-btn {
    display: none;
  }
}

/* Section styling */
section {
  max-width: 1100px;
  margin: 2.5rem auto 0 auto;
  background: #181818;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,83,100,0.08);
  padding: 2.5rem 2rem 2rem 2rem;
}

h3 {
  font-size: 2rem;
  color: #e50914;
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

section p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Image gallery */

.photo-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr); /* Default: 4 columns for desktop */
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr); /* Android: 2 columns */
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr); /* Tablet: 3 columns */
  }
}
}
.photo-gallery figure {
  margin: 0;
  background: #222;
  border-radius: 12px;
  padding: 14px 10px 10px 10px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(44,83,100,0.10);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
}
.photo-gallery figure:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 8px 32px rgba(229,9,20,0.16);
  background: #181818;
}
.photo-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 0.5rem auto;
  background: #222;
  box-shadow: 0 2px 8px rgba(44,83,100,0.07);
  transition: box-shadow 0.2s;
}
figcaption {
  font-size: 1.05rem;
  color: #fff;
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

  margin: 0;
  background: #222;
  border-radius: 12px;
  padding: 14px 10px 10px 10px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(44,83,100,0.10);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
}
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 8px 32px rgba(229,9,20,0.16);
  background: #181818;
}

  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 0.5rem auto;
  background: #222;
  box-shadow: 0 2px 8px rgba(44,83,100,0.07);
  transition: box-shadow 0.2s;
}
.photo-gallery figure:hover img {
  box-shadow: 0 6px 18px rgba(44,83,100,0.18);
}

  font-size: 1.05rem;
  color: #fff;
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Fixed footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #ff512f 0%, #dd2476 60%, #1e3c72 100%);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  padding: 14px 0 10px 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.13);
  z-index: 1000;
  border-radius: 0 0 18px 18px;
  letter-spacing: 1px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
.photo-gallery figure {
  margin: 0;
  background: #222;
  border-radius: 12px;
  padding: 14px 10px 10px 10px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(44,83,100,0.10);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
}
.photo-gallery figure:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 8px 32px rgba(229,9,20,0.16);
  background: #181818;
}
.photo-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 0.5rem auto;
  background: #222;
  box-shadow: 0 2px 8px rgba(44,83,100,0.07);
  transition: box-shadow 0.2s;
}
figcaption {
  font-size: 1.05rem;
  color: #fff;
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
