/* Színpaletta - Erdő-köd téma alapján */
:root {
  --primary-dark: #2d4a22;      /* Mély erdő zöld */
  --primary-medium: #4a6b3a;    /* Pára zöld */
  --primary-light: #7a9b5c;     /* Puha moha zöld */
  --secondary-dark: #5d6b47;    /* Földes zöld */
  --secondary-light: #8fa67a;   /* Halvány erdő zöld */
  --accent-warm: #d4a574;       /* Aranyló napfény */
  --text-white: #f8f9f6;         /* Puha fehér */
  --text-light: #e8ede6;        /* Ködös fehér */
  --text-dark: #3a4a35;         /* Erdő sötét */
  --bg-mist: #c4d1c2;           /* Ködös háttér */
  --bg-overlay: rgba(45, 74, 34, 0.8); /* Erdő overlay */
}

/* Alap stílusok */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: transparent;
}
/* Alap stílusok vége */

/* Header */
header {
    background: transparent; /* eltávolítva az áttetsző fehér háttér */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3vw;
    position: absolute;
    width: 100%;
    z-index: 2;
    box-sizing: border-box;
    color: var(--text-white); /* hogy jobban látszódjon a szöveg a háttérkép felett */
    text-shadow: 0 0 5px var(--bg-overlay); /* jobb olvashatóság érdekében */
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 5;
  filter: drop-shadow(0 0 3px #23301480);
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s linear;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobil méretezéshez */

@media (max-width: 768px) {
  nav {
    display: none; /* alapból nem látszik */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    flex-direction: column;
    gap: 0.8rem;
    width: min(300px, calc(100vw - 40px));
    overflow: hidden;
  }
  
  nav a {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  nav.open {
    display: flex;
    z-index: 1000;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 10;
  }
}

nav a {
  color: var(--text-white);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--bg-overlay);
  text-shadow: 0 1px 5px var(--bg-overlay);
  letter-spacing: 0.5px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  text-shadow: 0 1px 5px var(--bg-overlay);
  transform: scale(1.05);
  box-shadow: 0 2px 8px var(--bg-overlay);
}


.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo a:visited,
.logo a:active,
.logo a:focus,
.logo a:hover {
  text-decoration: none;
  color: inherit;
}


.svg-logo {
  width: 75px;
  height: 75px;
  margin-right: 10px;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--bg-overlay));
  transition: width 0.3s ease, height 0.3s ease;
}

.logo-text {
  font-family: 'Bebas Neue', cursive, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.3rem;
  color: var(--text-white);
  text-shadow: 0 0 10px var(--bg-overlay);
  transition: font-size 0.3s ease;
}

.logo-short-text {
  display: none;
}

@media (max-width: 480px) {
  .logo-text {
    display: none !important;
  }
  .logo-short-text {
    display: inline !important;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    color: white;
  }
}

/* Responsive logó és szöveg méretezés */
@media (max-width: 768px) {
  .svg-logo {
    width: 50px;
    height: 50px;
    margin-right: 8px;
  }
  .logo-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .svg-logo {
    width: 35px;
    height: 35px;
    margin-right: 6px;
  }
  .logo-text {
    font-size: 0.4rem;
    letter-spacing: 0.1rem;
  }
}
/* Header szekció vége */

