/* --- 1. SCROLL SNAP MOTOR --- */
html {
    /* Függőleges irányú kényszerített rögzítés */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Fehér sáv elleni védelem */
    background-color: black;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* --- 2. SZEKCIÓK (A "UGRÁS" LOGIKÁJA) --- */ 
section {
    height: 100vh;
    width: 100vw;
    /* Megmondja a böngészőnek, hol rögzítse a nézetet */
    scroll-snap-align: start; 
    /* Ez akadályozza meg, hogy túlgyorsan átpörgesd: megáll az elsőnél */
    scroll-snap-stop: always; 
    position: relative;
    overflow: hidden;
}
.text-center{
    position: relative;
    z-index: 1;
 }

.navbar {
    position: relative;
    display: flex;
    top: 0;
    left: 0; /* Vagy 'right: 40px', ha a jobb oldalon szeretnéd */
    z-index: 100;
    background: transparent; /* A fő sáv láthatatlan */
    padding: 20px;
    justify-content: center;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0; /* Ez adja meg a "kapszula" méretét */
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;

}

.nav-links li {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* A belső linkeknek adunk paddingot, hogy a teljes kapszula kattintható legyen */
.nav-links li a {
    display: block;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Hover effekt csak az adott gombra */
.nav-links li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* --- 3. HERO SZEKCIÓ --- */
.hero-section {
    background-image: url('gomb_halo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

/* --- 4. SPLIT SCREEN (VÁLASZTÓ RÉSZ) --- */
.main-split-row {
    width: 100vw;
    height: 100vh;
    margin: 0 !important;
    display: flex;
}

.split-panel {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    /* Lassított, súlyos mozgás hovernél */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}


/* --- 5. DINAMIKUS HOVER (Csak asztali gépen) --- */
@media (min-width: 768px) {
    .main-split-row:hover .split-panel {
        flex: 0 0 25%;
        max-width: 25%;
        filter: brightness(0.4);
    }

    .main-split-row .split-panel:hover {
        flex: 0 0 50%;
        max-width: 50%;
        filter: brightness(1);
    }

    .split-panel h2 {
    font-size: 3.5vw !important;
    max-width: 90%;
}
}

/* --- 6. HÁTTEREK ÉS GOMBOK --- */
.left-side {
    background: url('web_hatter.png') center/cover no-repeat;
    color: white;
}
.middle-side{
    background: url('admin2.png') center/cover no-repeat;
    border-left: 1px solid rgba(255,255,255,0.05);
}

.right-side {
    
    background: url('assistance.png') center/cover no-repeat; /* A lila átmenetedhez passzoló sötét */
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.btn-custom {
    position: relative;
    display: flex;
    top: 0;
    left: 0; /* Vagy 'right: 40px', ha a jobb oldalon szeretnéd */
    z-index: 100;
    background: transparent; /* A fő sáv láthatatlan */
    padding: 20px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    display: block;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.btn-custom a {
    display: block;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.btn-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* --- 7. MOBIL NÉZET --- */
@media (max-width: 768px) {
    /* Mobilon kikapcsoljuk a snappelést a jobb élményért */
    html { scroll-snap-type: y mandatory; }
    .split-panel {
        flex: 0 0 100%;
        max-width: 100%;
        height: 33.33vh;
    }

    .navbar {
        position: relative;
        top: 0;
        left: 0;
        padding: 20px;
        display: flex;
        justify-content: center;

    }
    .nav-links {
        gap: 10px;
    }

    .nav-links li a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
/* --- NYÍL --- */
.scroll-down {
  position: absolute;
  bottom: 10vh; /* Alulról 30px-re */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.scroll-down:hover {
  opacity: 1;
}

/* A nyíl ikon megrajzolása (tiszta CSS-szel) */
.arrow span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid white;
  border-right: 3px solid white;
  transform: rotate(45deg);
  margin: -10px;
  animation: scroll-arrow 2s infinite;
}

/* Késleltetés a második nyílnak a dupla hatásért */
.arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

@keyframes scroll-arrow {
  0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}
/* --- SZÍNÁTMENET --- */
.blur-background {
    width: 100%;
    height: 100vh; /* Teljes képernyőmagasság */
    background: linear-gradient(
      90deg, 
      #11091b 0%,   /* Sötét lila */
      #1b112b 20%,
      #21162e 40%,
      #868686 60%,
      #93f081 80%,  /* Világos szürke */
      #6af061 100%  /* Világos zöld */
    );
    background-size: 100% 100%; /* Kicsit megnöveljük a lágyabb átmenetért */
  }

  /* ---LOTTIE --- */
.position-relative {
    display: inline-block; /* Hogy a körítés a szöveg méretéhez igazodjon */
    padding: 50px; /* Hely az ikonoknak */
}

.tiny-lottie {
    position: absolute;
    width: 100px;  /* Kis méret */
    height: 100px;
    z-index: -1;  /* A szöveg mögé/mellé */
    opacity: 0.6;
    filter: blur(0.5px); /* Enyhe mélységérzet */
}

/* Egyedi pozíciók az ADMINFLOW felirat körül */
.t1 { top: -50%; left: 125%; transform: rotate(15deg); }   /* Balra fent */
.t2 { top: 20%; right: -5%; }   /* Jobbra középen */
.t3 { bottom: 0%; left: -5%; }  /* Balra lent */
.t4 { top: -20%; right: 20%; }  /* Jobbra fent */

/* Bónusz: Lebegő animáció CSS-szel */
@keyframes float {
    0% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-10px) rotate(15deg); }
    100% { transform: translateY(0px) rotate(15deg); }
}

.tiny-lottie {
    animation: float 4s ease-in-out infinite;
}