* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #2b333e; /* Dark slate blue background from image */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow-x: hidden;
    color-scheme: dark;
}

.hero-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Háttér elemek: Diszkrét rácsminta */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(43, 51, 62, 0.9) 0%, rgba(43, 51, 62, 0.9) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255,255,255,0.03) 1px, rgba(255,255,255,0.03) 2px),
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.03) 1px, rgba(255,255,255,0.03) 2px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* Böngésző saját görgetősávjának teljes elrejtése */
::-webkit-scrollbar {
    display: none;
}
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth; /* Sima görgetés az oldalon belüli horgonyokhoz */
}

/* Egyedi (DOM) görgetősáv - lebeg az oldal felett */
.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 12px;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.show-scrollbar .custom-scrollbar,
.custom-scrollbar:hover {
    opacity: 1;
}

.custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    right: 2px;
    width: 8px;
    background: #e3d298;
    border-radius: 4px;
    cursor: pointer;
}

/* TOPBAR */
.topbar {
    will-change: background-color, backdrop-filter;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Most már teljesen kitölti, mert nincs böngésző görgetősáv */
    background-color: transparent; /* Alapból átlátszó */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: none; /* Alapból nincs árnyék */
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease; /* Finom átmenet */
}

.topbar.scrolled {
    background-color: #1f252d; /* Gördítés utáni sötét szín */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Gördítés utáni árnyék */
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* Border removed */
}

.logo span {
    font-size: 24px;
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #b0b5ba;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative; /* Az animált aláhúzáshoz szükséges */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px; /* A szöveg alatt egy picit */
    left: 0;
    background-color: #e3d298; /* Az elegáns arany/narancs szín */
    transition: width 0.3s ease;
}

nav a:hover, nav a.active {
    color: #ffffff;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.animated-underline {
    position: relative;
    color: #e3d298;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.animated-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px; /* picit közelebb */
    left: 0;
    background-color: #e3d298;
    transition: width 0.3s ease;
}
.animated-underline:hover {
    color: #ffffff;
}
.animated-underline:hover::after {
    width: 100%;
}

/* MAIN CONTENT */
.content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* SLOGAN ANIMATION */
.slogan-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
}