/* Hero szekció */
.hero {
    height: 100vh;
    background: url('images/forset-fog.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Háttér overlay effekt a hero szekcióhoz */
.hero::before {
    content: "";
    position: absolute;
    inset: 0; /* Ez a top: 0, right: 0, bottom: 0, left: 0 rövidítése */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

h1 {
    font-size: 4vw;
    margin: 0;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 1px 2px 30px var(--bg-dark);
}
.explore {
    font-family: 'Bebas Neue', cursive, sans-serif;
    font-weight: 800;
    font-size: 2.5em;
    color: var(--text-dark);
    padding: 0.1em 0.3em;

}
.the-world {
    font-family: 'Bebas Neue', cursive, sans-serif;
    color: transparent;
    -webkit-text-stroke: 0.5px var(--text-dark);
    text-shadow: 1px var(--text-light);
    font-size: 2.5em;
    font-weight: 1000;
    letter-spacing: 1px;
}

.explore,
.the-world {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.explore.visible,
.the-world.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header elemek alapból rejtve */
header .logo,
header .hamburger,
header nav a {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
header .visible-header {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  h1 {
    font-size: 8vw; /* nagyobb, hogy olvasható maradjon */
    letter-spacing: 1px;
  }

  .explore {
    font-size: 1.2em;
  }

  .the-world {
    font-size: 1.2em;
    -webkit-text-stroke: 0.7px var(--text-dark);
    text-shadow: 0.7px var(--text-light);
  }
}
/* Hero szekció vége */

/* About szekció */
.about-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark)); /* erdő-köd átmenet */
  color: var(--text-light); /* puha, ködös szöveg */
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(44, 53, 48, 0.8);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 1px 3px #2b3a14;
}

.about-description {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  text-align: justify;
  text-shadow: 0 1px 1px var(--bg-dark);
}

.about-description strong {
  color: var(--primary-light);
}

.about-join {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-light);
  text-align: center;
  text-shadow: 0 1px 2px var(--bg-dark);
}
/* About szekció vége */

/* Galéria szekció */
.gallery-circle-slider {
  max-width: 100vw;
  margin: 3rem auto;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  position: relative;
  overflow: visible;
  padding: 80px 0;
  z-index: 10;
}

.circle-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

/* 3D térhatású slider container */
.slider-wrapper {
  display: flex;
  perspective: 1200px; /* 3D mélységérzés beállítása */
  position: relative;
  width: 95vw;
  max-width: 1800px;
  height: 400px;
  justify-content: center;
  align-items: center;
  overflow: visible;
  margin: 0 auto;
}

.slide-circle {
  width: 220px;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 8px 15px var(--bg-overlay);
  transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
  cursor: pointer;
  position: absolute;
  opacity: 0.6;
  transform-style: preserve-3d;
  z-index: 1;
}

.slide-circle.active {
  width: 280px;
  height: 280px;
  opacity: 1;
  box-shadow: 0 15px 30px var(--bg-overlay);
  z-index: 10;
  cursor: default;
  transition: all 0.3s ease;
}

.slide-circle.active:hover {
  width: 320px;
  height: 320px;
  box-shadow: 0 20px 40px var(--bg-overlay);
  transform: scale(1.1);
}

/* Fontos, hogy mindig láthatóak legyenek, ne rejtse el semmi */
.slide-circle {
  display: block !important;
}

/* Gallery slide backgrounds */
.slide-circle[data-index="0"] {
  background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=800&q=80');
}
.slide-circle[data-index="1"] {
  background-image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=800&q=80');
}
.slide-circle[data-index="2"] {
  background-image: url('https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=800&q=80');
}
.slide-circle[data-index="3"] {
  background-image: url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?auto=format&fit=crop&w=800&q=80');
}
.slide-circle[data-index="4"] {
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=800&q=80');
}

/* Nyilak */
.prev-circle, .next-circle {
  font-size: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1rem;
  -webkit-user-select: none;
  user-select: none;
  color: var(--primary-medium);
  transition: color 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  position: relative;
  z-index: 20;
}

.circle-slider-container:hover .prev-circle,
.circle-slider-container:hover .next-circle {
  opacity: 1;
  pointer-events: auto;
}

/* Mobil nézet */
@media (max-width: 600px) {
  .gallery-circle-slider {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .slider-wrapper {
    width: 100% !important;
    height: 250px !important; /* Kisebb magasság mobilon */
  }

  .slide-circle {
    width: 120px !important;
    height: 120px !important;
  }

  .slide-circle.active {
    width: 180px !important;
    height: 180px !important;
  }

  .prev-circle, .next-circle {
    display: none !important;
  }
}


.ado-modern {
  background: linear-gradient(135deg, var(--secondary-light), var(--primary-medium));
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 4rem auto;
  box-shadow: 0 15px 30px rgba(74, 99, 47, 0.6);
  color: #f0f5e6;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  transition: transform 0.3s ease;
}

.ado-modern:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px var(--bg-overlay);
}

.ado-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--primary-medium);
}

