/*
 * home.css – stili specifici per la Homepage (front-page.php)
 * Tema: Victorian Elegance
 */

/* ================= HERO HOMEPAGE ================= */

.ve-hero {
    background: radial-gradient(circle at top, rgba(197,164,109,0.2), transparent 60%),
                linear-gradient(to bottom, #2b141f, #3B1F2B);
    color: #fff;
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ve-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.ve-hero::before,
.ve-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(197,164,109,0.6);
    border-radius: 16px;
}

.ve-hero::before {
    inset: 10%;
}

.ve-hero::after {
    inset: 5%;
    border-style: dashed;
    opacity: 0.6;
}

.ve-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ve-hero-title {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.ve-hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.ve-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ================= LAYOUT SEZIONI HOME ================= */

/* ================= CARD HOME (CAMERE / RISTORANTE / ESPERIENZE) ================= */

.ve-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* Card servizi / esperienze homepage */

.ve-card {
    background: #f8f1e8;
    border-radius: 18px;
    border: 1px solid rgba(94, 74, 46, 0.3);
    position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ve-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(197,164,109,0.7);
    border-radius: 14px;
    pointer-events: none;
}

/* Immagine in alto nella card */

.ve-card-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* Corpo della card (testo + bottoni) */

.ve-card-body {
    position: relative;
    z-index: 1;
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ve-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.ve-card-sub {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ve-rosa-antico);
    margin-bottom: 6px;
}

/* Testo card */
.ve-card-text {
    font-size: 0.95rem;
    margin: 6px 0 0;
}

/* Area bottoni in basso, allineata */
.ve-card-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
}

/* ================= BOX PRENOTAZIONI HOMEPAGE ================= */

.ve-booking-form {
    background: #f8f1e8;
    border-radius: 18px;
    border: 1px solid rgba(94, 74, 46, 0.3);
    padding: 22px 24px;
    position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Cornice interna decorativa */
.ve-booking-form::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px dashed rgba(197,164,109,0.7);
    pointer-events: none;
}

.ve-booking-form h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
}

.ve-booking-form p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* FORM LUXURY – versione compatta CF7 dentro il box prenotazioni */

/* Paragrafi CF7 nel box */
.ve-booking-form .wpcf7-form p {
    margin: 0 0 4px !important;
    padding: 0 !important;
    line-height: 1.15 !important;
}

/* Etichette */
.ve-booking-form .wpcf7-form label {
    margin: 0 0 2px !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.1 !important;
}

/* Campi di input */
.ve-booking-form .wpcf7-form input,
.ve-booking-form .wpcf7-form textarea,
.ve-booking-form .wpcf7-form select {
    margin: 0 0 6px !important;
    line-height: 1.15 !important;
    padding: 6px 9px !important;
}

/* Checkbox / accettazione privacy */
.ve-booking-form .wpcf7-acceptance input {
    margin-right: 6px;
}

/* Testo della privacy */
.ve-booking-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
}

/* Pulsante */
.ve-booking-form input[type="submit"] {
    margin-top: 6px !important;
}

/* Versione con etichette più grandi (override finale) */
.ve-booking-form .wpcf7-form label {
    font-size: 1.2rem !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500 !important;
    color: #4a3a2a !important;
    letter-spacing: 0.4px;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    display: block;
}

/* Testo dei campi ingrandito */
.ve-booking-form .wpcf7-form input,
.ve-booking-form .wpcf7-form textarea,
.ve-booking-form .wpcf7-form select {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
    padding: 10px 12px !important;
}

/* Titolo del form – versione luxury */
.ve-booking-form h3 {
    font-size: 1.5rem !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
    color: var(--ve-merlot);
    letter-spacing: 0.5px;
    margin-bottom: 12px !important;
}

/* ================= RESPONSIVE HOMEPAGE ================= */

@media (max-width: 900px) {
    .ve-two-columns {
        grid-template-columns: 1fr;
    }

    .ve-grid-3 {
        grid-template-columns: 1fr;
    }

    .ve-hero {
        padding: 60px 0 70px;
    }

    .ve-hero-title {
        font-size: 2.2rem;
    }

    .ve-hero-subtitle {
        font-size: 1.1rem;
    }
}
