/* ========== CINEMATIC PRODUCTION HOUSE – সিতারা বাংলা ========== */
/* Import elegant font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* ---------- CSS CUSTOM PROPERTIES (Dark Mode Default) ---------- */
:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #d9d9d9;
  --accent: #d60000;
  --accent-dark: #8b0000;
  --border-light: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.05);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.light-mode {
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --border-light: rgba(0, 0, 0, 0.1);
  --card-bg: rgba(0, 0, 0, 0.03);
}

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  cursor: default;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ---------- CUSTOM SCROLLBAR (Luxury Cinematic) ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* ---------- NAVIGATION ---------- */
.nav-link {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--accent);
}


/* Glass navbar on scroll */
.navbar-scrolled {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(214, 0, 0, 0.2);
}
body.light-mode .navbar-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(214, 0, 0, 0.3);
}

/* ---------- HERO FADE UP ANIMATION ---------- */
.animate-fade-up {
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  background-color: var(--card-bg);
  border-color: var(--border-light);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 35px -12px rgba(214, 0, 0, 0.25);
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
.reveal-fade,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
  transform: translateX(-40px);
}
.reveal-right {
  transform: translateX(40px);
}
.revealed {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;
}

/* ---------- VIDEO MODAL ---------- */
#videoModal {
  transition: opacity 0.4s ease, visibility 0.4s;
}
#videoModal.show {
  display: flex !important;
  animation: modalFade 0.3s forwards;
}
@keyframes modalFade {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(12px);
  }
}

/* ---------- IMAGE HOVER (Cinematic) ---------- */
.group img {
  will-change: transform;
}

/* ---------- BACK TO TOP BUTTON ---------- */
#backToTop {
  transition: all 0.3s;
  opacity: 0;
  transform: scale(0.8);
}
#backToTop.show {
  opacity: 1;
  transform: scale(1);
}

/* ---------- MOBILE MENU LINKS ---------- */
.mobile-link {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  border-bottom: 1px solid transparent;
  transition: 0.2s;
  color: var(--text-primary);
}
.mobile-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* ---------- PRELOADER ANIMATION ---------- */
.cinema-loader {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---------- CINEMATIC GRADIENT TEXT (Logo) ---------- */
.logo-text {
  background: linear-gradient(135deg, #fff 30%, var(--accent) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- BUTTON HOVER EFFECT ---------- */
.group span:last-child {
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- PARALLAX FIXED BACKGROUND ---------- */
.bg-fixed {
  background-attachment: fixed;
}

/* ---------- HERO BACKGROUND SLIDER ---------- */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .text-8xl {
    font-size: 3rem;
  }
}

/* ---------- LIGHT MODE OVERRIDES (using variables) ---------- */
/* body.light-mode .bg-black,
body.light-mode .bg-\[0f0f0f\],
body.light-mode .bg-gradient-to-br,
body.light-mode footer {
  background-color: var(--bg-secondary) !important;
  background-image: none !important;
  border-color: var(--border-light) !important;
}

body.light-mode .text-gray-300,
body.light-mode .text-gray-400,
body.light-mode .text-white:not(.logo-text span) {
  color: var(--text-secondary) !important;
}

body.light-mode .border-white\/10 {
  border-color: var(--border-light) !important;
}

body.light-mode .bg-white\/5 {
  background-color: var(--card-bg) !important;
}

body.light-mode .video-card .absolute.bg-black\/40 {
  background: rgba(0, 0, 0, 0.2);
}

body.light-mode .group .text-white {
  color: white !important; /* keep play button white */
/* }

body.light-mode .contact-cta .absolute {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
} */

/* Helper class (kept for compatibility) */
/* .fix-color {
  color: var(--text-secondary);
} */ 