/* Fullscreen Banner Styles */
.fullscreen-banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.fullscreen-banner .carousel {
    height: 100vh;
}

.fullscreen-banner .carousel-inner {
    height: 100vh;
}

.fullscreen-banner .carousel-item {
    height: 100vh;
    position: relative;
}

.fullscreen-banner .carousel-item img {
    height: 100vh;
    object-fit: cover;
    width: 100%;
}

/* Center the caption content */
.fullscreen-banner .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(30, 58, 95, 0.85);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 126, 204, 0.3);
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Automatikus magasság beállítása */
    display: inline-block;
    max-height: none;
    height: fit-content;
}

.fullscreen-banner .carousel-caption h5 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.fullscreen-banner .carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.fullscreen-banner .carousel-caption .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(45deg, #3a7ecc, #1e3a5f);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 126, 204, 0.4);
    margin-top: 0.5rem;
}

.fullscreen-banner .carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 126, 204, 0.6);
    background: linear-gradient(45deg, #4a8edc, #2e4a6f);
}

/* Custom Navigation Arrows */
.fullscreen-banner .carousel-control-prev,
.fullscreen-banner .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 95, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 126, 204, 0.4);
    transition: all 0.3s ease;
}

.carousel-control-next-icon:after,
.carousel-control-prev-icon:after {
    font-family: FontAwesome;
    content: "";
    font-size: 32px;
    color: var(--primary-color);
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
    background: transparent;
    color: white;
}

.fullscreen-banner .carousel-control-prev {
    left: 30px;
}

.fullscreen-banner .carousel-control-next {
    right: 30px;
}

.fullscreen-banner .carousel-control-prev:hover,
.fullscreen-banner .carousel-control-next:hover {
    background: rgba(58, 126, 204, 0.9);
    border-color: rgba(58, 126, 204, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-banner .carousel-control-prev-icon,
.fullscreen-banner .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
}

/* Custom Indicators */
.fullscreen-banner .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.fullscreen-banner .carousel-indicators button {
    width: 60px;
    height: 6px;
    border-radius: 3px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.fullscreen-banner .carousel-indicators button.active {
    background: linear-gradient(45deg, #3a7ecc, #1e3a5f);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(58, 126, 204, 0.5);
}

.fullscreen-banner .carousel-indicators button:hover {
    background: rgba(58, 126, 204, 0.7);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fullscreen-banner .carousel-caption {
        padding: 1.5rem;
        width: 95%;
    }

    .fullscreen-banner .carousel-caption h5 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .fullscreen-banner .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .fullscreen-banner .carousel-control-prev,
    .fullscreen-banner .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .fullscreen-banner .carousel-control-prev {
        left: 15px;
    }

    .fullscreen-banner .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .fullscreen-banner .carousel-caption {
        padding: 1rem;
        width: 95%;
    }

    .fullscreen-banner .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .fullscreen-banner .carousel-caption p {
        font-size: 1rem;
    }
}
