/* Variables */
:root {
    --primary-color: #2C1810;
    --secondary-color: #E5DDD2;
    --accent-color: #8B4513;
    --text-color: #2C1810;
    --background-color: #F5F1EA;
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'EB Garamond', serif;
    --transition-speed: 0.6s;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: min(92%, 1800px);
    --card-shadow: 0 8px 32px rgba(44, 24, 16, 0.08);
    --hover-shadow: 0 12px 40px rgba(44, 24, 16, 0.12);
    --gradient-bg: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,241,234,0.98));
    --blur-effect: blur(20px);
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
}

/* Arrotondamenti stile Apple su tutto il sito */
:root {
    --apple-radius: 24px;
}
/* Immagini */
.room-photo,
.gallery-grid img,
.gallery-item img,
.gallery-modal .modal-image-container img {
    border-radius: var(--apple-radius) !important;
}
/* Card e box principali */
.room-card,
.info-item,
.suggestions-box,
.info-card,
.booking-content,
.section-header,
.footer-content,
.modal-content,
.gallery-modal .modal-content {
    border-radius: var(--apple-radius) !important;
}
/* Bottoni e input */
button,
input,
textarea,
select,
.booking-button,
.airbnb-button,
.menu-toggle {
    border-radius: var(--apple-radius) !important;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--background-color);
    overflow-x: hidden;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-color);
    opacity: 0;
    transition: opacity 1s var(--ease-out-expo);
}

body.loaded {
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, .menu-toggle, .logo {
    font-family: var(--font-primary);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    line-height: 0.9;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-transform: none;
}

.hero-text {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    max-width: 600px;
    color: var(--text-color);
    opacity: 0.9;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    overflow: visible;
    border-right: none;
    margin: 0;
    line-height: 1.6;
}

/* Container */
.container {
    width: var(--container-width);
    margin: 0 auto;
}

/* Custom Cursor */
.cursor-dot {
    width: 10px;
    height: 10px;
    background-color: #8B4513;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 999999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid #8B4513;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: white;
}

.cursor-outline.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: white;
    background-color: rgba(139, 69, 19, 0.1);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 100;
    background: rgba(245, 241, 234, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    transform: translateY(0);
    transition: transform 0.6s var(--ease-out-expo), background-color 0.3s ease;
}

header.scrolled {
    padding: 1.5rem;
    background: rgba(245, 241, 234, 0.95);
    transform: translateY(-100%);
}

header.visible {
    transform: translateY(0);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--ease-out-expo);
}

.logo:hover {
    color: var(--accent-color);
}

.logo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.logo:hover::before {
    transform: scaleX(1);
}

.menu-toggle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: none;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 1001;
    position: relative;
    border-radius: 8px;
    border: 1px solid transparent;
}

.menu-toggle:hover {
    color: var(--accent-color);
    background: rgba(139, 69, 19, 0.05);
    border-color: rgba(139, 69, 19, 0.1);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 24, 16, 0.98);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.6s var(--ease-out-expo);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    text-align: center;
    opacity: 0;
    transition: all 0.6s var(--ease-out-expo);
    width: 100%;
}

.menu-overlay.active .menu-content {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-link {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.8rem;
    display: block;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    font-family: var(--font-primary);
    opacity: 0.7;
    transform: translateY(20px);
}

.menu-overlay.active .menu-link {
    transform: translateY(0);
}

.menu-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0 2rem;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(139, 69, 19, 0.08), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--background-color), transparent);
    pointer-events: none;
}

.hero-content {
    width: var(--container-width);
    margin: 0 auto;
    padding-top: 4rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 8.5rem);
    line-height: 0.9;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
}

.hero-text {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    max-width: 650px;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s var(--ease-out-expo) forwards;
    animation-delay: 0.4s;
    line-height: 1.6;
}

/* Sections Common */
section {
    padding: 10rem 2rem;
    position: relative;
}

.section-header {
    width: var(--container-width);
    margin: 0 auto 6rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: slideInLeft 1s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    opacity: 0;
    animation: scaleIn 0.8s var(--ease-out-expo) forwards;
    animation-delay: 0.6s;
}

/* About Section */
.about-content {
    width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
    padding: 2rem;
}

.about-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.about-text p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.about-text ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-text li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.about-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.8rem;
    line-height: 1;
}

