:root {
  --primary-color: #0d6efd;
  --bg-dark: #121212;
  --card-bg: #1e1e1e;
  --text-muted: #a0a0a0;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Typography --- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-roboto-condensed {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.font-pompiere {
  font-family: 'Pompiere', cursive;
}

/* --- Layout Components --- */

section {
  scroll-margin-top: 80px;
  padding: 5rem 0;
}

.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: transparent !important;
  transition: var(--transition-smooth);
}

.navbar.navbar-scrolled {
  background-color: rgba(18, 18, 18, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- 404 Page Animations --- */

.record-wrapper {
  position: relative;
  display: inline-block;
  font-size: 8rem;
}

.floating-animation {
  display: inline-block;
  animation: float 3s ease-in-out infinite, rotate 10s linear infinite;
}

.needle {
  position: absolute;
  top: 10%;
  right: -20px;
  width: 60px;
  height: 4px;
  background: #666;
  transform-origin: left center;
  transform: rotate(25deg);
  border-radius: 2px;
  animation: scratch 0.5s ease-in-out infinite alternate;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes scratch {
  from {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(30deg);
  }
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* --- Hero Section --- */

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('https://images.unsplash.com/photo-1571266028243-3716f02d2d2e?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Cards & Setups --- */

.card {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.package-card {
  height: 100%;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 12px;
  border: none;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.package-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  padding: 5rem 1.5rem 2rem;
  transition: var(--transition-smooth);
  width: 100%;
  margin-bottom: -1px;
}

.package-card:hover .package-overlay {
  padding-bottom: 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 70%, transparent 100%);
}

.package-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.package-image-fit {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* --- Forms & Inputs --- */

.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  color: #fff;
}

.form-select option {
  background-color: #212529;
  color: #ffffff;
}

/* --- Splash Screen --- */

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  animation: splashScale 1.5s ease-out forwards;
  max-width: 600px;
  width: 90%;
}

.splash-logo {
  max-width: 400px;
  width: 120%;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(13, 110, 253, 0.3));
}

.tracking-widest {
  letter-spacing: 0.5rem;
}

#enter-site {
  transition: all 0.3s ease;
  letter-spacing: 2px;
  font-weight: 600;
}

#enter-site:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

@keyframes splashScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.splash-active {
  overflow: hidden;
}

/* --- Responsive Adjustments --- */

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .package-card {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .display-1 {
    font-size: 3.5rem;
  }
}

