/* /resources/css/main.css */

:root {
  --color-orange-brand: #e67e22;
  --color-orange-dark: #d35400;
}

/* --- ESEMÉNYEK SZEKCIÓ HÁTTÉRKÉPPEL --- */
.section-events {
  padding-top: 6.4rem;
  padding-bottom: 9.6rem;

  /* Sötétítő fólia + A Te képed */
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("/resources/css/img/event-bg.webp");

  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Ez adja a szép, "álló" parallax hatást */
}

/* --- SZEKCIÓ CÍMEK ÁTSZÍNEZÉSE --- */
/* Mivel a háttér sötét lett, a főcímeknek fehérnek kell lenniük */
.section-events .head-2 {
  color: #fff;
}

.section-events .sub-heading {
  color: #eee; /* Törtfehér az alcímnek */
  font-weight: 300;
}

/* --- KÁRTYA STÍLUSOK (Maradnak fehérek) --- */
.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background-color: #fff; /* Fehér kártya a sötét háttéren -> Szuper kontraszt! */
  border-top: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  padding: 2.4rem;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Erősebb árnyék a sötét háttér miatt */
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
}

.event-card .card-icon {
  color: var(--color-orange-brand);
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.2rem;
}

/* Kártyán belüli szövegek maradnak sötétek, mert a kártya háttere fehér */
.event-date {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.8rem;
  display: block;
  letter-spacing: 0.5px;
}

.event-card h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: #333; /* Fontos: ez sötét maradjon */
}

.testimonial-text {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #555;
  flex-grow: 1;
}

.event-btn-box {
  margin-top: auto;
  padding-top: 1rem;
}

.btn--orange {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 9px;
  transition: all 0.3s;

  border: 2px solid var(--color-orange-brand);
  color: var(--color-orange-brand);
  background-color: transparent;
}

.btn--orange:hover {
  background-color: var(--color-orange-brand);
  color: #fff;
}

/* --- RÓLAM MONDTÁK (TESTIMONIALS) SZEKCIÓ --- */

.section-testimonials {
  padding-top: 9.6rem;
  padding-bottom: 9.6rem;

  /* HÁTTÉRKÉP BEÁLLÍTÁSA */
  /* Sötétítő fólia + Kép */
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
    url("/resources/css/img/testimonials-bg.webp"); /* Itt a saját fájlneved legyen! */

  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effekt itt is! */
}

/* --- SZÖVEGEK ÁTSZÍNEZÉSE FEHÉRRE --- */
/* Mivel a háttér sötét lett, a címeknek "világítaniuk" kell */

.section-testimonials .head-2 {
  color: #fff;
}

.section-testimonials .sub-heading {
  color: #eee; /* Törtfehér az alcímnek */
}

/* --- KÁRTYÁK IGAZÍTÁSA --- */
/* A kártyák maradnak fehérek, de adunk nekik egy pici extra árnyékot, 
   hogy jobban kiugorjanak a háttérből */
.section-testimonials .unified-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none; /* Biztos ami biztos */
}

/* Ha ráviszed az egeret a vélemény kártyára, emelkedjen ki */
.section-testimonials .unified-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* --- ESEMÉNYEK LÁBLÉC --- */

.events-footer {
  text-align: center;
  margin-top: 5rem;
  padding-top: 3rem;
  /* Finom elválasztó vonal, hogy elkülönüljön a kártyáktól */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.events-footer-text {
  font-size: 1.8rem;
  color: #eee;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.5;
}

/* A gomb finomhangolása a láblécben.
   Mivel a kártyákban ez a gomb teljes szélességű, itt visszaállítjuk,
   hogy csak akkora legyen, amekkora a szöveg.
*/
.events-footer .btn--orange {
  display: inline-block; /* Nem húzzuk szét teljes szélességre */
  width: auto; /* Automatikus szélesség */
  padding: 1.2rem 4rem; /* Kicsit szélesebb padding, hogy "fontosabbnak" tűnjön */
  background-color: rgba(0, 0, 0, 0.2); /* Egy pici sötétítés a háttéren az olvashatóságért */
}

.events-footer .btn--orange:hover {
  background-color: var(--color-orange-brand); /* Hoverre ugyanúgy narancs lesz */
  color: #fff;
}