.about-text li:hover {
    transform: translateX(10px);
    color: var(--accent-color);
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 69, 19, 0.05), transparent 70%);
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .about-text {
        padding: 2rem;
    }

    .about-text p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .about-text ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-text li {
        font-size: 1.1rem;
    }
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    max-width: 1800px;
    margin: 0 auto;
}

.amenity-item {
    position: relative;
}

.amenity-info h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.amenity-info p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    opacity: 0.8;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: var(--container-width);
    margin: 0 auto;
}

.info-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 69, 19, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
}

.info-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.info-item:hover::before {
    opacity: 1;
}

.info-item h3 {
    color: var(--accent-color);
    margin-bottom: 1.8rem;
    font-size: 2rem;
    position: relative;
    letter-spacing: -0.02em;
}

.info-item h3::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: width 0.4s var(--ease-out-expo);
}

.info-item:hover h3::after {
    width: 80px;
}

.info-item ul {
    list-style: none;
}

.info-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-secondary);
}

.info-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Booking Section */
.booking-content {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.booking-info {
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    background: var(--accent-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    border: none;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
    margin-left: 44px;
}

.booking-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s var(--ease-out-expo);
}

.booking-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(139, 69, 19, 0.3);
}

.booking-button:hover::before {
    left: 100%;
}

.booking-button .arrow {
    display: inline-block;
    transition: transform 0.4s var(--ease-out-expo);
}

.booking-button:hover .arrow {
    transform: translateX(10px);
}

.booking-features {
    margin: 2rem 0;
    font-family: var(--font-secondary);
}

.booking-features p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.booking-note {
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.8;
}

.booking-note a {
    color: inherit;
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--primary-color), #1a0f0a);
    color: var(--secondary-color);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(139, 69, 19, 0.15), transparent 70%);
    pointer-events: none;
}

