/* --- GENERAL STYLES --- */
body {
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  padding-top: 80px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #18181b;
  border-bottom: 1px solid #27272a;
  z-index: 50;
  height: 80px;
}

.hover-underline {
  position: relative;
  transition: color 0.3s ease;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dc2626;
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

.hero-contact-button {
  background-color: #fff;
  color: #000;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
}

.default-button {
  background-color: transparent;
  border: 1px solid transparent;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.default-button:hover {
  border-color: #dc2626;
}

.alt-gray-text {
  color: #a1a1aa;
  width: 100%;
}

hr {
  border: none;
  height: 1px;
  background-color: #27272a;
  margin: 24px 0;
}

/* --- ANIMATED BACKGROUND --- */
@keyframes gradientBackground {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(270deg, #111827, #dc2626, #9333ea);
  background-size: 600% 600%;
  animation: gradientBackground 8s ease infinite;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

/* --- CAROUSEL STYLES --- */
.carousel-container {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  width: max-content;
}

.carousel-item {
  flex: 0 0 auto;
  margin-right: 1rem;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 0.5rem;
  font-size: 1.5rem;
  border-radius: 0.25rem;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

/* --- MODALS: Enhanced Styles --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-enhanced {
  font-family: 'Inter', sans-serif;
  padding: 1.5rem;
  background-color: #1f2937;
  color: white;
  border-radius: 0.5rem;
  max-width: 42rem;
  margin: 5% auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: #dc2626;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.modal-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.modal-stat-label {
  font-weight: 600;
}

.modal-copyright {
  font-size: 0.875rem;
  color: white;
}

.modal-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .modal-flex {
    flex-direction: row;
    align-items: flex-start;
  }
}

.modal-image {
  width: 200px;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.modal-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#mobile-menu {
  z-index: 999 !important;
}
