﻿/*==================================================
    ASTRA
    NEXT TOURS
    HOME
==================================================*/

.nexttours-page {
    background: #DBD0A3;
    min-height: 100vh;
    padding: 120px 40px 80px 40px;
}

.nexttours-title {
    margin: 0;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #102548;
}

.nexttours-subtitle {
    margin: 8px 0 55px 0;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #102548;
}

/*==================================================
    RIGA CARD
==================================================*/

.nexttours-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    flex-wrap: nowrap;
}

/*==================================================
    CARD
==================================================*/

.nexttour-card {
    width: 285px;
    background: #ffffff;
    border: 8px solid #102548;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: .25s;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

    .nexttour-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 34px rgba(0,0,0,.30);
    }
/*==================================================
    IMMAGINE
==================================================*/

.nexttour-image {
    padding: 12px;
    background: #102548;
}

    .nexttour-image img {
        display: block;
        width: 100%;
        height: 215px;
        object-fit: cover;
        border: 2px solid #d7bf63;
        box-sizing: border-box;
    }

/*==================================================
    FASCIA INFERIORE
==================================================*/

.nexttour-footer {
    min-height: 72px;
    background: #ffffff;
    padding: 10px 14px;
    box-sizing: border-box;
    text-align: center;
}

.nexttour-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 700;
    color: #102548;
    text-align: center;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.nexttour-card-date {
    margin-top: 6px;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: bold;
    color: #102548;
    text-align: center;
    line-height: 1.2;
}

/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width: 1400px) {

    .nexttours-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 900px) {

    .nexttours-page {
        padding: 110px 20px 60px 20px;
    }

    .nexttours-title {
        font-size: 46px;
    }

    .nexttours-subtitle {
        font-size: 19px;
        margin-bottom: 35px;
    }

    .nexttour-card {
        width: 300px;
    }
}
/*==================================================
    ASTRA
    NEXT TOUR DETTAGLIO
==================================================*/

.nexttour-page {
    background: #c2b16a;
    min-height: 100vh;
    padding: 120px 0 80px 0;
}

.nexttour-sheet {
    width: 92%;
    max-width: 1450px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.22);
}

/*==================================================
    FOTO PANORAMICA
==================================================*/

.nexttour-hero {
    width: 100%;
    margin: 0;
}

.hero-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    position: static;
    opacity: 1;
    transition: none;
}

/*==================================================
    CONTENUTO
==================================================*/

.nexttour-content {
    width: 900px;
    max-width: 90%;
    margin: 60px auto;
    text-align: center;
}

.nexttour-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 64px;
    font-weight: 300;
    color: #102548;
    text-align: center;
    margin-bottom: 10px;
}

.nexttour-date {
    font-family: Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #102548;
    text-align: center;
    margin-bottom: 45px;
}

.nexttour-availability {
    margin: -25px 0 38px;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.availability-available {
    color: #16733a;
}

.availability-complete {
    color: #c62828;
}

.nexttour-description {
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 2;
    color: #222222;
    text-align: justify;
    margin-bottom: 60px;
}

/*==================================================
    MANIFESTAZIONE DI INTERESSE
==================================================*/

.nexttour-interest {
    text-align: center;
    margin-top: 55px;
    padding-bottom: 60px;
}

    .nexttour-interest p {
        font-family: Georgia, serif;
        font-size: 20px;
        color: #102548;
        margin-bottom: 25px;
    }

.interest-button {
    background: #102548;
    color: #ffffff;
    border: none;
    padding: 16px 42px;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .25s;
    border-radius: 6px;
}

    .interest-button:hover {
        background: #1c3c70;
    }

/*=====================================================
  POPUP MANIFESTAZIONE DI INTERESSE
=====================================================*/

.overlay-login {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.60);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

.popup-login {
    width: 520px;
    max-width: 92%;
    background: #f7f2df;
    border: 2px solid #102548;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
}

.popup-logo {
    width: 140px;
    margin-bottom: 15px;
}

.popup-login h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    font-weight: 300;
    color: #102548;
    margin: 10px 0 20px 0;
}

.popup-login p {
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.popup-input {
    width: 100%;
    padding: 13px;
    margin-bottom: 15px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    font-size: 17px;
    box-sizing: border-box;
}

    .popup-input:focus {
        outline: none;
        border-color: #102548;
    }

.popup-button {
    width: 100%;
    padding: 14px;
    background: #102548;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
    transition: .25s;
}

    .popup-button:hover {
        background: #1c3c70;
    }

.popup-close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 26px;
    color: #102548;
    cursor: pointer;
    font-weight: bold;
}

    .popup-close:hover {
        color: #1c3c70;
    }

.popup-error {
    display: block;
    min-height: 22px;
    color: #b00020;
    font-size: 15px;
    margin: 8px 0 12px 0;
}

/*==================================================
    RESPONSIVE DETTAGLIO
==================================================*/

@media (max-width:900px) {

    .nexttour-title {
        font-size: 42px;
    }

    .nexttour-date {
        font-size: 20px;
    }

    .nexttour-description {
        font-size: 18px;
    }

    .nexttour-content {
        width: 94%;
    }
}