.footer-content {
    width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-info {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.95;
}

.footer-social {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 1.2rem 2.8rem;
    border-radius: 12px;
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid rgba(229, 221, 210, 0.15);
    font-size: 1.2rem;
    letter-spacing: 1px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    min-width: max-content;
}

.footer-social a i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-social a span {
    display: inline-block;
    line-height: 1;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s var(--ease-out-expo);
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: rgba(229, 221, 210, 0.2);
}

.coffee-button {
    background: linear-gradient(135deg, #FFDD00, #FBB034);
    color: #000000 !important;
    border: none !important;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.airbnb-button {
    display: inline-flex;
    align-items: center;
    padding: 1.4rem 3rem;
    background-color: #ff7b82;
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(255, 90, 95, 0.2);
}

.airbnb-button:hover {
    background-color: #ff8e94;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 90, 95, 0.3);
}

.airbnb-button .arrow {
    margin-left: 1rem;
    transition: transform 0.3s var(--ease-out-expo);
}

.airbnb-button:hover .arrow {
    transform: translateX(8px);
}

/* Animazioni centrali */
.info-item {
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
    animation-delay: calc(var(--item-index, 0) * 0.2s);
    opacity: 0;
}

.info-item:nth-child(1) { --item-index: 1; }
.info-item:nth-child(2) { --item-index: 2; }
.info-item:nth-child(3) { --item-index: 3; }

.info-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: all 0.6s var(--ease-out-expo);
    transform: translateX(-50%);
}

.info-item:hover::after {
    width: 80%;
}

.info-item h3 {
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.6s var(--ease-out-expo) forwards;
    animation-delay: calc(var(--item-index, 0) * 0.3s + 0.2s);
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-item ul {
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.6s var(--ease-out-expo) forwards;
    animation-delay: calc(var(--item-index, 0) * 0.3s + 0.4s);
}

.info-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    transition: transform 0.3s var(--ease-out-expo);
}

.info-item li:hover {
    transform: translateX(10px);
    color: var(--accent-color);
}

/* Animazione per le sezioni al centro */
.section-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo);
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Animations */
.hero-title {
    animation: fadeInUp 1.2s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
}

.hero-text {
    animation: fadeInUp 1.2s var(--ease-out-expo) forwards;
    animation-delay: 0.4s;
}

/* Section Headers Animation */
.section-header h2 {
    opacity: 0;
    animation: slideInLeft 1s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
}

.section-header h2::after {
    opacity: 0;
    animation: scaleIn 0.8s var(--ease-out-expo) forwards;
    animation-delay: 0.6s;
}

/* Info Items Animation */
.info-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.info-grid .info-item:nth-child(1) {
    animation-delay: 0.2s;
}

.info-grid .info-item:nth-child(2) {
    animation-delay: 0.4s;
}

.info-grid .info-item:nth-child(3) {
    animation-delay: 0.6s;
}

/* Review Features Animation */
.review-feature {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.reviews-features .review-feature:nth-child(1) {
    animation-delay: 0.2s;
}

.reviews-features .review-feature:nth-child(2) {
    animation-delay: 0.4s;
}

.reviews-features .review-feature:nth-child(3) {
    animation-delay: 0.6s;
}

/* Rating Box Animation */
.rating-box {
    opacity: 0;
    animation: scaleIn 0.8s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
}

/* Menu Animation */
.menu-link {
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.menu-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.menu-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Scroll Animation Observer */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Links Animation */
.footer-social a {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s var(--ease-out-expo);
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: rgba(229, 221, 210, 0.2);
}

/* WebGL Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Migliora hover galleria */
.gallery-item {
    cursor: pointer;
    transition: box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), border 0.3s var(--ease-out-expo);
    border: none !important;
    background: none !important;
    background-color: transparent !important;
}
.gallery-item:hover {
    box-shadow: 0 12px 32px rgba(139,69,19,0.18);
    transform: translateY(-8px) scale(1.04);
    border: 2px solid var(--accent-color) !important;
    z-index: 2;
}
.gallery-preview {
    transition: box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.gallery-item:hover .gallery-preview {
    box-shadow: 0 8px 24px rgba(139,69,19,0.13);
    transform: scale(1.03);
}

.gallery-item img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
    height: 180px;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.gallery-placeholder {
    grid-column: 1 / -1;
    padding: 4rem;
    text-align: center;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 8px;
    border: 2px dashed rgba(139, 69, 19, 0.2);
}

.placeholder-content {
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.image-tips {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    color: var(--text-color);
    opacity: 0.8;
}

.image-tips li {
    margin: 0.5rem 0;
}

/* Modale della galleria */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.84);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: 2rem;
}

.modal-image-container {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.modal-image-container img.changing {
    opacity: 0;
}

.modal-close,
.modal-prev,
.modal-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: none;
    padding: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
    transform: scale(1.1);
    opacity: 1;
}

.modal-close {
    top: -3rem;
    right: -3rem;
    font-size: 3rem;
    opacity: 0.7;
}

.modal-prev,
.modal-next {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.modal-prev {
    left: -5rem;
}

.modal-next {
    right: -5rem;
}

.modal-counter {
    position: absolute;
    bottom: -2.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-placeholder {
        padding: 2rem 1rem;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }

    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .modal-prev {
        left: 1rem;
    }

    .modal-next {
        right: 1rem;
    }

    .modal-counter {
        bottom: 1rem;
    }

    .menu-link {
        font-size: clamp(1.5rem, 4vw, 2rem);
        padding: 0.6rem;
    }
}

/* Location Section */
.location-content {
    width: var(--container-width);
    margin: 0 auto;
    display: grid;
    gap: 4rem;
}

.location-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    background: rgba(229, 221, 210, 0.5);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-card h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.info-card p {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.4;
}

.location-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.location-features li {
    position: relative;
    padding-left: 1.8rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.location-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.4rem;
    line-height: 1;
}

.location-map {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: var(--card-shadow);
}

#map {
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Leaflet Custom Styles */
.leaflet-container {
    font-family: var(--font-secondary);
}

.leaflet-popup-content-wrapper {
    background: rgba(245, 241, 234, 0.95);
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    padding: 1.5rem;
}

.leaflet-popup-tip {
    background: rgba(245, 241, 234, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: var(--card-shadow) !important;
}

.leaflet-control-zoom a {
    background-color: rgba(245, 241, 234, 0.95) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(139, 69, 19, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.leaflet-control-zoom a:hover {
    background-color: var(--accent-color) !important;
    color: var(--secondary-color) !important;
}

/* Character Animation */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(2rem);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    :root {
        --container-width: 92%;
    }

    body {
        font-size: 15px;
    }

    header {
        padding: 1rem;
        background: rgba(245, 241, 234, 0.95);
        border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    }

    .logo {
        font-size: 0.9rem;
        color: var(--primary-color);
    }

    .menu-toggle {
        color: var(--primary-color);
    }

    .hero {
        padding: 0 1rem;
        height: 90vh;
        align-items: flex-start;
        padding-top: 6rem;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1.5rem;
    }

    .hero-title::after {
        width: 60px;
        height: 3px;
        bottom: -0.8rem;
    }

    .hero-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    section {
        padding: 4rem 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .location-map {
        height: 60vh;
        min-height: 400px;
        border-radius: 8px;
    }

    .location-features {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .info-card {
        padding: 2rem;
        border-radius: 8px;
        text-align: left;
    }

    .info-card h3 {
        font-size: 1.6rem;
    }

    .info-card p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .location-features li {
        font-size: 1rem;
    }

    .info-item {
        padding: 1.5rem;
    }

    .info-item h3 {
        font-size: 1.3rem;
    }

    /* Fix spacing issues */
    .about-content,
    .amenities-grid,
    .booking-content {
        gap: 2rem;
    }

    .footer-content {
        padding: 1.5rem;
    }

    .footer-social {
        justify-content: center;
        padding: 1rem 0;
    }

    .footer-social a {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

    .booking-button {
        width: 100%;
        margin: 1rem 0;
        padding: 1.2rem;
        font-size: 1rem;
    }

    .footer-info {
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Fix per il footer su mobile */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        width: 100%;
        justify-content: center;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .logo {
        font-size: 0.8rem;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-bottom: 1.2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .location-map {
        height: 50vh;
        min-height: 300px;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h3 {
        font-size: 1.4rem;
    }

    .info-card p {
        font-size: 1.1rem;
    }

    .booking-button {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
    }

    .footer-social {
        gap: 0.5rem;
    }

    .footer-social a {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
    }

    .coffee-button {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
    }
}

/* Custom Marker */
.custom-marker-container {
    position: relative;
}

.custom-marker {
    position: relative;
    width: 20px;
    height: 20px;
}

.marker-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Sezione Recensioni */
.reviews-section {
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,241,234,0.98));
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(139, 69, 19, 0.08);
    border-bottom: 1px solid rgba(139, 69, 19, 0.08);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 69, 19, 0.03), transparent 60%);
    pointer-events: none;
}

.reviews-section .section-header {
    margin-bottom: 3rem;
    position: relative;
}

.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.rating-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.08);
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: transform 0.3s var(--ease-out-expo);
    opacity: 0;
    animation: scaleIn 0.8s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
}

.rating-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.12);
}

.stars-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.rating-stars {
    color: #FF5A5F;
    font-size: 2.2rem;
    letter-spacing: 4px;
}

.rating-value {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.rating-text {
    font-size: 1.3rem;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-style: italic;
    opacity: 0.9;
}

.reviews-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 4rem 0;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.review-feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.08);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s var(--ease-out-expo);
}

.review-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.12);
}

