﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* =========================================================
   RDV — PACCHETTI (Hotel Massimo / Vibe / Full)
   File: /css/pacchetti/pacchetti.css
   ========================================================= */

/* =========================
   THEME / VARIABLES
   ========================= */
:root {
    --bg0: #070712;
    --bg1: #0A0A1A;
    --cardA: rgba(255,255,255,.06);
    --cardB: rgba(255,255,255,.03);
    --border: rgba(175,131,220,.25);
    --border2: rgba(255,255,255,.12);
    --txt: #EDEBFF;
    --txt2: #CFCFEF;
    --acc1: #7A5AF8;
    --acc2: #AF83DC;
    --danger: #FF4D6D;
    --shadow: 0 18px 45px rgba(0,0,0,.55);
    --shadowSoft: 0 12px 28px rgba(0,0,0,.35);
}

/* =========================
   BASE
   ========================= */
html, body {
    min-height: 100%;
    background: var(--bg0);
}

body {
    font-family: 'Orbitron', sans-serif;
    color: var(--txt);
    background: var(--bg0);
}

/* (Bootstrap 4) container-xxl fallback */
.container-xxl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width:1200px) {
    .container-xxl {
        max-width: 1140px;
    }
}

@media (min-width:1400px) {
    .container-xxl {
        max-width: 1320px;
    }
}

/* riduce “pagina lunghissima” */
.container-xxl.py-5,
.py-5 {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
}

/* =========================
   HEADER / BANNER (LOCANDINA)
   - deve vedersi tutta
   - più piccola su mobile ma un filo più grande di prima
   - senza contenitore attorno
   ========================= */
.container-fluid.header {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 8px !important;
}

    .container-fluid.header.bg-white {
        background: transparent !important;
    }

.banner-desktop .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 6px;
}

/* L’immagine locandina: niente tagli (contain), niente “card” attorno */
.banner-desktop .video-header {
    display: block;
    width: min(520px, 92vw); /* mobile: un po’ più grande */
    height: auto !important;
    object-fit: contain !important; /* ✅ mai tagliata */
    object-position: center;
    margin-top: 10px !important; /* annulla mt-5 “troppo” */
    border: 0 !important; /* ✅ niente contenitore */
    border-radius: 0 !important; /* ✅ niente contenitore */
    box-shadow: none !important; /* ✅ niente contenitore */
    background: transparent !important;
}

