/* ============================================
   Casa Airol - Custom Styles
   Modern Luxury & Elegant Design
   ============================================ */

/* Variables */
:root {
    --primary-color: #C19A6B;
    --primary-dark: #8B7355;
    --primary-light: #D4AF7A;
    --accent-color: #2C3E50;
    --accent-light: #34495E;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --bg-light: #F9F7F4;
    --bg-cream: #FAF8F5;
    --white: #FFFFFF;
    --shadow-sm: rgba(0, 0, 0, 0.08);
    --shadow-md: rgba(0, 0, 0, 0.12);
    --shadow-lg: rgba(0, 0, 0, 0.18);
    --gold-gradient: linear-gradient(135deg, #C19A6B 0%, #D4AF7A 100%);
    --dark-gradient: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    background-color: var(--white);
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

p {
    color: var(--text-medium);
    line-height: 1.9;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-medium);
}

/* Override Bootstrap text-primary to use gold color */
.text-primary {
    color: var(--primary-color) !important;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gold-gradient);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(193, 154, 107, 0.5);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 4px;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin: 0 0.75rem;
    padding: 0.5rem 0.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&h=1080&fit=crop') center/cover no-repeat;  */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/slide_hero_2.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-attachment: scroll;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.2) 0%, rgba(44, 62, 80, 0.3) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(193, 154, 107, 0.15) 0%, transparent 50%);
    animation: pulse-gradient 8s ease-in-out infinite;
}

@keyframes pulse-gradient {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #FFFFFF !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    font-family: 'Lato', sans-serif;
    opacity: 1;
}

.btn-primary {
    background: var(--gold-gradient);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D4AF7A 0%, #C19A6B 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 154, 107, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: var(--gold-gradient);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 154, 107, 0.3);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -1px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* About Section */
#chi-siamo .container {
    position: relative;
}

.about-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Luxury Divider */
.luxury-divider {
    text-align: center;
    margin: 4rem 0;
    position: relative;
}

.luxury-divider::before,
.luxury-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.luxury-divider::before {
    left: 0;
}

.luxury-divider::after {
    right: 0;
}

.luxury-divider span {
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0 1rem;
    background: var(--white);
}

/* Room Cards */
.room-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow-sm);
    position: relative;
}

.featured-room {
    border: 2px solid var(--primary-light);
}

.room-badge-featured {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-md) !important;
}

.room-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.room-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-card:hover .room-image::after {
    opacity: 1;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-image img {
    transform: scale(1.15);
}

.room-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.room-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold-gradient);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.room-card .card-body {
    padding: 2rem;
    background: var(--white);
}

.room-card .card-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.room-card .card-text {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    min-height: 60px;
    line-height: 1.7;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amenity-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-medium);
    padding: 0.4rem 0.8rem;
    background-color: var(--bg-cream);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(193, 154, 107, 0.1);
}

.amenity-item:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.amenity-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.amenity-item:hover i {
    color: var(--white);
}

/* Contact Section */
.contact-info {
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-cream);
    border-radius: 12px;
    border: 1px solid rgba(193, 154, 107, 0.1);
}

.contact-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-sm);
    background: var(--white);
}

.contact-info i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-info:hover i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.contact-info h5 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-cream);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(193, 154, 107, 0.15);
    box-shadow: 0 4px 20px var(--shadow-sm);
}

.contact-form .form-control {
    border: 2px solid rgba(193, 154, 107, 0.2);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(193, 154, 107, 0.15);
    background: var(--white);
}

.contact-form .form-control::placeholder {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--dark-gradient) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    line-height: inherit;
}

.footer-link-btn:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--gold-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.3);
    border-color: transparent;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* Animations */
.fade-in {
    /* opacity: 0; */
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-img {
        height: 45px;
    }

    .room-image {
        height: 200px;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }
}

/* Services Section */
.services-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-cream);
    border-radius: 12px;
    border: 1px solid rgba(193, 154, 107, 0.1);
}