.feature-icon {
    font-size: 1.8rem;
}

.feature-text {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.reviews-cta {
    margin-top: 4rem;
    position: relative;
}

.airbnb-button {
    display: inline-flex;
    align-items: center;
    padding: 1.4rem 3rem;
    background-color: #ff7b82;
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(255, 90, 95, 0.2);
}

.airbnb-button:hover {
    background-color: #ff8e94;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 90, 95, 0.3);
}

.airbnb-button .arrow {
    margin-left: 1rem;
    transition: transform 0.3s var(--ease-out-expo);
}

.airbnb-button:hover .arrow {
    transform: translateX(8px);
}

.reviews-note {
    color: var(--text-color);
    opacity: 0.8;
    font-style: italic;
    font-family: var(--font-secondary);
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 6rem 1rem;
    }
    
    .rating-box {
        padding: 1.2rem 2rem;
    }
    
    .stars-container {
        gap: 1rem;
    }
    
    .rating-stars,
    .rating-value {
        font-size: 1.8rem;
    }
    
    .rating-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .reviews-features {
        gap: 1.5rem;
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .review-feature {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .feature-text {
        font-size: 1.1rem;
    }
    
    .airbnb-button {
        width: calc(100% - 2rem);
        justify-content: center;
        padding: 1.2rem;
        font-size: 1rem;
        margin: 0 1rem;
    }
}

/* Effetto gradiente per i titoli */
.text-gradient {
    background: linear-gradient(135deg, #2c3e50, #3498db, #2c3e50);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animazione di rivelazione allo scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effetto macchina da scrivere */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #3498db;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end),
               blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #3498db }
}

/* Miglioramento hover effects */
.info-item, .booking-button, .airbnb-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover, .booking-button:hover, .airbnb-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Effetto smooth per le immagini */
.gallery-grid img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery-grid img:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* Assicurati che tutti gli elementi interattivi abbiano cursor: none */
a, button, input, .gallery-item, .info-item, [class*="cursor-"] {
    cursor: none !important;
}

/* Buy Me a Coffee Button */
.coffee-button {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, #FFDD00, #FBB034);
    color: #000000;
    padding: 1.4rem 3.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 8px 32px rgba(251, 176, 52, 0.2);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.coffee-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: all 0.6s var(--ease-out-expo);
}

.coffee-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(251, 176, 52, 0.3);
}

.coffee-button:hover::before {
    left: 100%;
}

.coffee-button .arrow {
    display: inline-block;
    transition: transform 0.4s var(--ease-out-expo);
}

.coffee-button:hover .arrow {
    transform: translateX(10px);
}

/* Footer Support Section */
.support-section {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(to bottom, transparent, rgba(139, 69, 19, 0.05));
    border-top: 1px solid rgba(139, 69, 19, 0.08);
}

@media screen and (max-width: 768px) {
    .footer-social a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .coffee-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-social a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .coffee-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Stile per la sezione Le Nostre Stanze */
#stanze {
    margin: 5rem auto 0 auto;
    width: var(--container-width);
    max-width: 1200px;
    padding: 0 1rem;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 6rem;
}
@media (max-width: 900px) {
    #stanze {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

/* Miglioramento card camere */
.room-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(139,69,19,0.18);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border: 2px solid #e2cfa3;
    min-height: 340px;
    margin-top: 0;
    position: relative;
    transition: box-shadow 0.3s var(--ease-out-expo), border 0.3s var(--ease-out-expo), transform 0.2s;
}
.room-card:hover {
    box-shadow: 0 20px 60px rgba(139,69,19,0.28);
    border-color: #d1b97a;
    transform: translateY(-6px) scale(1.02);
}
.room-title {
    font-size: 1.5rem;
    font-family: var(--font-primary);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: none;
    text-align: left;
}
.room-desc {
    font-size: 1.08rem;
    color: var(--text-color);
    margin-bottom: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
}
.room-gallery {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.room-photo {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(139,69,19,0.13);
    background: #eee;
    border: 1.5px solid #e5e5e5;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.room-photo:hover {
    transform: scale(1.04);
}
.airbnb-button {
    margin-top: auto;
    align-self: flex-end;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139,69,19,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    display: inline-block;
    position: relative;
    right: 0;
}
.airbnb-button:hover {
    background: #a05c2a;
    box-shadow: 0 4px 16px rgba(139,69,19,0.18);
}
@media (max-width: 700px) {
    .room-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-height: 220px;
    }
    .room-title {
        font-size: 1.2rem;
    }
    .room-desc {
        font-size: 0.95rem;
    }
    .room-photo {
        width: 100px;
        height: 70px;
    }
}

.room-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 90px;
    background: repeating-linear-gradient(135deg, #f5e9c6, #f5e9c6 10px, #e2cfa3 10px, #e2cfa3 20px);
    color: #8B4513;
    font-size: 1rem;
    font-family: var(--font-primary);
    border-radius: 12px;
    border: 1.5px dashed #e2cfa3;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139,69,19,0.13);
    opacity: 0.85;
}

/* Box placeholder per card senza immagine */
.no-image-box {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2em;
    font-style: italic;
    border: 2px dashed #ccc;
    margin-bottom: 8px;
}

.no-image-text {
    text-align: center;
    padding: 0 8px;
    width: 100%;
} 

/* Animazione hover sulle immagini delle card delle stanze */
.room-photo {
    transition: transform 0.4s var(--ease-out-expo), filter 0.4s var(--ease-out-expo);
}
.room-card:hover .room-photo {
    transform: scale(1.08);
    filter: brightness(1.08) saturate(1.1) drop-shadow(0 4px 16px rgba(139,69,19,0.10));
}

/* Tolgo cambio colore fastidioso su hover card */
.room-card {
    background: #fff;
}
.room-card:hover {
    background: #fff;
}

/* Sezione suggerimenti accanto alle card delle stanze */
.rooms-section {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    width: 100%;
    margin-top: 2.5rem;
}
.suggestions-box {
    flex: 0 0 320px;
    background: #f8f5ee;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(139,69,19,0.08);
    padding: 2rem 1.5rem;
    color: #8B4513;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0;
}
.suggestions-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}
.suggestions-box ul {
    list-style: disc inside;
    margin: 0;
    padding: 0 0 0 1rem;
}
.suggestions-box li {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}
@media (max-width: 900px) {
    .rooms-section {
        flex-direction: column;
    }
    .suggestions-box {
        min-height: 0;
        margin-top: 1rem;
        width: 100%;
        padding: 1rem 0.5rem;
        font-size: 0.98rem;
    }
} 

/* Gallery label solo testo, senza rettangolo */
.gallery-label {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    color: #2C1810 !important;
    font-size: 1.08em !important;
    text-align: center !important;
    display: block !important;
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2 !important;
    letter-spacing: 0.5px;
    vertical-align: top !important;
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.gallery-label.gallery-label-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Nessun bordo o outline sulle immagini e card della galleria, anche su hover/focus */
.gallery-item,
.gallery-item:hover,
.gallery-item:focus,
.gallery-grid img,
.gallery-grid img:hover,
.gallery-grid img:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
} 

/* Solo l'immagine si ingrandisce su hover nella galleria, non la card */
.gallery-item {
    transition: none !important;
}
.gallery-item:hover {
    box-shadow: none !important;
    transform: none !important;
    border: none !important;
    z-index: auto !important;
}
.gallery-item img {
    transition: transform 0.6s var(--ease-out-expo), filter 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
} 

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.7rem;
    padding: 0.7rem;
  }
  .gallery-item img {
    height: 110px;
    max-width: 100vw;
  }
  .gallery-label {
    font-size: 0.95em !important;
    margin-top: 4px !important;
  }
  .rooms-section {
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.2rem;
    padding: 0 0.5rem;
  }
  .rooms-grid {
    gap: 1.2rem;
    margin-top: 1.2rem;
  }
  .room-card {
    padding: 1rem 0.5rem 0.7rem 0.5rem;
    min-height: 180px;
    font-size: 0.98rem;
  }
  .room-title {
    font-size: 1.1rem;
  }
  .room-desc {
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
  }
  .room-photo {
    width: 70px;
    height: 54px;
  }
  .suggestions-box {
    min-height: 0;
    margin-top: 1rem;
    width: 100%;
    padding: 1rem 0.5rem;
    font-size: 0.98rem;
  }
  .modal-content {
    margin: 0.3rem !important;
    max-width: 98vw !important;
    max-height: 90vh !important;
    border-radius: var(--apple-radius) !important;
    padding: 0.5rem !important;
  }
  .modal-image-container {
    height: 50vw !important;
    min-height: 120px;
    max-height: 60vw;
  }
  .modal-image-container img {
    max-width: 98vw !important;
    max-height: 55vw !important;
    border-radius: var(--apple-radius) !important;
  }
  .modal-close, .modal-prev, .modal-next {
    font-size: 1.5rem !important;
    padding: 0.3em 0.7em !important;
  }
  .modal-close {
    top: 0.5rem !important;
    left: 0.5rem !important;
  }
  .modal-prev {
    left: 0.2rem !important;
  }
  .modal-next {
    right: 0.2rem !important;
  }
  .modal-counter {
    bottom: 0.5rem !important;
    font-size: 0.9rem !important;
  }
  .section-header h2 {
    font-size: 1.3rem !important;
    margin-bottom: 0.7rem !important;
  }
  .about-content, .info-grid, .booking-content {
    padding: 0.5rem !important;
  }
  .airbnb-button {
    font-size: 0.98rem !important;
    padding: 0.5rem 0.7rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: block;
  }
  .suggestions-box {
    font-size: 0.93rem !important;
    padding: 0.7rem 0.3rem !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }
  .room-photo {
    width: 110px !important;
    height: 82px !important;
    min-width: 80px !important;
    min-height: 60px !important;
    max-width: 100vw !important;
    max-height: 30vw !important;
  }
  .modal-image-container img {
    max-width: 99vw !important;
    max-height: 80vh !important;
    min-width: 60vw !important;
    min-height: 40vw !important;
    border-radius: var(--apple-radius) !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.4rem;
    padding: 0.3rem;
  }
  .gallery-item img {
    height: 70px;
    max-width: 100vw;
  }
  .gallery-label {
    font-size: 0.9em !important;
    margin-top: 2px !important;
  }
  .room-photo {
    width: 48px;
    height: 36px;
  }
  .modal-content {
    margin: 0.1rem !important;
    max-width: 99vw !important;
    max-height: 80vh !important;
    border-radius: var(--apple-radius) !important;
    padding: 0.2rem !important;
  }
  .modal-image-container {
    height: 38vw !important;
    min-height: 60px;
    max-height: 40vw;
  }
  .modal-image-container img {
    max-width: 99vw !important;
    max-height: 38vw !important;
    border-radius: var(--apple-radius) !important;
  }
  .modal-close, .modal-prev, .modal-next {
    font-size: 1.1rem !important;
    padding: 0.2em 0.5em !important;
  }
  .modal-close {
    top: 0.2rem !important;
    left: 0.2rem !important;
  }
  .modal-prev {
    left: 0.1rem !important;
  }
  .modal-next {
    right: 0.1rem !important;
  }
  .modal-counter {
    bottom: 0.2rem !important;
    font-size: 0.8rem !important;
  }
  .airbnb-button {
    font-size: 0.93rem !important;
    padding: 0.4rem 0.4rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.15 !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: block;
  }
  .suggestions-box {
    font-size: 0.89rem !important;
    padding: 0.5rem 0.1rem !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }
  .room-photo {
    width: 90px !important;
    height: 68px !important;
    min-width: 60px !important;
    min-height: 40px !important;
    max-width: 100vw !important;
    max-height: 40vw !important;
  }
  .modal-image-container img {
    max-width: 100vw !important;
    max-height: 90vh !important;
    min-width: 80vw !important;
    min-height: 50vw !important;
    border-radius: var(--apple-radius) !important;
  }
} 

