/* Stili specifici della pagina */
body {
    font-family: 'Inter', sans-serif;
}

/* Hero - Proprietà comuni */
.hero {
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0.6)), url('../magelys-express-sfondo.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 80px;
}

.hero--10 {
    height: 550px;
    position: relative;
}

.hero--10::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    pointer-events: none;
}

.hero__content {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 30px;
}

.hero__content h1,
.hero__content p {
    color: #fff;
}

/* Grid */
.grid3 {
    display: flex;
    max-width: 1250px;
    padding: 0 30px;
    margin: 0 auto;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.grid3 .col {
    width: 100%;
}

.grid2 {
    display: flex;
    max-width: 1250px;
    padding: 0 30px;
    margin: 0 auto;
}

.grid2 .col {
    width: 100%;
}

/* Poster */
.poster2 {
    flex-wrap: wrap;
    height: auto;
    display: flex;
    width: 100%;
    max-width: 2500px;
    align-items: center;
}

.poster__1 {
    width: 25%;
    padding: 12px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.poster__1:hover {
    transform: translateY(-5px);
}

.poster__1 img {
    object-fit: contain;
    width: 100%;
    max-width: 180px;
    max-height: 150px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.poster__1:hover img {
    transform: scale(1.05);
}

.poster3__img {
    width: 40%;
    height: auto;
    margin: auto;
}

.poster3__img img {
    object-fit: contain;
    width: 100%;
    max-width: 600px;
    height: auto;
}

.poster3__content {
    width: 60%;
    padding: 50px;
}

/* BG Cover */
.bg-cover {
    display: flex;
    padding: 100px 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0.70)), url('../magelys-express-sfondo.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.bg-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    pointer-events: none;
}

.bg-cover__text {
    width: 50%;
    padding: 30px;
}

.bg-cover__title {
    width: 50%;
    padding: 50px;
    display: flex;
    align-items: center;
}

/* Bottoni */
.bottonevali {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 19px 38px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 2px 1px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.bottone4 {
    width: 100%;
    height: 420px;
    padding: 18px 12px;
    background-color: #252850;
    color: white;
    border: 3px solid #252850;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}

.bottone4:hover {
    background-color: #1e40af;
    color: white;
    border: 3px solid #1e40af;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.bottone4 img {
    margin: 0 auto 20px;
    display: block;
    max-width: 180px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bottone4 b {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.bottone4 span {
    display: block;
    font-size: 0.9em;
    line-height: 1.4;
    flex-grow: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-y: auto;
}

/* Bottoni Immagine - Proprietà comuni */
.bottoneimg {
    color: white;
    width: 100%;
    max-width: 350px;
    height: 280px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-size: 16px;
    margin: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.40)), url('../collegamento-aeroporti.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    border: 5px solid #252850;
    box-shadow: 0 9px 9px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.bottoneimg:hover {
    color: #fbbf24;
    border: 5px solid #fbbf24;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.bottoneimg2 {
    background: linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.40)), url('../collegamento-roma.jpg') no-repeat center center;
}

.bottoneimg3 {
    background: linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.40)), url('../collegamenti-camerota.jpg') no-repeat center center;
}

.bottoneimg b {
    display: block;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.bottoneimg span {
    display: block;
    font-size: 0.95em;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.bottoneimg br {
    display: none;
}

@media (max-width: 1200px) {
    .bottoneimg {
        max-width: 300px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .bottoneimg {
        max-width: 100%;
        width: 100%;
        height: 240px;
        margin: 0 0 15px 0;
    }
}


/* Iframe */
#iframePrenota {
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 9px 9px #ccc;
    position: relative;
    z-index: 10;
}

iframe {
    border: 1px solid black;
    width: 100%;
    text-align: center;
}

iframe {
    border: 1px solid black;
    width: 100%;
    text-align: center;
}

/* Breadcrumb sticky */
#breadcrumb-nav {
    position: sticky;
    top: 80px;
    z-index: 9998;
    width: 100%;
    margin-top: 0;
}

#breadcrumb-nav.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1100px) {

    .poster3__img,
    .poster3__content {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .poster__1 {
        width: 50%;
        padding: 10px;
    }

    .bottone4 {
        height: 400px;
        padding: 15px 10px;
    }

    .bottone4 img {
        max-width: 160px;
        max-height: 130px;
    }
}

@media (max-width: 768px) {
    .poster__1 {
        width: 100%;
        padding: 10px;
        max-width: 400px;
        margin: 0 auto;
    }

    .bottone4 {
        height: auto;
        min-height: 380px;
        padding: 18px 15px;
    }

    .bottone4 img {
        max-width: 150px;
        max-height: 120px;
    }
}

@media (max-width: 768px) {
    .hero--10 {
        height: 400px;
    }

    .grid3 {
        flex-wrap: wrap;
        padding: 0 5px;
        margin-top: 0;
    }

    .grid2 {
        flex-wrap: wrap;
        padding: 0 5px;
    }

    .bg-cover {
        flex-wrap: wrap;
        height: auto;
    }

    .bg-cover__text,
    .bg-cover__title {
        width: 100%;
    }

    .bottone4 {
        width: auto;
        height: 370px;
    }

    .bottoneimg {
        width: 360px;
        height: 240px;
        font-size: 16px;
    }

    .poster__1 {
        width: 100%;
        padding: 15px;
    }

    .poster__1 img {
        object-fit: contain;
        width: 50%;
        height: auto;
    }

    #iframePrenota {
        border: 0px;
        border-radius: 0px;
        box-shadow: 0 0px 0px;
        width: 100%;
    }

    #breadcrumb-nav {
        padding: 0.5rem 0;
        top: 80px;
    }

    #breadcrumb-nav ol {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

@media (max-width: 500px) {
    .bottoneimg {
        width: 300px;
        height: 200px;
    }
}