.services-section h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border: 1px solid rgba(193, 154, 107, 0.1);
}

.service-item:hover {
    background: var(--gold-gradient);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.2);
}

.service-item i {
    font-size: 1.3rem;
    width: 28px;
    transition: all 0.3s ease;
}

.service-item:hover i {
    color: var(--white) !important;
    transform: scale(1.1);
}

.service-item span {
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
}

.service-item:hover span {
    color: var(--white);
}

/* Carousel Gallery */
#aboutCarousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-md);
}

.gallery-thumb {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 650px;
    object-fit: cover;
}

.gallery-thumb:hover {
    transform: scale(1.02);
}

.carousel-control-prev,
.carousel-control-next {
    width: 55px;
    height: 55px;
    background: rgba(193, 154, 107, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

#aboutCarousel:hover .carousel-control-prev,
#aboutCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--gold-gradient);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(193, 154, 107, 0.4);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Gallery Modal */
#galleryModal .modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

#galleryModal .carousel-item img {
    height: 70vh;
    object-fit: contain;
}

/* Controlli carousel nel modal della gallery */
#galleryModal .carousel-control-prev,
#galleryModal .carousel-control-next {
    width: 55px;
    height: 55px;
    background: rgba(193, 154, 107, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

#galleryModal:hover .carousel-control-prev,
#galleryModal:hover .carousel-control-next {
    opacity: 1;
}

#galleryModal .carousel-control-prev:hover,
#galleryModal .carousel-control-next:hover {
    background: var(--gold-gradient);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(193, 154, 107, 0.4);
}

#galleryModal .carousel-control-prev {
    left: 20px;
}

#galleryModal .carousel-control-next {
    right: 20px;
}

/* Room Detail Modals */
.room-detail-amenities {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-cream);
    border-radius: 10px;
    border: 1px solid rgba(193, 154, 107, 0.15);
}

.room-detail-amenities h5 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

.room-detail-amenities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-detail-amenities li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-medium);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(193, 154, 107, 0.1);
}

.room-detail-amenities li:last-child {
    border-bottom: none;
}

.room-detail-amenities li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.room-detail-amenities li i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-md);
    border: 3px solid var(--white);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Directions Info */
.directions-info {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
    border: 1px solid rgba(193, 154, 107, 0.15);
    box-shadow: 0 4px 20px var(--shadow-sm);
}

.directions-info h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.direction-item {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(193, 154, 107, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.direction-item:hover {
    box-shadow: 0 4px 15px var(--shadow-sm);
}

.direction-header {
    font-size: 1.2rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    user-select: none;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    position: relative;
}

.direction-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.direction-header:hover::after {
    width: 100%;
}

.direction-header:hover {
    background: var(--bg-cream);
    color: var(--primary-color);
}

.direction-header i.text-primary {
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.direction-header:hover i.text-primary {
    transform: scale(1.1);
}

.direction-chevron {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.direction-header.active .direction-chevron {
    transform: rotate(180deg);
}

.direction-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    background: var(--bg-cream);
}

.direction-content.show {
    max-height: 300px;
    padding: 1.5rem;
    opacity: 1;
}

.direction-content p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.8;
}

.direction-content p+p {
    margin-top: 0.75rem;
}

/* Extra specificity to override any Bootstrap conflicts */
#directionsAccordion .direction-content {
    padding: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.3s ease-in-out !important, padding 0.3s ease-in-out !important, opacity 0.3s ease-in-out !important;
    background: var(--bg-cream) !important;
}

#directionsAccordion .direction-content.show {
    max-height: 300px !important;
    padding: 1.5rem !important;
    opacity: 1 !important;
}

/* Debug CSS - Temporary borders to verify elements */
.direction-header {
    border-left: 3px solid transparent !important;
}

.direction-header.active {
    border-left: 3px solid var(--primary-color) !important;
    background: var(--bg-cream) !important;
    color: var(--primary-color) !important;
}

