/* Alapbeállítások és közös stílusok */
body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    background-color: #000;
}

.hero-bg {
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%),
        url('https://images.unsplash.com/photo-1655327101907-cf288d1b1f24?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.nav-link-custom {
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-link-custom:hover {
    opacity: 0.8;
    color: #ffffff;
}

.btn-custom {
    padding: 0.6rem 2rem;
    /* Alacsonyabb gomb */
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

.hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 4.0rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    color: #fff;
}

/* =========================================
   Index specifikus stílusok (Főoldal)
   ========================================= */
.hero-subtitle {
    font-weight: 400;
    font-size: clamp(1.2rem, 2.5vw, 1.33rem);
    color: #e0e0e0;
}

.swiper-container-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
}

.swiper {
    width: 100%;
    padding: 10px 0;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-slide {
    width: auto;
}

.swiper-slide img {
    height: 160px;
    width: 240px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background-color: #000;
    transition: all 0.3s ease;
}

/* =========================================
   Login specifikus stílusok (Bejelentkezés)
   ========================================= */
/* Közös kártya stílusok */
.auth-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(195 228 255 / 9%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 100%;
}

.login-card {
    padding: 2.3rem 3rem;
    max-width: 450px;
}

/* Regisztrációs kártya (két oszlop) */
.registration-card {
    max-width: 920px;
    display: flex;
    flex-direction: row;
}

.registration-card .card-image {
    width: 45%;
    background-image: url('https://images.unsplash.com/photo-1689290018351-a0507a3036cb?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.registration-card .form-container {
    flex: 1;
    padding: 3rem;
    text-align: center;
}


.auth-card .hero-title {
    font-size: 2.2rem;
    /* Kicsit kisebb cím */
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    padding: 0.5rem 1rem;
    /* Alacsonyabb input */
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #0d6efd;
    box-shadow: none;
}

.form-label {
    color: #ccc;
    margin-bottom: 0.3rem;
    /* Kisebb távolság a labelnél */
    font-size: 0.9rem;
}

.form-check-label {
    color: #ccc;
    cursor: pointer;
}

/* Custom Checkbox */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.reg-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.reg-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Info card stílusok (ASZF, Adatvédelem, Információk stb.) */
.info-card {
    max-width: 900px;
    text-align: left;
    padding: clamp(1.5rem, 5vw, 3rem);
    color: #e0e0e0;
    line-height: 1.6;
}

.info-card .hero-title {
    color: #fff;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.info-card p {
    margin-bottom: 1.5rem;
}


/* Mobil és kis kijelzők */
@media (max-width: 640px) {
    .btn-custom {
        padding: 0.6rem 2rem;
        font-size: 1rem;
    }

    .swiper-slide img {
        height: 100px;
        width: 150px;
    }

    .swiper-container-wrapper {
        bottom: 15px;
    }

    main.index-main {
        margin-bottom: 140px !important;
    }

    .login-card,
    .registration-card .form-container {
        padding: 2.5rem 1.5rem;
    }

    .registration-card {
        flex-direction: column;
        max-width: 450px;
        margin: 1rem;
    }

    .registration-card .card-image {
        width: 100%;
        height: 200px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 20px;
    }

    .auth-card .hero-title {
        font-size: 2rem;
    }
}



/* Petite Vue v-cloak (megelőzi az inicializálás előtti villanást) */
[v-cloak] {
    display: none !important;
}

@media (max-width: 400px) {
    .btn-custom {
        max-width: 100%;
        padding: 0.6rem 1rem;
    }
}

/* Nagyon alacsony kijelzők */
@media (max-height: 650px) {
    main.index-main {
        margin-bottom: 120px !important;
        padding-top: 20px;
    }

    .index-main .hero-title {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .login-card {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}