/* ===== Base ===== */
:root {
  --primary: #e50914;
  --primary-dark: #b20710;
}
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* ===== Navbar ===== */
.navbar {
  background: transparent;
  transition: all 0.3s;
  padding: 1rem 0;
}
.navbar.scrolled {
  background: #111;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.5rem 0;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.navbar.scrolled .navbar-brand { color: var(--primary); }
.navbar.scrolled .nav-link { color: #ccc; }
.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.text-primary { color: var(--primary) !important; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1600&h=900&fit=crop') center/cover no-repeat;
  padding-top: 80px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
}
.hero-search {
  max-width: 850px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* ===== Genre / Destination Cards ===== */
.destination-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}
.destination-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}
.destination-card:hover img { transform: scale(1.08); }
.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}
.destination-overlay h5 { margin-bottom: 0.25rem; }
.destination-overlay span { font-size: 0.875rem; opacity: 0.85; }

/* ===== Movie / Tour Cards ===== */
.tour-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.badge-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Icon Box ===== */
.icon-box {
  width: 48px;
  height: 48px;
  background: rgba(229,9,20,0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e, var(--primary-dark));
}

/* ===== Gallery ===== */
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ===== Footer ===== */
footer {
  background: #0a0a0a !important;
}
footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--primary); }
footer li { margin-bottom: 0.5rem; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(229,9,20,0.4);
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ===== Form Controls ===== */
.form-control, .form-select {
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
}
.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(229,9,20,0.15);
  border-color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-search { padding: 1rem !important; }
  .destination-card img { height: 200px; }
}
