.modal {
    display: none; /* Alapértelmezetten rejtve */
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fekete áttetsző háttér */
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Fade in/out effekt */
    position: fixed; /* A modált fixen helyezzük el */
    top: 0;
    left: 0;
    display: none; /* Ne jelenjen meg alapértelmezetten */
    overflow-y: auto; /* Engedélyezi a görgetést, ha szükséges */
    padding: 10px; /* Kis margó a széleken */
}



    .modal.show {
        display: block;
        opacity: 1; /* Megjelenéskor teljes opacity */
        animation: fadeIn 0.25s ease-out; /* Fade effekt alkalmazása */
    }


.modal-content {
    background-color: white;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.2s ease-out;
    position: relative;
    top: 50%; /* Függőleges középre igazítás */
    transform: translateY(-50%); /* A valódi középhez igazítja */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

    .close {
        color: #aaa;
        font-size: 30px;
        font-weight: bold;
        position: absolute;
        top: 10px;
        right: 20px;
        cursor: pointer;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
    }

    /* Túrák megjelenése */
    .trip-container {
        max-width: 1100px;
        margin: auto;
        padding: 40px 20px;
    }
    h1, h2 {
        color: var(--primary);
        text-align: center;
    }
    .tour {
        background: var(--light);
        border-left: 6px solid var(--primary);
        padding: 25px;
        margin-bottom: 30px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s ease-in-out;
    }

    .tour:hover {
        background-color: var(--accent-light);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .price {
        font-size: 20px;
        font-weight: bold;
        color: var(--secondary);
        margin-bottom: 10px;
    }
    .btn-custom {
        display: inline-block;
        background: var(--primary);
        color: white;
        padding: 12px 24px;
        text-decoration: none;
        border-radius: 6px;
        transition: 0.3s;
        font-weight: bold;
    }

    .btn-custom:hover {
        background: var(--accent);
    }
