/* Basic resets */
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; transition: background .2s, color .2s; scroll-behavior: smooth;}
.light { background: #fff; color: #111; }
.dark { background: #0f1720; color: #e6eef8; }

.navbar-content {
  display: flex;
  align-items: center;
  gap: 20px; 
}

.logo {
  width: 70px;          
  height: 70px;
  border-radius: 50%;    
  object-fit: cover;
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #0b1220 0%, #1a2230 60%);
  height: 60vh;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.hero .hero-animated { animation: pop .8s ease-out; }
@keyframes pop { from { transform: translateY(12px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

/* Rotator */
.hero-rotator { margin-top: 14px; opacity: .9; }
.rot-item { display:inline-block; margin: 0 8px; padding: 6px 10px; border-radius: 20px; background: rgba(255,255,255,0.06); color: #fff; animation: rotateText 9s linear infinite; }
@keyframes rotateText {
  0% { opacity:1; transform: translateY(0) }
  30% { opacity:0; transform: translateY(-10px) }
  33% { opacity:0; transform: translateY(10px) }
  66% { opacity:1; transform: translateY(0) }
  100% { opacity:0 }
}

/* Poster card image handling to avoid collapsing */
.img-wrap { position: relative; overflow: hidden; height: 220px; background: #efefef; display:flex; align-items:center; justify-content:center; }
.img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }

/* theme tag */
.theme-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 9px;
  border-radius: 14px;
  font-size: .8rem;
}

/* favorite button */
.fav-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  background: rgba(255,255,255,0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.fav-btn.active { background: #ff6b6b; color: #fff; }

/* card hover */
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

/* float IG icon */
.floating-ig {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #E1306C;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  text-decoration: none;
}

/* testimonial style */
.testimonial img { height: 220px; object-fit: cover; }

/* modal image fit */
#modalImage { height: 100%; width: 100%; object-fit: contain; background: #000; }

/* small responsive fixes */
@media (max-width: 767px) {
  .img-wrap { height: 180px; }
}