.main-slogan {
    font-size: 64px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    opacity: 0;
    animation: epicReveal 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.sub-slogan {
    font-size: 22px;
    color: #b0b5ba;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards; /* Késleltetve indul */
}

/* LEFELÉ MUTATÓ NYÍL ANIMÁCIÓ */
.scroll-down-arrow {
    margin-top: 25px;
    opacity: 0;
    animation: fadeInArrow 1s ease-out 1.5s forwards, bounceArrow 2s infinite 2.5s;
    display: flex;
    justify-content: center;
}

.scroll-down-arrow svg {
    width: 55px;
    height: 55px;
    color: #d4af37; /* Elegáns arany szín, ragyogás nélkül */
}

/* ÁLLAPOT JELZŐ DOBOZ */
.status-box {
    margin-top: 40px;
    padding: 12px 30px;
    border: 2px solid #e3d298; /* Fehéres-arany színű keret */
    border-radius: 30px; /* Lekerekített */
    background: transparent; /* Nincs háttér */
    color: #e3d298; /* A betű is fehéres-arany */
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: center; /* Hogy ne nyúljon el a teljes szélességben */
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1.5s forwards; /* Becsúszik a nyíl animációjával egyszerre */
    transition: opacity 0.5s ease;
}

@keyframes epicReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInArrow {
    to { opacity: 1; }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* NEW BOTTOM ELEMENT */
.bottom-wave {
    width: 100%;
    margin-top: auto; /* Lenyomja az aljára */
}

.bottom-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* DRIVERS, NEWS & APPLICATION SECTION */
.drivers-section,
.news-section,
.application-section {
    background-color: #1f252d;
    min-height: 50vh;
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    scroll-margin-top: 75px; /* Hogy a fix fejléc ne takarja ki a tetejét ugráskor */
}

/* Görgetés animációk (Scroll trigger) */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-on-scroll.delay-1 {
    transition-delay: 0.2s;
}

.drivers-section .container,
.news-section .container,
.application-section .container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.drivers-section h2,
.news-section h2,
.application-section h2 {
    color: #e3d298;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 20px;
}

.drivers-section p,
.news-section p,
.application-section p {
    color: #b0b5ba;
    font-size: 18px;
    margin-bottom: 40px;
}

/* JELENTKEZÉS KERET ÉS ŰRLAP */
.application-frame {
    border: 2px solid rgba(227, 210, 152, 0.4); /* Elegáns arany keret */
    border-radius: 15px;
    min-height: 300px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto; /* Középre igazítás */
    padding: 40px; /* Belső térköz */
    background-color: rgba(31, 37, 45, 0.5); /* Sötét, nagyon enyhén áttetsző háttér */
}

.application-frame h3 {
    color: #e3d298;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.section-divider {
    width: 85%;
    height: 1px;
    background-color: rgba(227, 210, 152, 0.2); /* Nagyon vékony, elegáns arany vonal */
    margin: 0 auto 40px auto; /* Középre igazítva, alatta térközzel */
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 35px; /* Kicsit nagyobb térköz a nagyobb blokkok között */
    max-width: 500px;
    margin: 0 auto;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Ezen a szekción belüli elemek távolsága */
    width: 100%;
}

.form-section-title {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
    margin: 0 0 5px 0;
    font-weight: 700;
}

/* LEBEGŐ CÍMKE DIZÁJN */
.floating-label-group {
    position: relative;
    width: 100%;
}

.floating-label-group input,
.floating-label-group textarea {
    width: 100%;
    background-color: transparent;
    border: 2px solid rgba(227, 210, 152, 0.4);
    border-radius: 8px;
    padding: 18px 20px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.floating-label-group textarea {
    resize: vertical;
    min-height: 120px;
}

.floating-label-group label {
    position: absolute;
    left: 15px;
    top: 30px; /* A padding + betűméret feléhez igazítva, hogy pontosan középen legyen */
    transform: translateY(-50%);
    background-color: #20262e; /* A keret hátterével megegyező szín, hogy kitakarja a vonalat */
    color: rgba(255, 255, 255, 0.7); /* Fehér szín */
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 8px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Fókusz vagy ha van benne szöveg */
.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label,
.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: #ffffff; /* Fehér szín fókuszban is */
}

.floating-label-group input:focus,
.floating-label-group textarea:focus {
    outline: none;
    border-color: rgba(227, 210, 152, 0.4); /* Maradjon az eredeti szín */
    background-color: transparent;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Chrome/Webkit Autofill (automatikus kitöltés) sárga/kék háttér eltüntetése */
.floating-label-group input:-webkit-autofill,
.floating-label-group input:-webkit-autofill:hover, 
.floating-label-group input:-webkit-autofill:focus, 
.floating-label-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px #1f252d inset !important; /* A weboldal sötét háttere elfedi a gyárit */
    -webkit-text-fill-color: #ffffff !important; /* Fehér szöveg */
    color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* HIBA ÁLLAPOT (VALIDÁCIÓ) */
.floating-label-group.error input,
.floating-label-group.error textarea {
    border-color: #ff4c4c;
}

.floating-label-group.error label {
    color: #ff4c4c;
}

.error-message {
    color: #ff4c4c;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-left: 5px;
}

.floating-label-group.error .error-message {
    opacity: 1;
    max-height: 60px;
    margin-top: 8px;
}

/* ŰRLAP GOMBOK ÉS FELTÉTELEK */
.btn-primary, .btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(227, 210, 152, 0.4); /* Ugyanaz az áttetsző arany, mint az inputoknál */
    color: #e3d298;
    padding: 15px 40px; /* Ugyanaz a méret, mint a Következő gombnál */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0;
    text-align: center;
    width: auto;
}

/* Egyedülálló gomb (pl. Következő gomb a szekció alján) */
.form-section > .btn-primary {
    align-self: center;
    margin-top: 10px;
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.btn-primary:hover {
    background-color: #e3d298;
    color: #1f252d;
    /* Kivettük a box-shadow-t */
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* Submit gomb töltés közben */
.btn-primary.is-loading {
    padding: 0;
    height: 48px; /* Fix magasság, hogy ne ugráljon */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: wait;
    opacity: 0.8;
}

.submit-arrows-loader {
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.submit-arrows-loader svg {
    width: 100%;
    height: 100%;
}

.submit-arrows-loader .spinning-arrows {
    transform-origin: center;
    transform-box: fill-box;
    fill: #e3d298;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.6));
    animation: rotation 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-primary.is-loading .btn-text {
    display: none;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.terms-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 10px 0;
    line-height: 1.5;
}

/* Kiveszi a nyilakat a szám típusú beviteli mezőkből (pl. játszott percek) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox kompatibilitás */
}

.drivers-grid {
    display: flex;
    border: 2px solid rgba(227, 210, 152, 0.4); /* Nagy, elegáns keret, háttér nélkül */
    border-radius: 15px;
    min-height: 400px;
}

.drivers-column {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.taxi-column {
    position: relative;
}

.taxi-column::after {
    content: "";
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background-color: rgba(227, 210, 152, 0.4);
}

.drivers-column h3 {
    color: #ffffff;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
}

/* Sofőr töltő animáció */
.driver-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* Kitölti a maradék helyet az oszlopban */
    opacity: 0.8;
}

.drivers-section .driver-loader p,
.news-section .driver-loader p {
    color: #e3d298;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px; /* Távolság a pörgőtől csökkentve az új SVG miatt */
    margin-bottom: 0;
    font-weight: 600;
}

/* EGYEDI FELHŐS BETÖLTŐ ANIMÁCIÓ (Uiverse.io) */
.cloud-loader {
  --cloud-color: rgba(227, 210, 152, 0.4); /* Félátlátszó arany a felhőhöz */
  --arrows-color: #e3d298; /* Élénk arany a forgó nyilakhoz */
  --time-animation: 1s;
  transform: scale(0.7); /* Kicsit kisebb, hogy szép legyen */
  margin-bottom: -15px; /* Hogy a szöveg közelebb legyen */
}

.cloud-loader .cloud-svg {
  width: 100px;
  height: 100px;
}

.cloud-loader .cloud-svg rect {
  fill: var(--cloud-color);
}

.cloud-loader .cloud-svg g:nth-child(3) {
  transform-origin: 50% 72.8938%;
  fill: var(--arrows-color);
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.6));
  animation: rotation var(--time-animation) linear infinite;
}

.cloud-loader .shapes-mask g g circle {
  animation: cloud calc(var(--time-animation) * 2) linear infinite;
}

.cloud-loader .shapes-mask g g circle:nth-child(2) {
  animation-delay: calc((var(--time-animation) * 2) / -3);
}

.cloud-loader .shapes-mask g g circle:nth-child(3) {
  animation-delay: calc((var(--time-animation) * 2) / -1.5);
}

.cloud-loader svg .lines-group line {
  stroke-width: 5;
  transform-origin: 50% 50%;
  rotate: -65deg;
  animation: lines calc(var(--time-animation) / 1.33) linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@keyframes lines {
  0% { transform: translateY(-10px); }
  100% { transform: translateY(8px); }
}

@keyframes cloud {
  0% { cx: 20; cy: 60; r: 15; }
  50% { cx: 50; cy: 45; r: 20; }
  100% { cx: 80; cy: 60; r: 15; }
}

/* OLDALSÓ HIRDETÉSEK */
.side-ad {
    position: absolute; /* Hogy együtt görögjön az oldallal, és ott maradjon felül */
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    padding: 0; /* padding levéve, hogy a kép kitöltse */
    border: 2px solid rgba(227, 210, 152, 0.6); /* Elegáns arany/bézs keret */
    border-radius: 20px; /* Lekerekített keret */
    background: transparent; /* Nincs háttér */
    opacity: 0; /* Kezdetben láthatatlan */
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Ettől a benne lévő kép is lekerekített lesz a széleken */
    display: flex;
}

.side-ad img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.side-ad-left {
    left: -250px; /* Képernyőn kívül indul */
    transform: translateY(-50%);
    animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 2s forwards;
}

.side-ad-right {
    right: -250px; /* Képernyőn kívül indul */
    transform: translateY(-50%);
    animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) 2s forwards;
}

@keyframes slideInLeft {
    0% {
        left: -250px;
        opacity: 0;
    }
    100% {
        left: 40px; /* 40px margó a szélétől */
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        right: -250px;
        opacity: 0;
    }
    100% {
        right: 40px; /* 40px margó a szélétől */
        opacity: 1;
    }
}

/* Premium Slogan Carousel */
.slogan-carousel {
    height: 260px; /* Hatalmas hely, hogy garantáltan minden kiférjen a képernyőmérettől függetlenül */
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slogan-track {
    display: flex;
    flex-direction: column;
    height: 200%; /* Két slide miatt 200% */
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.slogan-slide {
    height: 50%; /* Minden slide pontosan a track felét (azaz a carousel 100%-át) veszi fel */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Hirdetés betöltő overlay */
.ad-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 37, 45, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Ha betörne a szöveg, legyen középre igazítva */
    gap: 10px;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    border-radius: 18px; /* Illeszkedik a kerethez */
}

.ad-loader.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(227, 210, 152, 0.3);
    border-top-color: #e3d298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ad-loader span {
    color: #e3d298;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.side-ad img.ad-img {
    position: relative;
    z-index: 1;
}

/* Hirdetés vezérlő gombok */
.ad-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0; /* Alapból rejtett */
    transition: opacity 0.3s ease;
}

/* Hover esetén megjelennek a gombok */
.side-ad:hover .ad-controls {
    opacity: 1;
}

.ad-btn {
    background: rgba(31, 37, 45, 0.8);
    border: 1px solid rgba(227, 210, 152, 0.5);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e3d298;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.ad-btn:hover {
    background: #e3d298;
    color: #1f252d;
    transform: scale(1.1);
}

.ad-btn svg {
    width: 14px;
    height: 14px;
    pointer-events: none; /* Hogy a kattintás a gombon maradjon */
}

/* Modal a nagyított képhez */
.ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Amíg rejtve van, ne kattinthass rá */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ad-modal.active {
    pointer-events: all;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 37, 45, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1001;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ad-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 15px;
    border: 3px solid #e3d298;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    display: block;
}

.modal-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #e3d298;
    color: #1f252d;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
    z-index: 1002;
}

.modal-close-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Kifutó animációk a bezáráshoz */
.slide-out-left {
    animation: slideOutLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

.slide-out-right {
    animation: slideOutRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

@keyframes slideOutLeft {
    0% { left: 40px; opacity: 1; }
    100% { left: -300px; opacity: 0; }
}

@keyframes slideOutRight {
    0% { right: 40px; opacity: 1; }
    100% { right: -300px; opacity: 0; }
}

/* JOB CARDS STYLE */
.job-cards-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.job-card {
    will-change: transform;
    background-color: transparent;
    border: 1px solid rgba(227, 210, 152, 0.2);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    border-color: #e3d298;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.job-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.job-card-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px dashed rgba(227, 210, 152, 0.5);
    padding: 2px;
}

.job-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.job-card-info h4 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.job-subtitle {
    color: #e3d298;
    font-size: 14px;
    font-weight: 500;
}

.job-available {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.job-btn {
    width: 100%;
    height: 40px;
    font-size: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ÁRAK SZEKCIÓ */
.prices-section {
    padding: 80px 0;
    background-color: #121519; /* Slightly darker or different from the main background */
}

.prices-section h2 {
    text-align: center;
    color: #e3d298;
    margin-bottom: 20px;
}

.prices-section p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.prices-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    background-color: #1a1e24;
    border: 1px solid rgba(227, 210, 152, 0.2);
    border-radius: 12px;
    padding: 40px 30px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    border-color: #e3d298;
}

.price-card.highlight {
    border-color: #e3d298;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(227, 210, 152, 0.1);
}

.price-card.highlight:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.price-amount {
    color: #e3d298;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-amount span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.price-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}


/* PRICES SECTION */
.prices-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.price-card {
    background-color: #1a1e24;
    border: 1px solid rgba(227, 210, 152, 0.2);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 320px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: #e3d298;
}

.price-card.highlight {
    border-color: rgba(227, 210, 152, 0.6);
    box-shadow: 0 0 15px rgba(227, 210, 152, 0.15);
}

.price-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.price-header h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.price-amount {
    color: #e3d298;
    font-size: 28px;
    font-weight: 800;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.price-features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.price-features li::before {
    content: '?';
    color: #e3d298;
    margin-right: 10px;
    font-weight: bold;
}


.prices-section {
    padding: 80px 40px;
    background-color: #2b333e; /* alap hatter ami a weboldal stilusa */
    min-height: 30vh;
    display: flex;
    justify-content: center;
}

.prices-container {
    max-width: 600px;
    margin: 40px auto 0;
}


/* ============================================
   ÁRAK SZEKCIÓ
   ============================================ */
.arak-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #161b22 0%, #1a1e24 100%);
    position: relative;
    overflow: hidden;
}

.arak-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 210, 152, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.arak-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.arak-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(227, 210, 152, 0.2);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arak-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e3d298, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arak-card:hover {
    border-color: rgba(227, 210, 152, 0.5);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.arak-card:hover::before {
    opacity: 1;
}

.arak-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.arak-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px dashed rgba(227, 210, 152, 0.4);
    padding: 2px;
}

.arak-card-header h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
}

.arak-subtitle {
    font-size: 13px;
    color: #e3d298;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.arak-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arak-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
}

.arak-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.arak-name {
    color: rgba(255, 255, 255, 0.7);
}

.arak-price {
    color: #e3d298;
    font-weight: 600;
    font-size: 15px;
}

.arak-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    font-style: italic;
    margin-top: 5px;
    line-height: 1.5;
}


.map-label {
    position: absolute;
    color: #e3d298;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(14px, 2.5vw, 24px);
    text-shadow: 2px 2px 4px #000, -1px -1px 2px #000, 0 0 10px rgba(0,0,0,0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
}


@keyframes fadeOutFast {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}


.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
    margin-bottom: 30px;
}

.price-card {
    background: transparent;
    border: 1px solid rgba(227, 210, 152, 0.3);
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

/* Hover was removed to prevent glow */

.price-card h4 {
    color: #e3d298;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px dashed rgba(227, 210, 152, 0.2);
    padding-bottom: 10px;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-card li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #fff;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card li:last-child {
    border-bottom: none;
}

.price-card li span:last-child {
    color: #e3d298;
    font-weight: 600;
}

.extra-services {
    background: transparent;
    border: 1px solid rgba(227, 210, 152, 0.3);
    border-radius: 8px;
    padding: 15px 25px;
    margin-top: 20px;
    display: inline-flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.extra-services span {
    font-size: 1.1rem;
    color: #fff;
}

.extra-services span.price {
    color: #e3d298;
    font-weight: bold;
    font-size: 1.2rem;
}

.price-notice {
    margin-top: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}



/* ROUTE PLANNER STYLES */
.route-planner-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.route-selectors {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #e3d298;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.custom-select {
    background-color: rgba(31, 37, 45, 0.8);
    border: 1px solid rgba(227, 210, 152, 0.3);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e3d298%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.custom-select:hover, .custom-select:focus {
    border-color: #e3d298;
    box-shadow: 0 0 10px rgba(227, 210, 152, 0.1);
}

.custom-select option {
    background-color: #1f252d;
    color: #fff;
    padding: 10px;
}

.route-options {
    margin-bottom: 30px;
    background: transparent;
    padding: 15px;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    user-select: none;
}

.custom-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: rgba(31, 37, 45, 0.8);
    border: 1px solid rgba(227, 210, 152, 0.5);
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s;
}

.custom-checkbox-label:hover input ~ .custom-checkmark {
    border-color: #e3d298;
}

.custom-checkbox-label input:checked ~ .custom-checkmark {
    background-color: #e3d298;
    border-color: #e3d298;
}

.custom-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-label input:checked ~ .custom-checkmark:after {
    display: block;
}

.custom-checkbox-label .custom-checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #1f252d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.route-result {
    text-align: center;
    padding: 20px;
    background: transparent;
}

.route-result h4 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 500;
}

#route-price {
    font-size: 2.5rem;
    color: #e3d298;
    font-weight: bold;
}

@keyframes flowRouteLine {
    to {
        stroke-dashoffset: -20;
    }
}


/* CUSTOM DROPDOWN STYLES */
.custom-dropdown-container {
    position: relative;
    user-select: none;
}

.custom-dropdown-selected {
    background: transparent;
    border: 1px solid rgba(227, 210, 152, 0.3);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-dropdown-selected:hover {
    border-color: #e3d298;
    box-shadow: 0 0 10px rgba(227, 210, 152, 0.1);
}

.custom-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1f252d;
    border: 1px solid rgba(227, 210, 152, 0.3);
    border-radius: 8px;
    margin-top: 5px;
    z-index: 99;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.custom-dropdown-options.active {
    display: block;
}

.custom-dropdown-option {
    padding: 12px 15px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-dropdown-option:hover {
    background-color: rgba(227, 210, 152, 0.2);
    color: #e3d298;
}

.arrow-down {
    border: solid #e3d298;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.2s;
    margin-bottom: 3px;
}

.custom-dropdown-container.open .arrow-down {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

.site-footer {
    width: 100%;
    background-color: #1f252d;
    padding: 30px 20px;
    text-align: center;
}

.footer-content p {
    color: var(--text-color);
    font-size: 14px;
    margin: 5px 0;
}

.footer-content .footer-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 10px;
}


.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #e3d298;
    transition: width 0.3s ease, left 0.3s ease;
}

.footer-link:hover {
    color: #e3d298;
}

.footer-link:hover::after {
    width: 100%;
    left: 0;
}


.footer-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, margin-top 0.4s ease-in-out, padding 0.4s ease-in-out;
    opacity: 0;
    background-color: #1a1e24;
    border-radius: 8px;
    text-align: left;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(227, 210, 152, 0);
}

.footer-expandable.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid rgba(227, 210, 152, 0.2);
}

.footer-expandable h4 {
    color: #e3d298;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.footer-expandable p {
    color: #b0b5ba;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- TOAST NOTIFICATION SYSTEM --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background-color: #1f252d;
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    pointer-events: auto;
    font-family: 'Montserrat', sans-serif;
    border-left: 5px solid transparent;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon svg {
    transform: scale(0);
    opacity: 0;
}

.toast.show .toast-icon svg {
    animation: popIcon 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s forwards;
}

@keyframes popIcon {
    0% {
        transform: scale(0.2) rotate(-30deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.toast-message {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

/* Toast types */
.toast.success {
    border-left-color: #4CAF50;
}
.toast.success .toast-icon {
    color: #4CAF50;
}

.toast.error {
    border-left-color: #ff4d4d;
}
.toast.error .toast-icon {
    color: #ff4d4d;
}

.toast.warning {
    border-left-color: #f39c12;
}
.toast.warning .toast-icon {
    color: #f39c12;
}

.toast.info {
    border-left-color: #e3d298;
}
.toast.info .toast-icon {
    color: #e3d298;
}