/* Tablet */
@media (min-width: 768px) {
    .banner-desktop .video-header {
        width: min(720px, 90vw);
        margin-top: 14px !important;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .banner-desktop .video-header {
        width: min(920px, 86vw);
        margin-top: 16px !important;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .banner-desktop .video-header {
        width: min(980px, 84vw);
    }
}

/* =========================
   LAYOUT
   ========================= */
.contenitore-principale {
    max-width: 1120px;
    margin: 0 auto;
}

.row.g-5 {
    --bs-gutter-y: 18px;
    --bs-gutter-x: 18px;
}

/* =========================
   CARDS (contenuti)
   ========================= */
.bg-light.rounded.p-3 {
    background: transparent !important;
    padding: 0 !important;
}

.rounded.p-3 {
    padding: 0 !important;
}

.bg-white.rounded.p-4 {
    background: linear-gradient(180deg, var(--cardA), var(--cardB)) !important;
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    box-shadow: var(--shadow);
    padding: 18px !important;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1 {
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 10px !important;
    font-size: 1.35rem;
    color: #fff;
}

h2, h3, h4 {
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
}

p {
    color: var(--txt2);
    margin-bottom: 10px;
    line-height: 1.45;
    font-size: .95rem;
}

.descrizione-pacchetto {
    margin: 0 0 12px !important;
    font-weight: 700;
    font-size: .95rem;
}

/* titolo sezione “comprende” */
.domande {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 10px !important;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

    .domande svg {
        width: 20px;
        height: 20px;
        fill: #fff;
        opacity: .95;
        filter: drop-shadow(0 0 10px rgba(175,131,220,.35));
    }

/* =========================
   LISTE
   ========================= */
ul {
    margin: 0 0 12px;
    padding-left: 18px;
}

li {
    margin: 6px 0;
    color: var(--txt);
    font-weight: 700;
    font-size: .92rem;
}

    li.decorated::marker {
        color: rgba(195,160,240,.9);
    }

/* =========================
   DETAILS (dropdown ingressi)
   ========================= */
.rdv-details {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(10,10,26,.35);
}

    .rdv-details summary {
        list-style: none;
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px;
        background: linear-gradient(90deg, rgba(122,90,248,.22), rgba(175,131,220,.18));
        color: #fff;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

        .rdv-details summary::-webkit-details-marker {
            display: none;
        }

    .rdv-details .icon {
        opacity: .9;
        transition: transform .18s ease;
    }

    .rdv-details[open] .icon {
        transform: rotate(180deg);
    }

.rdv-details__body {
    padding: 12px;
    color: var(--txt2);
}

    .rdv-details__body ul {
        margin: 0;
        padding-left: 18px;
    }

    .rdv-details__body li {
        font-size: .9rem;
        margin: 6px 0;
        color: var(--txt2);
    }

/* =========================
   PREZZO / BOX INFO
   ========================= */
.testo-prezzo {
    margin: 12px 0 10px !important;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-full, .price-smart {
    font-size: 1.7rem;
    font-weight: 900;
    color: #C3A0F0;
    text-shadow: 0 0 14px rgba(175,131,220,.35);
}

.consigliato {
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(10,10,26,.35);
}

    .consigliato p {
        margin: 0 0 6px;
        color: var(--txt2);
        font-weight: 750;
    }

        .consigliato p:last-child {
            margin-bottom: 0;
        }

.promo-text p {
    margin: 10px 0;
    color: #fff;
    font-weight: 900;
}

.promo-text .text-danger {
    color: var(--danger) !important;
}

/* =========================
   BUTTONS
   ========================= */
.calcola-preventivo-full,
.calcola-preventivo-smart,
.contact-full,
.contact-smart,
.btn.contact-full,
.btn.contact-smart {
    appearance: none;
    border: 0;
    width: 100%;
    height: 44px;
    border-radius: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #0A0A1A;
    background: linear-gradient(90deg, var(--acc1), var(--acc2));
    box-shadow: 0 14px 30px rgba(175,131,220,.28);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

    .calcola-preventivo-full:hover,
    .calcola-preventivo-smart:hover,
    .contact-full:hover,
    .contact-smart:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
        box-shadow: 0 18px 36px rgba(175,131,220,.36);
    }

    .calcola-preventivo-full:active,
    .calcola-preventivo-smart:active,
    .contact-full:active,
    .contact-smart:active {
        transform: translateY(0);
        filter: brightness(.98);
    }

.btn {
    border-radius: 14px;
    font-weight: 900;
}

/* =========================
   FORM
   ========================= */
form .form-label {
    color: #fff;
    font-weight: 900;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 6px;
}

.form-control, .form-select, textarea {
    background: rgba(15,15,30,.72) !important;
    color: var(--txt) !important;
    border: 1px solid rgba(175,131,220,.45) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    box-shadow: none !important;
}

    .form-control:focus, .form-select:focus, textarea:focus {
        border-color: var(--acc2) !important;
        box-shadow: 0 0 0 3px rgba(175,131,220,.25) !important;
    }

/* Input group telefono */
.phone-group {
    display: flex;
    flex-wrap: nowrap;
}

    .phone-group .phone-prefix {
        flex: 0 0 38%;
        max-width: 38%;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .phone-group .phone-number {
        flex: 1 1 auto;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

    .phone-group .form-select,
    .phone-group .form-control {
        height: 44px;
        min-height: 44px;
        line-height: 1.2;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

/* =========================
   MODAL (Bootstrap 4)
   ========================= */
.modal-content {
    background: linear-gradient(180deg, rgba(16,16,38,.96), rgba(10,10,26,.96)) !important;
    border: 1px solid rgba(175,131,220,.28) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.65);
    color: var(--txt);
}

.modal-title {
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.modal .text-muted {
    color: rgba(237,235,255,.72) !important;
}

/* =========================
   ALERT (success/error)
   ========================= */
.notificaForm.alert {
    position: sticky;
    top: 74px;
    z-index: 9999;
    width: min(980px, calc(100% - 24px));
    margin: 14px auto;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(175,131,220,.35);
    background: linear-gradient(180deg, rgba(18,18,34,0.92), rgba(10,10,26,0.92));
    color: #E6E6FA;
    font-weight: 800;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 22px rgba(175,131,220,0.18);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rdvAlertIn .35s ease both;
}

    .notificaForm.alert.alert-success {
        border-color: rgba(46,204,113,.40);
        box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 26px rgba(46,204,113,0.16);
    }

    .notificaForm.alert.alert-danger {
        border-color: rgba(255,77,141,.45);
        box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 28px rgba(255,77,141,0.18);
    }

    /* “X” close */
    .notificaForm.alert .close {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        padding: 0;
        margin: 0;
        border-radius: 12px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        opacity: 1;
        text-shadow: none;
        transition: transform .15s ease, background .2s ease, border-color .2s ease;
        outline: none !important;
    }

        .notificaForm.alert .close span {
            color: #E6E6FA;
            font-size: 24px;
            line-height: 1;
        }

        .notificaForm.alert .close:hover {
            transform: scale(1.05);
            background: rgba(255,255,255,0.10);
            border-color: rgba(175,131,220,0.45);
        }

@keyframes rdvAlertIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
        filter: blur(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =========================
   RESPONSIVE TUNING
   ========================= */
@media (max-width: 768px) {
    h1 {
        font-size: 1.18rem;
    }

    .price-full, .price-smart {
        font-size: 1.55rem;
    }

    .bg-white.rounded.p-4 {
        padding: 14px !important;
    }

    /* bottone “Acquista ora” sticky (se vuoi) */
    .promo-text {
        position: sticky;
        bottom: 12px;
        z-index: 2;
        padding-top: 8px;
        background: linear-gradient(180deg, rgba(10,10,26,0), rgba(10,10,26,.82) 35%, rgba(10,10,26,.92));
        border-radius: 14px;
    }

    .notificaForm.alert {
        top: 64px;
        padding: 12px 14px;
        border-radius: 14px;
        font-size: .95rem;
    }
}

@media (max-width: 420px) {
    /* locandina: un filo più grande anche su telefoni piccoli */
    .banner-desktop .video-header {
        width: min(560px, 94vw);
    }
}


/* =========================================================
   HOTEL MASSIMO - HERO LOCANDINA
   - tutta visibile (no crop)
   - un po' più piccola
   - più in alto (attaccata alla navbar)
   - senza contenitore / cornice attorno
   ========================================================= */

/* header wrapper: niente padding/margini extra */
.container-fluid.header.banner-desktop {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* togli qualsiasi “box” attorno */
.banner-desktop .header-content {
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

/* immagine: tutta visibile, più piccola, più su */
.banner-desktop .video-header {
    /* IMPORTANT: così NON taglia mai */
    object-fit: contain !important;
    object-position: center top !important;
    /* dimensioni responsive (un filo più piccola) */
    width: min(720px, 92vw) !important;
    height: auto !important;
    max-height: 78vh !important;
    /* attaccala alla navbar: elimina mt-5 e alza */
    margin-top: 6px !important; /* metti 0 se la vuoi proprio attaccata */
    display: block !important;
    /* niente cornice / box */
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

    /* Bootstrap: annulla il mt-5 che hai in markup */
    .banner-desktop .video-header.mt-5 {
        margin-top: 6px !important;
    }

/* Mobile: leggermente più piccola */
@media (max-width: 576px) {
    .banner-desktop .video-header {
        width: min(520px, 94vw) !important;
        max-height: 72vh !important;
        margin-top: 4px !important;
    }
}

/* Desktop: un filo più contenuta rispetto allo screenshot */
@media (min-width: 992px) {
    .banner-desktop .video-header {
        width: min(760px, 88vw) !important;
        max-height: 76vh !important;
        margin-top: 6px !important;
    }
}


.form-label {
    font-size: 13px!important;
    margin-top: 13px;
}