/* ÜLDISED SEADED JA VÄRVID */
:root {
  --primary: #cc2200; /* Punane põhivärv */
  --dark-bg: #0d0d0d; /* Tume taustavärv */
  --text-gray: #a0a0a0; /* Hall abi-tekst */
}

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

h1,
h2,
h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.section-title {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* NAVIGATSIOON */
.navbar {
  background-color: rgba(13, 13, 13, 0.95);
  border-bottom: 2px solid var(--primary);
}

/* 1. HOVER EFEKT: Menüü lingid värvuvad punaseks */
.nav-link {
  color: white !important;
  text-transform: uppercase;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* HERO SEKTSIOON (Taustapilt ja tekst pildil) */
.hero {
  /* Kasutame gradienti pildi peal, et tekst oleks loetav */
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('pildid/kontsert.jpg') no-repeat center center/cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-gray);
}

/* 2. HOVER EFEKT: Nupu värvivahetus ja piirjoon */
.btn-custom {
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
}

/* GALERII (CSS Grid süsteem) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.band-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* 3. HOVER EFEKT: Kaart kerkib ja muutub nähtavamaks */
.band-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(204, 34, 0, 0.2);
}

.band-card img {
  height: 250px;
  object-fit: cover;
}

/* 4. HOVER EFFEKT: Artistide nimed muudavad värvi hiirt peale hoides */
.artist-link {
  transition: color 0.3s ease;
}

.artist-link:hover {
  color: var(--primary) !important;
}

/* AJALUGU */
.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background-color: transparent !important;
  box-shadow: none;
  padding-left: 1.5rem;
}

/* Accordion animatsioon */
.accordion-button {
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.accordion-body {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accordion-collapse.show .accordion-body {
  opacity: 1;
}

/* Eemalda sinine kast */
.accordion-button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* SISESTUSVORM */
.container-form {
  max-width: 600px;
}

/* Sisendväljend */
.custom-input {
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  padding: 12px !important;
  transition: all 0.3s ease;
}

.custom-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 8px rgba(204, 34, 0, 0.4) !important;
}

.custom-input::placeholder {
  color: white !important;
}

/* Toast */
.toast {
  background-color: #1a1a1a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', sans-serif;
}

/* MOBIILVAADE */

/* Galerii: 3 veergu → 1 veerg mobiilil */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Hero tekst väiksem */
  .hero-subtitle {
    font-size: 1rem;
  }

  /* Section pealkiri väiksem */
  .section-title {
    font-size: 2.2rem;
  }

  /* Collapse menüü vertikaalselt */
  .navbar-collapse .navbar-nav {
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding-bottom: 1rem;
  }
}