@media (max-width: 900px) {
  /* 1. Booking button come desktop anche su mobile */
  .booking-button {
    font-size: 1.1rem !important;
    padding: 1.1rem 2.2rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
    width: auto !important;
    min-width: 180px;
    max-width: 100vw;
    box-sizing: border-box;
    text-align: center;
    display: inline-block !important;
    margin: 0.5rem auto 0.5rem auto !important;
    border-radius: var(--apple-radius) !important;
  }
  /* 2. Bottone recensioni come desktop anche su mobile */
  .reviews-cta .airbnb-button {
    font-size: 1.1rem !important;
    padding: 1.1rem 2.2rem !important;
    width: auto !important;
    min-width: 180px;
    max-width: 100vw;
    display: inline-block !important;
    margin: 0.5rem auto 0.5rem auto !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center;
    border-radius: var(--apple-radius) !important;
  }
  /* 3. Suggestions box migliorata e card stanze */
  .suggestions-box {
    font-size: 1.01rem !important;
    padding: 1.3rem 1.1rem !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    background: #f8f5ee;
    border-radius: var(--apple-radius) !important;
    box-shadow: 0 2px 8px rgba(139,69,19,0.08);
    margin-top: 1.2rem;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
  }
  .suggestions-box h4 {
    font-size: 1.13rem !important;
    margin-bottom: 0.7rem !important;
    color: var(--accent-color);
    font-weight: 600;
    text-align: left;
  }
  .suggestions-box ul {
    padding-left: 1.1rem !important;
    margin: 0 !important;
  }
  .suggestions-box li {
    margin-bottom: 0.5rem !important;
    font-size: 1.01rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }
  .rooms-grid {
    gap: 1.2rem;
    margin-top: 1.2rem;
  }
  .room-card {
    padding: 1.1rem 0.7rem 1.1rem 0.7rem;
    min-height: 180px;
    font-size: 1rem;
    border-radius: var(--apple-radius) !important;
    box-shadow: 0 4px 18px rgba(139,69,19,0.10);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
    overflow: visible !important;
  }
  .room-title {
    font-size: 1.13rem;
    margin-bottom: 0.3rem;
  }
  .room-desc {
    font-size: 0.97rem;
    margin-bottom: 0.7rem;
    line-height: 1.35;
    word-break: break-word !important;
  }
  .room-gallery {
    margin-bottom: 0.7rem;
    gap: 0.5rem;
  }
  .room-photo {
    width: 110px !important;
    height: 82px !important;
    min-width: 80px !important;
    min-height: 60px !important;
    max-width: 100vw !important;
    max-height: 30vw !important;
    margin-bottom: 0.2rem;
  }
  .airbnb-button {
    margin-top: auto;
    align-self: flex-end;
    border-radius: var(--apple-radius) !important;
    font-size: 1.1rem !important;
    padding: 1.1rem 2.2rem !important;
    box-shadow: 0 2px 8px rgba(139,69,19,0.10);
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
    display: inline-block !important;
    text-align: center;
    word-break: break-word;
    white-space: normal;
    width: auto !important;
    min-width: 120px;
    max-width: 100vw;
  }
}

