:root {
    /* Palette colori principale */
    --color-cream: #FFF8F6;            /* Sfondo generale, crema molto chiaro */
    --color-pink-light: #FDECEA;       /* Sfondo box "Servizi" */
    --color-pink-medium: #D9776B;      /* Colore dei bottoni (es. "Contattaci per una visita") */
    --color-pink-dark: #A7534B;        /* Colore dei titoli nelle card servizi */
    --color-pink-dark-rgb: 167, 83, 75;
    
    /* Colori di supporto */
    --color-text: #333333;
    --color-background: var(--color-cream);
    --color-shadow: rgba(0, 0, 0, 0.1);
    
    /* Colori per hover e interazioni */
    --color-hover: var(--color-pink-dark);
    --color-active: var(--color-pink-medium);
}

/* Reset base e stili generali */
html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-size: 16px;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.3;
}

/* Team Carousel Styles */
.team-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

.team-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.team-member {
    position: relative;
    transition: all 0.5s ease;
    cursor: pointer;
    flex: 0 0 auto;
}

.team-member.prev,
.team-member.next {
    transform: scale(0.7);
    opacity: 0.6;
}

.team-member.active {
    transform: scale(1);
    opacity: 1;
}

.team-member img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member .member-info {
    text-align: center;
    margin-top: 1rem;
}

.team-member .member-info h3 {
    color: var(--color-text);
    margin: 0.5rem 0;
}

.team-member .member-info p {
    color: var(--color-pink-dark);
    font-size: 0.9rem;
}

.team-description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Team Qualifications Styles */
.team-qualifications {
    margin-top: 4rem;
    padding: 2rem 0;
}

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.qualification {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-pink-light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.qualification:hover {
    transform: translateY(-5px);
}

.qualification i {
    font-size: 2.5rem;
    color: var(--color-pink-dark);
    margin-bottom: 1rem;
}

.qualification h3 {
    margin: 1rem 0;
    color: var(--color-text);
}

.qualification p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-pink-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 998;
    transition: all 0.3s ease-in-out;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0;
}

.main-header.sidebar-open {
    height: 60px;
    padding-right: 300px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 1rem;
}

.logo-header {
    height: 60px;
    transition: var(--transition);
    margin-left: 20px;
}

.logo-header img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.sidebar-open .logo-header {
    height: 40px;
}

.menu-toggle {
    cursor: pointer;
    z-index: 1000;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.menu-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.menu-toggle:hover .menu-icon {
    transform: rotate(-90deg) scale(1.1);
}

.sidebar-open .menu-icon {
    transform: rotate(90deg);
}

.sidebar-open .menu-toggle:hover .menu-icon {
    transform: rotate(0deg) scale(1.1);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-pink-light);
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 999;
}

.sidebar.open {
    right: 0;
}

.sidebar-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
    margin-top: 2rem;
    text-decoration: none;
    pointer-events: none;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-item {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: var(--color-text);
    padding: 0.5rem 0;
    font-size: 1.1rem;
    position: relative;
}

.sidebar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text);
    transition: width 0.3s ease;
}

.sidebar-item:hover::after {
    width: 100%;
}

.sidebar.open .sidebar-item {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.open .sidebar-item:nth-child(1) { transition-delay: 0.05s; }
.sidebar.open .sidebar-item:nth-child(2) { transition-delay: 0.1s; }
.sidebar.open .sidebar-item:nth-child(3) { transition-delay: 0.15s; }
.sidebar.open .sidebar-item:nth-child(4) { transition-delay: 0.2s; }
.sidebar.open .sidebar-item:nth-child(5) { transition-delay: 0.25s; }

/* Hero Video Styles */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block; /* Assicura che il video sia visibile */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    padding-top: calc(80px + 2rem);
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    color: white;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
    color: white;
}

.hero-content .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.9s;
}

.hero-content .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.hero-content .btn-primary {
    background: var(--color-pink-dark);
    color: white;
}

.hero-content .btn-secondary {
    background-color: rgba(180, 103, 110, 0.15);
    border: 2px solid var(--color-pink-dark);
    color: var(--color-pink-dark);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

.hero-content .btn-secondary:hover {
    background-color: var(--color-pink-dark);
    color: var(--color-cream);
    border-color: var(--color-pink-dark);
    transform: translateY(-2px);
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Stili Pagina Servizi */
.services-page-container {
    padding-top: 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-intro {
    text-align: center;
    padding: 2rem 1rem 4rem;
}

.services-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-pink-dark);
}

.services-intro .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Core Services */
.core-services {
    background-color: var(--color-pink-light);
    padding: 4rem 0;
}

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

.service-grid.three-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--color-shadow);
}

