/* ==========================================================================
   PALETTE ELEGANTE & RESET
   ========================================================================== */
:root {
    --primary: #1A2B4C;
    /* Blu Navy Profondo */
    --secondary: #C4A265;
    /* Oro Champagne */
    --light-bg: #FDFBF7;
    /* Bianco Avorio Caldo */
    --text-dark: #2C3E50;
    /* Antracite per alta leggibilità */
    --text-muted: #7F8C8D;
    /* Grigio tenue */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Layout: Full width con 100px di padding laterale */
.container {
    width: 100%;
    padding: 0 100px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    background: var(--white);
    padding: 1.8rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: 1px;
}

.tagline {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: linear-gradient(rgba(26, 43, 76, 0.4), rgba(26, 43, 76, 0.6)), url('images/hero-bg.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover !important;
    
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-bottom: 5rem;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ==========================================================================
   CARTE HOTEL
   ========================================================================== */
.hotel-card {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 520px;
    /* MIN-HEIGHT: Permette al testo di espandersi senza essere tagliato! */
    margin-bottom: 5rem;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

/* Alterna l'immagine a destra e a sinistra per le schede pari/dispari */
.hotel-card:nth-child(even) .hotel-image {
    order: 2;
}

.hotel-card:nth-child(even) .hotel-info {
    order: 1;
}

.hotel-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hotel-info {
    padding: 3.5rem 4rem 4rem 4rem;
    /* Ho aumentato il padding inferiore a 4rem per dare più respiro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.stars {
    color: var(--secondary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hotel-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.location {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.description {
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.services-grid span::before {
    content: "♦ ";
    color: var(--secondary);
    font-size: 0.8rem;
    margin-right: 5px;
}

.services-grid span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   CONTATTI E BOTTONI
   ========================================================================== */
.contact-box {
    margin-top: auto;
}

.contact-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    /* Più spazio tra il testo e i bottoni */
}

.contact-box strong {
    color: var(--primary);
}

.actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background: var(--primary);
    color: #a0aec0;
    padding: 4rem 0;
    text-align: center;
    margin-top: 6rem;
}

.main-footer strong {
    color: var(--secondary);
    font-weight: 400;
}

.footer-links {
    margin: 1.5rem 0;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.credits {
    margin-top: 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .hotel-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hotel-image {
        height: 350px;
    }

    .hotel-card:nth-child(even) .hotel-image {
        order: 1;
    }

    .hotel-card:nth-child(even) .hotel-info {
        order: 2;
    }

    .hotel-info {
        padding: 2.5rem;
    }

    .hero {
        background-attachment: scroll;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .flex-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hotel-image {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }
}