/* Hero Section with Carousel */
.hero {
  min-height: 90vh;
  position: relative;
  color: var(--neon-red);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInHero 1.2s ease-out forwards;
  will-change: transform, opacity;
  /* margin-top: -30px; Remove this line */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  font-family: var(--font-primary); /* Uses 'Gallos Uncial' */
  font-size: 10rem;
  opacity: 0.8; /* Slightly reduced opacity for a softer look */
  font-weight: bold;
  color: var(--white);
  text-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red);
  margin-bottom: -4rem;
  letter-spacing: 2px;
}

/* Carousel Container */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Dark Overlay for Text Readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, 
      rgba(10, 10, 10, 0.7) 0%,
      rgba(10, 10, 10, 0.4) 20%, 
      rgba(10, 10, 10, 0.2) 40%,
      rgba(0, 0, 0, 0.3) 100%
    );
  z-index: 1;
  backdrop-filter: blur(1px);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; /* Small consistent gap between all child elements */
}

.hero-content > * {
  text-shadow: 0 0 8px var(--neon-red);
  color: var(--white);
  margin-top: 0.5rem;
}

/* Target the paragraph specifically */
.hero-content p {
  margin: 0rem; /* Remove all margins */
  font-size: 1.5rem;
}

/* Target the button specifically */
.hero-content .btn {
  margin: 0; /* Remove all margins */
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 4;
  transform: translateY(-50%);
}

.slider-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: 2px solid var(--neon-red);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px var(--neon-red);
}

.slider-nav button:hover {
  background: var(--neon-red);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--neon-red);
}

/* Dots Indicator */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active,
.dot:hover {
  background: var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red);
  border-color: var(--white);
}

/* ...existing code... */

/* Responsive for Carousel */
@media screen and (max-width: 768px) {
  .slider-nav {
    padding: 0 1rem;
  }
  
  .slider-nav button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .slider-dots {
    bottom: 20px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* ...existing code... */

/* Info Section */
.info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: #111;
}

.card {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  max-width: 350px;
  flex: 1;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px var(--neon-red);
}

.card h2 {
  color: var(--neon-red);
  margin-bottom: 1rem;
}

/* Responsive Fixes */
@media screen and (max-width: 768px) {
  .info {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 90%;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media screen and (max-width: 768px) {

  /* Hero Section Mobile */
  .hero {
    padding: 4rem 1rem;
    min-height: 70vh;
  }
  
  .hero-logo {
    font-size: 3rem !important;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  /* Info Section Mobile */
  .info {
    padding: 2rem 1rem;
    flex-direction: column;
  }
  
  .card {
    max-width: 100%;
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Very Small Phones */
@media screen and (max-width: 480px) {
  .hero-logo {
    font-size: 2.5rem !important;
  }
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .hero {
    min-height: 75vh;
  }

  .hero-logo {
    font-size: 7rem;
  }

  .info {
    gap: 1.5rem;
    padding: 3rem 1.5rem;
  }

  .card {
    max-width: 300px;
  }
}

/* Large Screens */
@media screen and (min-width: 1440px) {
  .hero {
    min-height: 95vh;
  }

  .hero-logo {
    font-size: 12rem;
  }

  .info {
    padding: 5rem 4rem;
    gap: 3rem;
  }

  .card {
    max-width: 400px;
  }
}