.direction-header.active::after {
    width: 100% !important;
}

.direction-header:hover {
    border-left: 3px solid var(--primary-light) !important;
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.modal-header {
    background: var(--bg-cream);
    border-radius: 12px 12px 0 0;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(193, 154, 107, 0.15);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-body {
    padding: 2.5rem;
    background: var(--white);
}

.modal-body .carousel-item img {
    border-radius: 10px;
    height: 650px;
    object-fit: contain;
}

.modal-body h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.btn-close {
    background-size: 20px;
    opacity: 0.6;
}

.btn-close:hover {
    opacity: 1;
}

/* Features Section */
.feature-box {
    padding: 2rem 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.feature-box:hover {
    transform: translateY(-10px);
    background: var(--bg-cream);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(193, 154, 107, 0.3);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(193, 154, 107, 0.4);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chi Siamo Section Enhancements */
#chi-siamo {
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-cream) 100%);
}

#chi-siamo .lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Camere Section Background */
#camere {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--white) 100%);
}

/* Come Raggiungerci Section */
#come-raggiungerci {
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-cream) 100%);
}

/* Testimonials Section */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-light);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-stars i {
    margin-right: 0.25rem;
}

.testimonial-text {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-cream);
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: 'Playfair Display', serif;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contatti Section */
#contatti {
    background: linear-gradient(to bottom, var(--bg-cream) 0%, var(--white) 100%);
    margin-bottom: 6%;
}

/* Scroll Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Elements */
.section-decorator {
    text-align: center;
    margin-bottom: 3rem;
}

.section-decorator::before {
    content: '◆';
    color: var(--primary-color);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* Enhanced About Image */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .directions-info {
        margin-top: 2rem;
    }

    .map-container iframe {
        height: 350px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-thumb {
        height: 300px;
    }

    #galleryModal .carousel-item img {
        height: 50vh;
    }

    .modal-body .carousel-item img {
        height: 350px;
    }

    .directions-info {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .services-section {
        padding: 1.5rem;
    }
}

/* Premium Enhancements */

/* Floating Animation for Hero CTA */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-section .btn-primary {
    animation: float 3s ease-in-out infinite;
}

.hero-section .btn-primary:hover {
    animation: none;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Luxury Badge */
.luxury-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gold-gradient);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
}

/* Glow Effect for Interactive Elements */
.btn-primary:focus,
.btn-outline-primary:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(193, 154, 107, 0.25),
        0 0 20px rgba(193, 154, 107, 0.3);
}

/* Smooth Section Transitions */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(193, 154, 107, 0.2), transparent);
}

/* Enhanced Link Hover */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.social-link) {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.social-link):hover {
    color: var(--primary-color);
}

/* Elegant Underline Animation */
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Elegant Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 6px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #D4AF7A 0%, #C19A6B 100%);
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Image Overlay Effect */
.image-overlay-effect {
    position: relative;
    overflow: hidden;
}

.image-overlay-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.image-overlay-effect:hover::before {
    left: 100%;
}

/* Smooth Page Transitions */
body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Enhanced Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip Enhancement */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(193, 154, 107, 0.4);
}

.whatsapp-btn {
    position: fixed !important;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(193, 154, 107, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Navbar Enhancement on Scroll */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
}

/* Enhanced Card Hover Effects */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved Text Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
    text-shadow: none;
}

/* Smooth Transitions for All Interactive Elements */
a,
button,
input,
textarea,
select {
    transition: all 0.3s ease;
}

/* Enhanced Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Improved Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded,
img[src] {
    opacity: 1;
}

/* Preload Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--bg-cream) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {

    .navbar,
    footer,
    .btn,
    .carousel-control-prev,
    .carousel-control-next,
    .back-to-top {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Tablet Optimizations */
