/* Font & base */
body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #fff;
    color: #111;
    margin: 0;
}

/* HERO BASE (DESKTOP) */
.hero-section {
    position: relative;
    background-image: url('../images/hero.png'); /* tuo file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 75vh;
    padding: 40px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.95) 80%);
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-logo-img {
    max-width: 300px;
    margin-bottom: 24px;
    margin-top:200px;
}

/* SOCIAL SOTTO MENU */
.hero-social-wrapper {
    position: relative;
    z-index: 2;
}

.hero-social {
    gap: 14px;
}

.hero-social-link {
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.hero-social-link:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: translateY(-2px);
}



/* QUICK LINKS SECTION */
.quick-links-section {
    padding: 40px 0 60px;
}

.quick-card {
    display: block;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 26px 22px 28px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

.quick-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background-color: #dbe84a; /* giallo/verde pallina */
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-card-icon img {
    max-width: 42px;
}

.quick-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.quick-card-text {
    font-size: 0.85rem;
    margin: 0;
}

/* stringiamo un po' le card per la versione 4-colonne mobile */
.quick-row {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .quick-links-section {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .quick-card {
        padding: 16px 8px 18px;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    }

    .quick-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
        border-radius: 14px;
    }

    .quick-card-icon img {
        max-width: 32px;
    }

    .quick-card-title {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0;
        text-transform: uppercase;
    }
}

/* INTRO SECTION */
.intro-section {
    background-color: #f2f2f2;
    color: #111;
    padding: 60px 0 70px;
}

.intro-text {
    max-width: 460px;
}

.intro-label {
    display: inline-block;
    background-color: #d8d8d8;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.intro-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.intro-subtitle {
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.intro-buttons .btn-outline-primary-rounded {
    border-radius: 999px;
    border-width: 1.5px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.btn-outline-primary-rounded {
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: transparent;
}

.btn-outline-primary-rounded:hover {
    background-color: #0d6efd;
    color: #fff;
}

.intro-posters {
    align-items: center;
}

.intro-poster-img {
    max-width: 220px;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* NEWS SECTION */
.news-section {
    padding: 70px 0 80px;
}

.news-card {
    background-color: #ffffff;
    color: #111;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-image-wrapper {
    position: relative;
    overflow: hidden; /* facoltativo ma carino */
}

/* wrapper badge in overlay */
.news-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 1; /* assicura che stia sopra l'immagine */
}

/* badge come li avevi tu, senza position absolute */
.news-badge {
    color: #111;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

/* immagine con altezza fissa */
.news-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.news-card-body {
    padding: 18px 20px 22px;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.news-card-meta {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 12px;
}

.news-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.news-card-link:hover {
    text-decoration: underline;
}


/*NEWS FULL WIDTH*/


.section-news-page .section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.section-news-page .section-subtitle {
    color: #666;
}

/* Versione wide: immagine full width sopra, testo sotto */
.news-card.news-card-wide {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 0;
}

/* se vuoi che in home restino 3 per riga e qui 1 sola: */
.news-card-wide .news-card-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

@media (max-width: 575.98px) {
    .news-card-wide .news-card-img {
        height: 220px;
    }
}

/* Titolo/link coerenti con home */
.news-card-link-title {
    text-decoration: none;
    color: inherit;
}

.news-card-link-title:hover {
    text-decoration: underline;
}


/* RESPONSIVE HERO + NEWS */
@media (max-width: 991.98px) {
    .hero-logo-img {
        max-width: 220px;
    }

    .nav-pill {
        padding: 8px 16px;
    }

    .nav-pill .nav-link {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 20px 0 50px;
    }

    .quick-card {
        border-radius: 20px;
    }

    .news-card-img {
        height: 180px;
    }
}



/* SPONSOR E FOOTER */

/* =======================
   FOOTER + SPONSOR AREA (CHIARO)
======================= */

.site-footer {
    background: #181818;
    color: #ffffff;
    padding: 60px 0 40px;
    margin-top: 80px;
    border-top: 1px solid #e3e3e3;
}

.sponsor-section {
    margin-bottom: 50px;
    text-align: center;
}

.sponsor-title {
    color: #dbe84a; /* verde pallina */
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sponsor-title.main-color {
    font-size: 1.1rem;
}

.sponsor-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sponsor-main {
    max-width: 240px;
    filter: drop-shadow(0px 10px 25px rgba(0,0,0,0.2));
}

.sponsor-row img {
    max-height: 70px;
    width: auto;
    filter: drop-shadow(0px 8px 20px rgba(0,0,0,0.18));
    -webkit-filter: drop-shadow(0px 8px 20px rgba(0,0,0,0.18));
}

.sponsor-small img {
    max-height: 50px;
}

/* FOOTER BOTTOM TEXT */
.footer-bottom {
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* =======================
   HEADER PAGINE INTERNE (CHIARO)
======================= */


.page-header {
    position: relative; /* <— fondamentale */
    background-image: url('../images/hero.png'); /* stesse immagini della home */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        padding: 360px 0 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}


.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.95)
    );
}

.page-header-inner {
    position: relative;
    z-index: 2;
}

.page-header-content {
    margin-top: 24px;
    max-width: 800px;
}

.page-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: #ffffff;
}

.page-breadcrumb li::after {
    content: "/";
    margin: 0 4px;
    opacity: 0.6;
}

.page-breadcrumb li:last-child::after {
    content: "";
    margin: 0;
}

.page-breadcrumb a {
    color: #c9fd0d;
    text-decoration: none;
    font-weight: 600;
}

.page-breadcrumb span {
    color: #ffffff;
}

.page-title {
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #cdcccc;
    font-size: 1rem;
    max-width: 700px;
}

/* CONTENUTO PAGINA INTERNA (CHIARO) */

.page-main {
    padding-bottom: 60px;
    background-color: #fff;
    color: #111;
}

.info-grid {
    margin-bottom: 40px;
}

.info-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 18px 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    font-size: 0.9rem;
    border: 1px solid #e9e9e9;
}

.info-card.light {
    background-color: #fafafa;
}

.info-card h3,
.info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.info-card ul {
    padding-left: 18px;
    margin: 0;
}

.info-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 6px;
    color: #777;
}

.section-block {
    margin-bottom: 40px;
}

.section-block h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.section-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}

.section-block p,
.section-block ul {
    font-size: 0.9rem;
    color: #333;
}

/* RESPONSIVE HEADER PAGINE INTERNE */

@media (max-width: 991.98px) {
    .page-header {
        padding-top: 140px; /* menu fixed + un po' di aria */
        padding-bottom: 40px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .info-card {
        padding: 16px 14px;
    }
}



/* blocchi sezione più ariosi */
.section-block {
    margin-bottom: 48px;
}

.section-block-alt {
    background-color: #fafafa;
    border-radius: 20px;
    padding: 24px 24px 28px;
}

/* header sezione (kicker + titolo) */
.section-header {
    margin-bottom: 14px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 4px;
}

.section-block h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.section-block h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* liste più compatte in alcune card */
.list-compact {
    margin: 0;
    padding-left: 18px;
}

.list-compact li {
    margin-bottom: 3px;
}

/* info-card piccoli dettagli */
.info-main {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-card-highlight {
    border-left: 4px solid #dbe84a;
}

/* divisore interno sezione iscrizioni */
.section-divider {
    border: 0;
    border-top: 1px solid #e5e5e5;
}



/* ======================================
   CTA BUBBLE CARDS
====================================== */

.cta-bubbles {
    margin: 60px 0 30px;
}

.cta-bubble-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    display: block;
    text-decoration: none;
    color: #111;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-bubble-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.cta-bubble-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dbe84a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #111;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-bubble-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-bubble-text {
    font-size: 0.9rem;
    color: #444;
}


@media (max-width: 767.98px) {
    .cta-bubble-card {
        padding: 28px 20px;
    }
    .cta-bubble-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}




/* SEZIONE OSPITALITÀ – OPENVDA STYLE */

.section-accommodations {
    background: #f7f7fb;
}

.section-accommodations .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.section-accommodations .section-subtitle {
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

/* CARD */

.accommodation-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.accommodation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* IMMAGINE + OVERLAY */

.accommodation-image {
    position: relative;
    height: 230px;
}

.accommodation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accommodation-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #dbe84a;
    color: #111;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.accommodation-stars {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: #ffd700;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* BODY */

.accommodation-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.accommodation-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.accommodation-location {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.accommodation-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* CONTATTI & LINK */

.accommodation-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.accommodation-contacts .btn {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.accommodation-details {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0042ff;
    text-decoration: none;
}

.accommodation-details:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 575.98px) {
    .accommodation-image {
        height: 200px;
    }
}

.section-contacts .section-title {
    font-size: 2rem;
    font-weight: 800;
}

.section-contacts .section-subtitle {
    color: #666;
}

/* CARD REPARTI */

.contact-card {
    background: #ffffffcc;
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card-icon-yellow {
    background: #dbe84a;
    color: #111;
}

.contact-card-icon-blue {
    background: #1e4fff;
    color: #fff;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.contact-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.contact-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.contact-card-list i {
    font-size: 0.9rem;
    color: #666;
}

.contact-card-list a {
    text-decoration: none;
    color: inherit;
}
.contact-card-list a:hover {
    text-decoration: underline;
}

/* BOX INFO GENERALI + FORM */

.contact-info-card,
.contact-form-card {
    background: #ffffffcc;
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
}

.contact-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 0.9rem;
    color: #555;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    font-size: 0.9rem;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.contact-info-list i {
    color: #666;
}

.contact-info-list a {
    text-decoration: none;
    color: inherit;
}
.contact-info-list a:hover {
    text-decoration: underline;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.contact-social a {
    color: #111;
    font-size: 1rem;
}
.contact-social a:hover {
    opacity: 0.8;
}



.section-directions .section-title {
    font-size: 2rem;
    font-weight: 800;
}

.section-directions .section-subtitle {
    color: #666;
}

/* mappa */
.directions-map-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* card direzioni */
.direction-card {
    background: #ffffffcc;
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
}

.direction-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.direction-icon-yellow {
    background: #dbe84a;
    color: #111;
}

.direction-icon-blue {
    background: #1e4fff;
    color: #fff;
}

.direction-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.direction-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.direction-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.direction-list > li {
    margin-bottom: 6px;
}

.direction-list ul {
    list-style: disc;
    margin: 4px 0 0 18px;
    padding: 0;
    font-size: 0.9rem;
}


.map-link-card {
    background: #ffffffcc;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
    gap: 16px;
}

.map-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.map-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.map-link-icon.google {
    background: #4285F4; /* colore Google Maps */
}

.map-link-icon.apple {
    background: #111; /* nero Apple style */
}

.map-link-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.map-link-subtitle {
    font-size: 0.85rem;
    color: #555;
    margin: 2px 0 0 0;
}



.no-news-box {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    margin: 40px 0;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-news-inner {
    max-width: 520px;
}

.no-news-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.no-news-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0d6efd; /* blu OpenVDA */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-news-box p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.75;
}