﻿/* PALETTE */
:root {
    --lux-white: #ffffff;
    --lux-perla: #f7f7f7;
    --lux-grigio: #555;
    --lux-nero: #222;
}

/* GLOBAL */
body {
    font-family: "Inter", sans-serif;
    color: var(--lux-nero);
    background: var(--lux-white);
    margin: 0;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--lux-perla);
}

.hero-slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
}

    .hero-slide.active {
        opacity: 1;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.45) );
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding: 40px;
}


/* BOOKING BANNER */
.booking-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(2px);
    padding: 22px 30px;
    border-radius: 14px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
    z-index: 9;
    max-width: 90vw;
    box-sizing: border-box;
}

.bb-field {
    display: flex;
    flex-direction: column;
}

    .bb-field label {
        font-size: 0.85rem;
        color: #222;
        margin-bottom: 6px;
        font-weight: 500;
    }

    .bb-field input,
    .bb-field select {
        padding: 12px 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        min-width: 150px;
        background: #fff;
    }

.bb-btn {
    padding: 12px 28px;
    background: #007eff; /*#222*/
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    width: 210px;
}

    .bb-btn:hover {
        background: #004b97; /*#000*/
    }

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 28px;
}

.hero-title,
.hero-subtitle {
    color: white;
    text-shadow: 0 3px 12px rgba(0,0,0,0.45);
}

.hero-cta {
    display: inline-block;
    padding: 14px 34px;
    background: rgba(255,255,255,0.9);
    color: var(--lux-nero);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .hero-cta:hover {
        background: var(--lux-white);
    }

/* INTRO */
.intro {
    padding: 100px 20px;
    text-align: center;
}

.intro-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: justify;
}

.intro h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 22px;
}

.intro p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--lux-grigio);
}

/* HIGHLIGHTS */
.highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.highlight {
    position: relative;
    height: 45vh;
    background-size: cover;
    background-position: center;
}

.highlight-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: white;
    text-shadow: 0 3px 12px rgba(0,0,0,0.45);
}

    .highlight-overlay h3 {
        font-family: "Playfair Display", serif;
        font-size: 2rem;
        font-weight: 300;
        margin-bottom: 8px;
    }

    .highlight-overlay a {
        color: white;
        font-weight: 500;
        text-decoration: underline;
    }

/* MINI GALLERY */
.mini-gallery {
    padding: 100px 20px;
    background: var(--lux-perla);
    text-align: center;
}

    .mini-gallery h2 {
        font-family: "Playfair Display", serif;
        font-size: 2.4rem;
        font-weight: 300;
    }

.mini-gallery-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

    .mini-gallery-grid img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 6px;
    }



.lux-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.lux-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.lux-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    background-size: cover;
    background-position: center;
    filter: brightness(0.92);
}

    .lux-slide.active {
        opacity: 1;
        filter: brightness(1);
    }

.lux-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; /* oro elegante */
    font-size: 32px;
    padding: 3px;
    cursor: pointer;
    z-index: 20;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .lux-arrow:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.08);
    }

    .lux-arrow.left {
        left: 22px;
    }

    .lux-arrow.right {
        right: 22px;
    }


/* Touch feel */
.lux-slider:active {
    cursor: grabbing;
}


/* ===========================
   SECTION CONTATTI – LUXURY
   =========================== */

.contacts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contacts-info h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.contacts-info p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.contacts-info .mail a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}

    .contacts-info .mail a:hover {
        border-color: #000;
    }

/* ===========================
   FORM LUXURY
   =========================== */

.contact-luxury {
    padding: 20px 0;
}

.contact-header h3 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-header p {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    color: #666;
    margin-bottom: 40px;
}

.contact-form .row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-form .field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
    color: #444;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    background: transparent;
    transition: border-color .3s;
}

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: #000;
    }

.contact-form textarea {
    height: 140px;
    resize: none;
}

.contact-form .privacy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 40px;
    font-family: "Montserrat", sans-serif;
}

.luxury-btn {
    background: #000;
    color: #fff;
    padding: 16px 40px;
    border: none;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: background .3s, transform .2s;
    letter-spacing: 0.5px;
}

    .luxury-btn:hover {
        background: #333;
        transform: translateY(-2px);
    }

.contact-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 9999;
}

    .contact-success.active {
        opacity: 1;
        pointer-events: auto;
    }

.success-box {
    background: #fff;
    padding: 40px 50px;
    border-radius: 8px;
    text-align: center;
    max-width: 420px;
    animation: pop .4s ease;
}

    .success-box h4 {
        font-family: "Playfair Display", serif;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .success-box p {
        font-family: "Montserrat", sans-serif;
        font-size: 16px;
        color: #555;
    }

@keyframes pop {
    0% {
        transform: scale(.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.field.error input,
.field.error textarea,
.field.error select {
    border-color: #c00 !important;
}

.field.error label {
    color: #c00;
}

.error-message {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #c00;
    margin-top: 5px;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .booking-banner {
        flex-wrap: wrap;
        width: 90%;
        gap: 14px;
        padding: 18px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .mini-gallery {
        display: none;
    }

    .lux-slider {
        display: block;
    }

    .mini-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacts {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .booking-banner {
        flex-wrap: wrap;
        width: 90%;
        gap: 14px;
        padding: 18px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .mini-gallery {
        display: none;
    }

    .lux-slider {
        display: block;
    }

    .mini-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 901px) {
    .mini-gallery {
        display: block;
    }

    .lux-slider {
        display: none;
    }
}