@media (max-width: 991px) and (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .room-card .card-body {
        padding: 1.75rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 576px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 25px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .feature-box {
        padding: 1.5rem 0.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-number {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: -10px;
        left: 15px;
    }

    .social-links {
        justify-content: center;
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 0 !important;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Dark Mode Support (Optional - can be activated with user preference) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode support
    :root {
        --text-dark: #F5F5F5;
        --text-medium: #D0D0D0;
        --text-light: #A0A0A0;
        --bg-light: #1A1A1A;
        --bg-cream: #2A2A2A;
        --white: #0F0F0F;
    }
    */
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-section {
        background-attachment: scroll;
    }
}

/* Punti di Interesse Section */
#punti-interesse {
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-cream) 100%);
}

.map-interesse-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-md);
    border: 3px solid var(--white);
    height: 600px;
    position: relative;
}

#map-interesse {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: 1;
}

/* Override Leaflet default styles */
#map-interesse .leaflet-container {
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
}

#map-interesse .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-md);
}

#map-interesse .leaflet-popup-content {
    margin: 1rem;
    font-size: 0.95rem;
}

#map-interesse .leaflet-popup-content h5 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

#map-interesse .leaflet-popup-content p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

#map-interesse .leaflet-popup-content p:last-child {
    margin-bottom: 0;
}

.lista-interesse-container {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 12px;
    height: 600px;
    border: 1px solid rgba(193, 154, 107, 0.15);
    box-shadow: 0 4px 20px var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.lista-interesse-container h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(193, 154, 107, 0.2);
}

.lista-interesse {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

/* Custom Scrollbar per la lista */
.lista-interesse::-webkit-scrollbar {
    width: 8px;
}

.lista-interesse::-webkit-scrollbar-track {
    background: var(--white);
    border-radius: 4px;
}

.lista-interesse::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 4px;
}

.lista-interesse::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #D4AF7A 0%, #C19A6B 100%);
}

.punto-interesse-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    border: 2px solid rgba(193, 154, 107, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.punto-interesse-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gold-gradient);
    border-radius: 10px 0 0 10px;
    transition: width 0.3s ease;
}

.punto-interesse-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px var(--shadow-md);
    border-color: var(--primary-color);
}

.punto-interesse-card:hover::before {
    width: 4px;
}

.punto-interesse-card.active {
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.1) 0%, rgba(212, 175, 122, 0.05) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(193, 154, 107, 0.3);
    transform: translateX(8px);
}

.punto-interesse-card.active::before {
    width: 4px;
}

.punto-interesse-card h5 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.punto-interesse-card:hover h5,
.punto-interesse-card.active h5 {
    color: var(--primary-color);
}

.punto-interesse-card .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gold-gradient);
    border: none;
}

.punto-interesse-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0.75rem;
}

.punto-interesse-card i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.punto-interesse-card:hover i {
    transform: scale(1.2);
}

/* Marker Popup Styles */
.marker-popup {
    min-width: 250px;
    max-width: 300px;
}

.marker-popup h5 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.marker-popup p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.marker-popup p strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Struttura Popup Styles */
.struttura-popup {
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.1) 0%, rgba(212, 175, 122, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 0.5rem;
}

.struttura-popup h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.struttura-popup p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0;
}

/* Marker Struttura Icon Styles */
.marker-struttura {
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.5);
    border: 3px solid var(--white);
    background: var(--white);
    padding: 3px;
}

.marker-struttura img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design per Punti di Interesse */
@media (max-width: 992px) {
    .map-interesse-container {
        height: 450px;
        margin-bottom: 2rem;
    }

    .lista-interesse-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .map-interesse-container {
        height: 400px;
    }

    .lista-interesse-container {
        height: 400px;
        padding: 1.5rem;
    }

    .lista-interesse-container h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .punto-interesse-card {
        padding: 1.25rem;
    }

    .punto-interesse-card h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .map-interesse-container {
        height: 350px;
    }

    .lista-interesse-container {
        height: 350px;
        padding: 1.25rem;
    }

    .punto-interesse-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}