/* Main styles moved from index.html */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0f0f0f;
  color: white;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
  background: #800000;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a00000;
}

/* Navbar styles */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background-color: rgba(15, 15, 15, 0.95);
  box-shadow: 0 4px 20px rgba(128, 0, 0, 0.2);
}

/* Hero slider */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button glow effect */
.btn-glow {
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 20px rgba(128, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* Card hover effect */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(128, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

/* Hero content font sizing and alignment */
.hero-content {
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
  line-height: 1.02;
  margin-bottom: 0.75rem;
  text-align: center;
  word-break: break-word;
}

/* Title line styling so both lines match and fit */
.hero-content h1 .title-line {
  display: block;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.05;
  text-align: center;
  font-weight: 700;
}

.hero-content p {
  font-size: clamp(1rem, 2.2vw + 0.2rem, 1.75rem);
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }

  .hero-content p {
    font-size: 1.75rem;
  }
}