.ado-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.ado-info {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

@media (max-width: 768px) {

  /* 1. Rólunk szekció: ne legyen széltől szélig */
  .about-section,
  .ado-modern {                          /* ha Adó1% külön szekció .donate-section osztállyal */
    max-width: 90%;                      /* tartalom legfeljebb 90% szélesség */
    margin: 0 auto;                      /* középre igazítás */
    margin-top: 25px;                    /* kis felső margó */
    margin-bottom: 25px;                 /* kis alsó margó */
    padding: 2rem 1rem;                  /* mobilbarát belső margó */
    box-sizing: border-box;
  }

  /* 2. Megakadályozzuk a vízszintes görgetést */
  body, html {
    overflow-x: hidden;
  }

  /* 3. Animáció finomhangolása mobilon */
  .about-section .fade-in,
  .donate-section .fade-in {
    /* eredeti animáció: transform: translateX(100%) vagy hasonló */
    /* mobilon inkább egyszerűbb fade + slight Y-eltolás */
    animation: fadeUp 0.8s ease-out both;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Galéria szekció vége */

/* Social Media szekció */
.social-marquee-container {
  overflow: hidden;
  width: 100%;
  background: rgba(34, 76, 50, 0.884);
  padding: 18px 0;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  overflow-x: hidden; /* vízszintes görgető tiltása */
}

.social-marquee {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #2b2b2b;
  white-space: nowrap;
  font-size: 2rem;
  will-change: transform;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.marquee-text {
  color: #cecece;
  transition: color 0.3s, opacity 0.3s;
  margin-right: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Poppins", Arial, sans-serif;
  opacity: 0.5;
  align-items: center;
  font-size: 2.8rem;
  line-height: 1;
  vertical-align: middle;
  justify-content: center;
}

.social-icon {
  height: 2rem;
  margin: 10px;
  color: #cecece;
  font-size: 2.8rem;
  transition: color 0.3s, filter 0.3s, opacity 0.3s;
  text-decoration: none;
  opacity: 0.5;
  vertical-align: middle;
  justify-content: center;
}

.social-icon svg {
  width: 1.6em;
  height: 1.6em;
  min-width: 1.6em;
  min-height: 1.6em;
  color: #888;
  font-size: 2.8rem;
  transition: color 0.3s, filter 0.3s, opacity 0.3s;
  text-decoration: none;
  display: inline-block;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Hover effekt: szöveg gradiens animáció */
.social-icon:hover {
  color: transparent;
  background: linear-gradient(135deg,
      var(--primary-dark) 0%,
      var(--secondary-dark) 50%,
      var(--accent-warm) 100%);
  -webkit-text-fill-color: transparent; /* Safari támogatás */
  background-clip: text; /* A háttér csak a szövegen jelenik meg */
  filter: drop-shadow(0 0 8px #fff3);
  opacity: 1;
}

.social-icon:hover path {
  color: transparent;
  fill: url(#hover-gradient);
  filter: drop-shadow(0 0 8px #fff3);
  opacity: 1;
}

.marquee-text:hover {
  color: transparent;
  background: linear-gradient(135deg,
      var(--accent-warm) 0%,
      var(--primary-dark) 25%,
      var(--secondary-dark) 40%,
      var(--secondary-dark) 60%,
      var(--primary-light) 75%,
      var(--accent-warm) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: default;
  opacity: 1;
}

/*marquee animáció vége*/

#getStarted {
    margin-top: 2rem;
    background: var(--primary-medium);
    border: none;
    color: var(--text-white);
    font-size: 1.4rem;
    padding: 0.8em 2.2em;
    border-radius: 32px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 1px 4px 24px var(--bg-overlay);
    letter-spacing: 2px;
    transition: background 0.3s, color 0.3s;
    display: none; /* alapból rejtve van */
}
#getStarted:hover {
    background: var(--accent-warm);
    color: var(--text-dark);
}


/* Social Media szekció vége */

/* Footer */
.site-footer {
  background-image: url('images/footer1.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  color: var(--text-white);
  padding: 4rem 2rem 3rem;
  margin-top: 4rem;
  min-height: 500px;
  overflow: hidden;
}


.footer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-areas:
    "logo nav social"
    "copy copy copy";
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  grid-area: logo;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--accent-warm));
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.1);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-warm);
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-warm);
  transform: translateY(-2px);
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-social {
  grid-area: social;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-social-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: var(--accent-warm);
  color: var(--text-dark);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(218, 165, 114, 0.3);
}

.footer-copy {
  grid-area: copy;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* Footer mobil responsive */
@media (max-width: 768px) {
  .site-footer {
    min-height: 50vh;            /* mobilon kisebb arány */
  }

  .footer-content {
    margin-top: auto;
    position: static;
    padding: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav"
      "social"
      "copy";
    gap: 0.2rem;
    text-align: center;
  }

  .footer-logo {
    margin-top: 8rem;
    align-items: center;
  }

  .footer-logo-content {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo-img {
    width: 50px;
    height: 50px;
  }

  .footer-nav-links {
    justify-content: center;
    gap: 0.8rem;
  }

  .footer-social {
    align-items: center;
  }

  .footer-social-links {
    justify-content: center;
    margin-top: 0.25rem;
  }

  .footer-copy {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-social-title {
    margin-bottom: 0.25rem;
  }

  .footer-tagline {
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1rem 0.5rem;
  }

  .footer-content {
    position: static;
    padding: 0;
    gap: 0rem;
  }

  .footer-nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .footer-social-links {
    gap: 0.8rem;
  }

  .footer-social a {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .footer-copy {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
  }
}


/* Footer szekció vége */

/* Görgetősáv stílusok */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(44, 64, 51, 0.1);
  border-radius: 10px;
  border: 2px solid transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--secondary-dark), var(--primary-light));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, var(--primary-light), var(--primary-medium));
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
  transform: scale(1.1);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(45deg, var(--primary-light), #b8e03f);
  box-shadow: inset 0 0 25px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-corner {
  background: rgba(44, 64, 51, 0.1);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #9acd32 rgba(44, 64, 51, 0.1);
}

/* Scrollbar glow effect */
::-webkit-scrollbar-thumb {
  position: relative;
}

::-webkit-scrollbar-thumb:hover::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-light), #b8e03f);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 8px;
    display: none; /* Mobilon elrejtjük a scrollbar-t */
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius: 8px;
  }
}

/* Görgetési haladásjelző sáv
A magassága JavaScript-tel változik az oldal görgetésével */
#scroll-progress {
  position: fixed; /* Fix pozíció a képernyőn */
  top: 0;
  right: 0;
  width: 6px;
  height: 0; /* Kezdeti magasság 0, JS fogja növelni */
  background: linear-gradient(180deg, var(--primary-light), var(--secondary-dark));
  border-radius: 3px;
  z-index: 100;
  transition: height 0.2s ease-out;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Mobil nézeten elrejtjük */
@media (max-width: 768px) {
  #scroll-progress {
    display: none;
  }
}
/* Görgetősáv stílusok vége */

/* Animációk és effektek */
/* Alapértelmezett rejtett állapot minden elemre */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animált állapot */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fáziskésleltetés az elemek egymás utáni megjelenéséhez
Minden elem 0.1 másodperccel később jelenik meg, mint az előző,
létrehozva egy kaszkádszerű animációs hatást */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }

/* Oldalsó effekt alternatíva */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Betöltési képernyő */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-lily {
  width: 150px;
  height: 150px;
  animation: rotateLily 2s linear infinite;
  filter: invert(1) brightness(2) drop-shadow(0 0 20px rgba(255,255,255,0.5));
}

@keyframes rotateLily {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobil nézet */
@media (max-width: 768px) {
  .loading-lily {
    width: 100px;
    height: 100px;
  }
}
