@import url('https://fonts.googleapis.com/css2?family=Irish+Grover&family=Kirang+Haerang&family=Itim&family=Hepta+Slab:wght@500&display=swap');

:root {
  --rose: #E2317D;
  --light-rose: #F2A5BD;
  --blush: #BD3C6B;
  --deep-pink: #AE1A55;
  --cream: #FFF5E1;
  --soft-rose: #F4E9E8;
}

/* ----------- Global ----------- */
body {
  margin: 0;
  font-family: 'Itim', sans-serif;
  background-color: var(--cream);
  color: #333;
}

/* ----------- Navbar ----------- */
header {
  background: var(--light-rose);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  position: sticky;
  top: 0;
  z-index: 999;
}

h1 {
  font-family: 'Irish Grover', cursive;
  font-size: 1.8rem;
  color: var(--deep-pink);
}

nav a {
  text-decoration: none;
  color: var(--blush);
  font-family: 'Kirang Haerang', cursive;
  margin: 0 10px;
  font-size: 1.1rem;
}

nav a:hover {
  color: var(--deep-pink);
}

/* ----------- Hamburger Menu ----------- */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--deep-pink);
}

/* ----------- About Section ----------- */
.about {
  text-align: center;
  padding: 60px 20px;
}

.about-box {
  background: var(--soft-rose);
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-content img {
  width: 280px;
}

.about-text {
  text-align: left;
  max-width: 500px;
}

.about-text h2 {
  font-family: 'Hepta Slab', serif;
  color: var(--deep-pink);
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.catalog-link {
  text-align: center;
  margin-top: 30px;
}

.catalog-link p {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background: var(--rose);
  color: white;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 30px;
  margin-top: 10px;
  font-family: 'Hepta Slab', serif;
  font-size: 1.1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--deep-pink);
  transform: translateY(-2px);
}

/* ----------- Hero & Catalog ----------- */
.hero {
  text-align: center;
  background: var(--soft-rose);
  padding: 20px;
}

.hero img {
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.catalog img {
  max-width: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.movie {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .3s ease;
  text-align: center;
}

.movie:hover { 
  transform: scale(1.05); 
}

.movie img { 
  max-width: 150px;
  width: 100%; 
  border-radius: 8px; 
}

/* ----------- Trailers ----------- */
.trailer-section {
  text-align: center;
  padding: 20px;
}

video {
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.more-trailers {
  text-align: center;
  padding: 30px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform .3s;
}

.gallery img:hover { 
  transform: scale(1.05); 
}

/* ----------- Footer ----------- */
footer {
  background: var(--light-rose);
  text-align: center;
  padding: 15px;
  font-family: 'Itim', sans-serif;
  font-size: .9rem;
}


/* ----------- Media Queries ----------- */
/* Mobile */
@media (max-width: 768px) {
  header {
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  .menu-icon {
    display: block;
    font-size: 2rem;
    color: var(--deep-pink);
    cursor: pointer;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px; 
    left: 0;
    width: 100%;
    background: var(--light-rose);
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 998;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    text-align: left;
    padding: 15px 25px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  nav a:last-child {
    border-bottom: none;
  }

  nav a:hover {
    background: var(--rose);
    color: white;
  }

  h1 {
    font-size: 1.6rem;
    text-align: center;
    flex: 1;
  }

  /* About section */
  .about {
    padding: 40px 15px;
  }

  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .about-content img {
    width: 200px;
  }

  .about-text {
    text-align: center;
    max-width: 90%;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .btn {
    font-size: 1rem;
    padding: 12px 30px;
  }

  /* Catalog grid */
  .catalog {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .movie img {
    max-width: 180px;
  }

  /* Gallery grid */
  .gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  header {
    padding: 10px 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  nav a {
    font-size: 1rem;
    margin: 0 8px;
    align-items: center;
  }

  .about {
    padding: 50px 20px;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-content img {
    width: 240px;
  }

  .about-text {
    max-width: 80%;
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}