@media (max-width: 480px) {
  .booking-button {
    font-size: 1.01rem !important;
    padding: 0.9rem 1.2rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.15 !important;
    width: auto !important;
    min-width: 120px;
    max-width: 100vw;
    box-sizing: border-box;
    text-align: center;
    display: inline-block !important;
    margin: 0.4rem auto 0.4rem auto !important;
    border-radius: var(--apple-radius) !important;
  }
  .reviews-cta .airbnb-button {
    font-size: 1.01rem !important;
    padding: 0.9rem 1.2rem !important;
    width: auto !important;
    min-width: 120px;
    max-width: 100vw;
    display: inline-block !important;
    margin: 0.4rem auto 0.4rem auto !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center;
    border-radius: var(--apple-radius) !important;
  }
  .suggestions-box {
    font-size: 0.99rem !important;
    padding: 0.9rem 0.5rem !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    background: #f8f5ee;
    border-radius: var(--apple-radius) !important;
    box-shadow: 0 2px 8px rgba(139,69,19,0.08);
    margin-top: 0.7rem;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
  }
  .suggestions-box h4 {
    font-size: 1.01rem !important;
    margin-bottom: 0.4rem !important;
    color: var(--accent-color);
    font-weight: 600;
    text-align: left;
  }
  .suggestions-box ul {
    padding-left: 0.7rem !important;
    margin: 0 !important;
  }
  .suggestions-box li {
    margin-bottom: 0.3rem !important;
    font-size: 0.99rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  .room-card {
    padding: 0.7rem 0.3rem 0.7rem 0.3rem;
    min-height: 120px;
    font-size: 0.97rem;
    border-radius: var(--apple-radius) !important;
    box-shadow: 0 2px 8px rgba(139,69,19,0.08);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 0.3rem;
    overflow: visible !important;
  }
  .room-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .room-desc {
    font-size: 0.91rem;
    margin-bottom: 0.4rem;
    line-height: 1.25;
    word-break: break-word !important;
  }
  .room-gallery {
    margin-bottom: 0.4rem;
    gap: 0.3rem;
  }
  .room-photo {
    width: 80px !important;
    height: 60px !important;
    min-width: 50px !important;
    min-height: 30px !important;
    max-width: 100vw !important;
    max-height: 40vw !important;
    margin-bottom: 0.1rem;
  }
  .airbnb-button {
    margin-top: auto;
    align-self: flex-end;
    border-radius: var(--apple-radius) !important;
    font-size: 1.01rem !important;
    padding: 0.9rem 1.2rem !important;
    box-shadow: 0 2px 8px rgba(139,69,19,0.10);
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
    display: inline-block !important;
    text-align: center;
    word-break: break-word;
    white-space: normal;
    width: auto !important;
    min-width: 80px;
    max-width: 100vw;
  }
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 1000;
}
.lang-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.4em 1em;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer !important;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(44,24,16,0.08);
    outline: none;
}
.lang-btn.active, .lang-btn:hover {
    background: var(--accent-color);
    color: #fff;
}
@media (max-width: 768px) {
    .language-switcher {
        top: 1rem;
        right: 1rem;
        gap: 0.3rem;
    }
    .lang-btn {
        font-size: 0.9rem;
        padding: 0.3em 0.7em;
    }
}

/* Personalizzazioni modale stanze */
.modal-close {
    display: none !important; /* Nasconde il pulsante X */
}

/* Frecce fuori dall'immagine */
.modal-prev,
.modal-next {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 3rem !important;
    width: auto !important;
    height: auto !important;
    opacity: 0.8 !important;
    z-index: 1001 !important;
    padding: 1rem !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.modal-prev {
    left: 2rem !important;
}

.modal-next {
    right: 2rem !important;
}

/* Rimuovi tutti gli effetti hover, focus e active */
.modal-prev:hover,
.modal-next:hover,
.modal-prev:focus,
.modal-next:focus,
.modal-prev:active,
.modal-next:active {
    transform: translateY(-50%) !important;
    opacity: 0.8 !important;
    background: none !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Rimuovi il focus ring su tutti i browser */
.modal-prev:focus-visible,
.modal-next:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
