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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    background-color: #fdfbf7;
    line-height: 1.6;
}

:root {
    --primary: #FF5A5F;
    --beige-light: #fdfbf7;
    --beige-medium: #f5f1eb;
    --terracotta: #c85a3a;
    --terracotta-dark: #9d4a2f;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --border: #e8e3db;
}

/* Header */
header {
    background: #fff;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terracotta-dark);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* HERO SECTION WITH SKYLINE - BANDA SOPRA */
.hero-image-band {
    width: 100%;
    height: 40vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.15)), url('https://via.placeholder.com/1400x600/8b7d6b/5c5248?text=Mantova+Skyline');
    background-size: cover;
    background-position: center;
}

/* Calendar & Booking Box */
.hero-section {
    background: var(--beige-light);
    padding: 0;
}

.calendar-booking-box {
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 2rem 3rem;
    max-width: 100%;
    width: 100%;
}

.calendar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 2rem;
    align-items: center;
}

.calendar-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.calendar-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.calendar-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    min-height: 40px;
}

.calendar-day {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.calendar-info {
    display: flex;
    flex-direction: column;
}

.calendar-month {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.2;
}

.calendar-weekday {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.2;
}

.guests-input-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.guests-input-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.guests-input-group input {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    transition: border-color 0.3s;
    text-align: center;
    width: 80px;
}

.guests-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
}

.nights-display {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
}

.nights-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.nights-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
}

.calendar-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-input-group input {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
    display: none;
}

.calendar-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
}

.check-availability-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    height: fit-content;
    align-self: center;
    margin-bottom: 0.8rem;
}

.check-availability-btn:hover {
    background: #ff3f47;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 90, 95, 0.3);
}

/* Contact Section */
.contact-section {
    background: var(--terracotta);
    color: #fff;
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 1.5rem;
}

.contact-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-section p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
}

.btn-white {
    background: #fff;
    color: var(--terracotta);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Main Content Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

section > p:first-of-type {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Gallery Section */
.gallery-container {
    margin-top: 2rem;
}

.gallery-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: var(--beige-medium);
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.gallery-item {
    position: relative;
    min-width: 360px;
    height: 400px;
    background: linear-gradient(135deg, #d4c5b9 0%, #c9bab0 100%);
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
}

.gallery-caption h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.95;
}

/* Description Section */
.description-content {
    margin-top: 2rem;
}

.description-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.description-content ul {
    list-style: none;
    columns: 2;
    gap: 2rem;
}

.description-content li {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    break-inside: avoid;
}

.description-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-note {
    background: var(--beige-medium);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--terracotta);
}

.map-note p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

#contact-section {
    scroll-margin-top: 120px;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .calendar-content {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .guests-input-group {
        grid-column: 1;
    }

    .nights-display {
        grid-column: 2;
    }

    .check-availability-btn {
        grid-column: 1 / -1;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .gallery-item {
        min-width: 280px;
        height: 320px;
    }

    .description-content ul {
        columns: 1;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
section {
    padding: 3rem 1.5rem;
}

section h2 {
    font-size: 1.8rem;
}

.calendar-booking-box {
    padding: 1.5rem;
}

.calendar-content {
    gap: 1rem;
}

.calendar-day {
    font-size: 1.8rem;
}

.calendar-label {
    font-size: 0.7rem;
}

.calendar-month {
    font-size: 0.8rem;
}

.guests-input-group input {
    width: 100%;
}