.service-card.primary {
    border-left: 5px solid var(--color-pink-medium);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.service-header i {
    font-size: 2rem;
    color: var(--color-pink-medium);
}

.service-header h3 {
    margin: 0;
    color: var(--color-pink-dark);
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li::before {
    content: '•';
    color: var(--color-pink-medium);
    position: absolute;
    left: 0;
}

/* Activities Section */
.wellness-activities {
    padding: 4rem 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem -2rem 2rem;
    padding: 0;
}

.activity-column h3 {
    color: var(--color-pink-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--color-pink-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: translateX(10px);
}

.activity-item i {
    color: var(--color-pink-medium);
    font-size: 1.5rem;
}

/* Additional Services */
.additional-services {
    padding: 4rem 0;
    background-color: var(--color-pink-light);
}

.extra-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.extra-service {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.extra-service:hover {
    transform: translateY(-5px);
}

.extra-service i {
    font-size: 2.5rem;
    color: var(--color-pink-medium);
    margin-bottom: 1rem;
}

.extra-service h4 {
    color: var(--color-pink-dark);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-services {
    padding: 4rem 0;
}

.contact-box {
    background-color: white;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--color-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    color: var(--color-pink-dark);
    margin-bottom: 1rem;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-actions .btn-secondary {
    background-color: rgba(180, 103, 110, 0.15);
    border: 2px solid var(--color-pink-dark);
    color: var(--color-pink-dark);
}

.contact-actions .btn-secondary:hover {
    background-color: var(--color-pink-dark);
    color: var(--color-cream);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .extra-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Theme Toggle */
.theme-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
}

/* CTA Mission */
.cta-mission {
    margin-top: 2rem;
}

.cta-mission .btn {
    display: inline-block;
    font-size: 1.1rem;
    transition: transform 0.0s ease;
}

.cta-mission .btn:hover {
    transform: translateY(-3px);
}

/* Discover More Card */
.service-card.discover-more {
    position: relative;
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.discover-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(var(--color-pink-dark-rgb), 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    padding: 2rem;
    text-align: center;
    transition: all 0.0s ease;
}

.discover-overlay i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card.discover-more:hover {
    transform: translateY(-5px);
}

/* Team Section */
.about-content.reverse {
    flex-direction: row-reverse;
}

.team-section {
    background-color: var(--color-pink-light);
}

/* Main Content */
main {
    flex: 1;
    margin-top: 80px; /* Add margin for fixed header */
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Ensure all sections are contained */
section {
    width: 100%;
    overflow-x: hidden;
}

/* Fix for potential grid overflow */
.services-grid,
.about-content,
.team-section .about-content,
.location-grid {
    width: 100%;
    margin: 0;
    padding: 0;
}

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

    .about-content {
        margin: 0;
    }

    .about-image {
        margin: 0;
        width: 100%;
    }

    .about-text {
        padding: 1rem 0;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-placeholder.jpg');
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-pink-dark);
    color: var(--color-cream);
}

.btn-primary:hover {
    background-color: var(--color-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(180, 103, 110, 0.15);
    border: 2px solid var(--color-pink-dark);
    color: var(--color-pink-dark);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-pink-dark);
    color: var(--color-cream);
    border-color: var(--color-pink-dark);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--color-pink-dark);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--color-pink-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--color-pink-dark);
    margin-right: 1rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--color-shadow);
    border: 8px solid var(--color-pink-dark);
    padding: 2px;
    background: white;
    margin-top: 7rem;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* Aspect ratio 3:2 */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Activities Section */
.activities {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

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

.activity-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--color-shadow);
}

.activity-card i {
    font-size: 2.5rem;
    color: var(--color-pink-dark);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

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

    .about-text {
        padding-right: 0;
    }

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

    .btn {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--color-pink-light);
    padding: 3rem 1rem 1rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: var(--color-text);
    font-size: 1.2rem;
    position: relative;
}

.footer-section h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-pink-dark);
    margin-top: 0.5rem;
}

.footer-section.about p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section.contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-section.contact i {
    margin-right: 10px;
    color: var(--color-pink-dark);
    width: 20px;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links ul li {
    margin-bottom: 0.8rem;
}

.footer-section.links ul li a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section.links ul li a:hover {
    color: var(--color-hover);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--color-pink-dark);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

/* Stili per la card con link ai servizi */
.discover-more-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.discover-more-card:hover {
    transform: translateY(-5px);
}

.discover-more-card .service-card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    transition: opacity 0.3s ease;
}

.discover-more-card:hover .service-card-content {
    opacity: 0.1;
}

.discover-more-card .discover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(180, 103, 110, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
    color: white;
}

.discover-more-card:hover .discover-overlay {
    opacity: 1;
}

.discover-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.discover-overlay p {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Stili per i servizi nascosti */
.hidden-service {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.hidden-service.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.service-card.hidden-service.show:not(.discover-more-card) {
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.service-card.hidden-service.show:not(.discover-more-card):hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--color-shadow);
}

.services-show-more {
    text-align: center;
    margin-top: 3rem;
    position: relative;
}

/* Intro Section */
.intro-section {
    padding: 6rem 0;
    background-color: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text h2 {
    color: var(--color-pink-dark);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.intro-text .lead {
    font-size: 1.4rem;
    color: var(--color-pink-medium);
    margin-bottom: 2rem;
    font-weight: 300;
}

.intro-text {
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.intro-features {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--color-pink-medium);
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: translateY(-5px);
}

.feature span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-pink-dark);
}

@media (max-width: 768px) {
    .intro-features {
        flex-direction: column;
        gap: 2rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .intro-text .lead {
        font-size: 1.2rem;
    }
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 6rem 0;
    background-color: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 3px solid var(--color-pink-medium);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-carousel {
    width: 100%;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    min-height: 500px;
    margin-top: -2rem;
    border: none;
}

.gallery-carousel .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-carousel .carousel-slide.active {
    opacity: 1;
}

.gallery-carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--color-cream);
}

.gallery-title {
    padding: 0.5rem 0.5rem 0.5rem;
    margin: 0;
    background: white;
    color: var(--color-text);
    text-align: center;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.gallery-item:hover .gallery-title {
    opacity: 0;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

.gallery-carousel .carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.gallery-carousel .carousel-slide {
    width: 100%;
    height: 100%;
}

.gallery-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

/* View More Overlay */
.view-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--color-pink-dark-rgb), 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
    color: white;
    border-radius: 10px;
}

.gallery-item.view-more:hover .view-more-overlay {
    opacity: 1;
}

.view-more-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.view-more-overlay p {
    color: white;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.view-more-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--color-pink-dark);
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.gallery-item.view-more:hover .view-more-btn {
    transform: translateY(5px);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background-color: var(--color-cream);
}

.contact-section h1 {
    color: var(--color-pink-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.contact-section .lead {
    text-align: center;
    color: var(--color-text);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-method {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 4px var(--color-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px var(--color-shadow);
}

.method-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.whatsapp .method-icon i {
    color: #25D366;
}

.phone .method-icon i {
    color: var(--color-pink-dark);
}

.email .method-icon i {
    color: var(--color-pink-medium);
}

.method-info h3 {
    color: var(--color-pink-dark);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.method-info p {
    color: var(--color-text);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-detail {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 500;
}

.method-action {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-btn, .whatsapp .method-action {
    background: none;
    border: none;
    color: var(--color-pink-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.whatsapp .method-action {
    color: #25D366;
}

.copy-btn:hover, .whatsapp .method-action:hover {
    color: var(--color-pink-dark);
}

.whatsapp .method-action:hover {
    color: #1da851;
}

.copy-btn.copied {
    color: #28a745;
}

/* Location Info Styles */
.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.visit-hours, .map-container {
    background: var(--color-cream);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visit-hours h2, .map-container h2 {
    color: var(--color-pink-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hours-item:hover {
    transform: translateX(5px);
}

.hours-item i {
    color: var(--color-pink-dark);
    font-size: 1.2rem;
    background: var(--color-pink-light);
    padding: 0.8rem;
    border-radius: 50%;
}

.hours-detail h4 {
    color: var(--color-pink-dark);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.hours-note {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--color-text);
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-note i {
    color: var(--color-pink-dark);
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hours-item i {
    color: var(--color-pink-medium);
}

.hours-detail h4 {
    color: var(--color-pink-dark);
    margin-bottom: 0.2rem;
}

.hours-note {
    margin-top: 1.5rem;
    color: var(--color-text);
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.address i {
    color: var(--color-pink-medium);
    font-size: 1.2rem;
}

.address-detail p {
    margin-bottom: 0.5rem;
}

.map-container {
    display: flex;
    flex-direction: column;
}

.map-container h2 {
    margin-bottom: 1.5rem;
}

.map-container .address {
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: none;
}

@media (max-width: 992px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .location-info {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        margin: 2rem auto;
    }

    .map-container iframe {
        height: 350px;
    }
    
    .contact-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-method {
        padding: 1rem;
    }
    
    .method-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .location-info {
        padding: 0 1rem;
        gap: 2rem;
        margin: 1.5rem auto;
    }

    .visit-hours, .map-container {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .map-container h2,
    .visit-hours h2 {
        font-size: 1.5rem;
    }
}

.services-show-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-pink-medium);
    opacity: 0.3;
    z-index: 1;
}

#showMoreServices {
    position: relative;
    padding: 1rem 3rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--color-cream);
    border: 2px solid var(--color-pink-medium);
    color: var(--color-pink-dark);
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px var(--color-shadow);
}

#showMoreServices:hover {
    background-color: var(--color-pink-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--color-shadow);
}

#showMoreServices:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px var(--color-shadow);
}

#showMoreServices i {
    transition: transform 0.3s ease;
}

#showMoreServices.active i {
    transform: rotate(180deg);
}

#showMoreServices .show-less-text {
    display: none;
}

#showMoreServices.active .show-more-text {
    display: none;
}

#showMoreServices.active .show-less-text {
    display: inline;
}

/* Stili sezione Dove Siamo */
.location {
    padding: 4rem 0;
    background-color: var(--color-cream);
}

.location h2 {
    text-align: center;
    color: var(--color-pink-dark);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--color-pink-light);
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    color: var(--color-pink-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-features {
    list-style: none;
    padding: 0;
}

.cta-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--color-text);
}

.cta-features li i {
    color: var(--color-pink-dark);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.cta-actions {
    background-color: var(--color-cream);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--color-shadow);
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--color-shadow);
}

.cta-phone i {
    font-size: 1.5rem;
    color: var(--color-pink-dark);
    padding: 1rem;
    background-color: var(--color-pink-light);
    border-radius: 50%;
}

.phone-details {
    display: flex;
    flex-direction: column;
}

.phone-details span {
    font-size: 0.9rem;
    color: var(--color-text);
}

.phone-number {
    font-size: 1.3rem;
    color: var(--color-pink-dark);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--color-pink-medium);
}

.cta-divider {
    color: var(--color-text);
    font-size: 0.9rem;
    position: relative;
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-pink-dark);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--color-pink-medium);
}

.cta-availability {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-text {
        text-align: center;
    }

    .cta-features li {
        justify-content: center;
    }
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.map-container {
    display: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-info {
    padding: 2rem;
    background-color: var(--color-pink-light);
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--color-shadow);
    width: 100%;
    max-width: 600px;
}

.contact-info h3 {
    color: var(--color-pink-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-pink-dark);
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-pink-dark);
}

.contact-item p {
    line-height: 1.4;
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-pink-dark);
}

.cta-contact {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-contact .btn {
    flex: 1;
    text-align: center;
    padding: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-contact .btn-primary {
    background-color: var(--color-pink-dark);
    color: white;
}

.cta-contact .btn-secondary {
    background-color: var(--color-pink-medium);
    color: white;
}

.cta-contact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--color-shadow);
}

/* Media Queries per responsività */
@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        order: 2;
    }

    .contact-info {
        order: 1;
    }
}

@media (max-width: 576px) {
    .cta-contact {
        flex-direction: column;
    }

    .contact-item i {
        font-size: 1.25rem;
    }

    .location h2 {
        font-size: 2rem;
    }

    .contact-info h3 {
        font-size: 1.75rem;
    }
}

.social-links a:hover {
    color: var(--color-pink-medium);
    transform: translateY(-3px);
}

.newsletter {
    margin-top: 1.5rem;
}

.newsletter h4 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--color-pink-medium);
    border-radius: 4px;
    background-color: var(--color-cream);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    background-color: var(--color-pink-dark);
    border: none;
    border-radius: 4px;
    color: var(--color-cream);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--color-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-pink-medium);
    margin-top: 2rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Popup style è stato spostato nel file popup.css */
