/* ===== VARIABILI CSS ===== */
:root {
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --accent-gold: #D4AF37;
    --light-gold: #F5E8C8;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    
    /* Variabili per animazioni */
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET E BASE ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-light);
    overflow-x: hidden;
}

.text-gold {
    color: var(--accent-gold);
}

/* ===== ANIMAZIONI PERSONALIZZATE ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3px 0; /* Ancora più sottile */
    min-height: 50px; /* Altezza minima ridotta */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-gold) !important;
}

.navbar-brand img {
    transition: var(--transition-medium);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}
/* Stile per il link home nella navbar */
.navbar-home {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.navbar-home i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.navbar-home:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.navbar-home:hover i {
    transform: translateX(-3px);
}

/* Placeholder per bilanciare il layout */
.navbar-placeholder {
    width: 80px; /* Stessa larghezza approssimativa del link home */
    visibility: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-home span {
        display: none; /* Nasconde la scritta "Home" su mobile */
    }
    
    .navbar-home {
        padding: 8px;
    }
    
    .navbar-placeholder {
        width: 40px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('manubri.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: "ITC Benguiat", serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--accent-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.logo-container {
    animation: fadeInUp 1.2s ease-out, float 6s ease-in-out infinite;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: var(--transition-medium);
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 25px rgba(212, 175, 55, 0.3));
}

/* Indicatore di scorrimento */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
}

/* ===== SEZIONI GENERALI ===== */
.section-padding {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--secondary-black);
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-medium);
    max-width: 500px;
    margin: 0 auto;
}

.about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-img img {
    transition: var(--transition-slow);
    width: 100%;
    height: auto;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* ===== SEZIONE VANTAGGI (FASCIA ORO) ===== */
.advantages-section {
    background: linear-gradient(135deg, #9c7518 0%, #c9a84d 100%);
    color: var(--primary-black);
    padding: 25px 0; /* Ancora più sottile */
}

.advantage-item {
    padding: 5px 5px;
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.advantage-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.advantage-text {
    font-size: 0.9rem;
    color: var(--primary-black);
    opacity: 0.9;
    margin: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    text-decoration: none;
    color: inherit;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* ===== MEMBERSHIP SECTION ===== */
.membership-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('gym3.jpg') no-repeat center center/cover;
}

.membership-card {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--secondary-black);
}

.contact-form {
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px 15px;
    margin-bottom: 20px;
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--accent-gold);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* ===== BOTTONI ===== */
.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/*pulsante*/

        /* From Uiverse.io by BHARGAVPATEL1244 */ 
        button {
        outline: none;
        cursor: pointer;
        border: none;
        padding: 0.9rem 2rem;
        margin: 0;
        font-family: inherit;
        font-size: inherit;
        position: relative;
        display: inline-block;
        letter-spacing: 0.05rem;
        font-weight: 700;
        font-size: 17px;
        border-radius: 500px;
        overflow: hidden;
        background: #c9a84d;
        color: ghostwhite;
        }

        button span {
        position: relative;
        z-index: 10;
        transition: color 0.4s;
        }

        button:hover span {
        color: black;
        }

        button::before,
        button::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        }

        button::before {
        content: "";
        background: #000;
        width: 120%;
        left: -10%;
        transform: skew(30deg);
        transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
        }

        button:hover::before {
        transform: translate3d(100%, 0, 0);
        }


/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-black);
    padding: 60px 0 30px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--text-light);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.footer-links h5 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

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

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-black);
    padding: 40px 0 20px; /* Padding superiore ridotto, inferiore per il copyright */
}

.footer-logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.social-icons {
    margin-bottom: 30px; /* Spazio prima del copyright */
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--text-light);
    margin: 0 5px; /* Margine simmetrico */
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .social-icons {
        margin-bottom: 20px;
    }
}

/* ===== ANIMAZIONI AOS ===== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ===== EFFETTI TESTO ORO ===== */
.text-gold {
    position: relative;
    display: inline-block;
    transition: var(--transition-medium);
}

.text-gold::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition-medium);
}

h3:hover .text-gold::after,
p:hover .text-gold::after {
    width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .membership-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .about-img:hover {
        transform: none;
    }
    
    .about-img:hover img {
        transform: none;
    }
    
    .advantages-section {
        padding: 10px 0; /* Ancora più sottile su mobile */
    }
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-in-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    transform: translateY(-50px);
}

.loader-logo {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.loader-logo img {
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.3));
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--light-gold));
    border-radius: 10px;
    width: 0%;
    animation: loadingProgress 2s ease-in-out infinite;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

.loader-text {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.loading-dots {
    display: flex;
    gap: 3px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    animation: dotsBounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

/* Animazioni del loader */
@keyframes loadingProgress {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes dotsBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Versione alternativa più minimal */
.page-loader.minimal {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.page-loader.minimal .loader-content {
    transform: none;
}

.page-loader.minimal .loader-logo {
    margin-bottom: 20px;
}

.page-loader.minimal .loader-progress {
    width: 150px;
    height: 2px;
}

/* Loader per pagine specifiche */
.page-loader.weights-theme {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.page-loader.weights-theme .loader-progress {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
}






/* Animazione per gli elementi info */
.info-item {
    transition: transform 0.3s ease;
}

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

.info-item:hover .info-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

 /* Stili aggiuntivi per il calendario */
        .courses-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('corsi_bg.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }
        
        .calendar-container {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }
        
        .day-tab {
            background: transparent;
            border: 2px solid #333;
            color: #fff !important; /* Forza il colore bianco */
            padding: 15px 20px;
            margin: 5px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            min-width: 120px;
        }
        
        .day-tab.active {
            background: var(--gold, #d4af37);
            border-color: var(--gold, #d4af37);
            color: #000 !important; /* Nero per il tab attivo per contrasto con oro */
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        }
        
        .day-tab:hover {
            border-color: var(--gold, #d4af37);
            transform: translateY(-2px);
        }
        
        .rest-day {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 15px;
            padding: 60px 30px;
            text-align: center;
            border: 2px dashed rgba(212, 175, 55, 0.3);
        }
        
        .rest-day i {
            font-size: 4rem;
            color: var(--gold, #d4af37);
            margin-bottom: 20px;
        }
        
        .rest-day h3 {
            font-size: 2.5rem;
            color: #fff;
            margin-bottom: 15px;
        }
        
        .rest-day p {
            color: #aaa;
            font-size: 1.2rem;
        }
        
        .course-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            border-left: 4px solid var(--gold, #d4af37);
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .course-card:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
        }
        
        .course-time {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold, #d4af37);
            margin-bottom: 5px;
        }
        
        .course-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
        }
        
        .course-badge {
            display: inline-block;
            background: var(--gold, #d4af37);
            color: #000;
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 10px;
            vertical-align: middle;
            text-transform: uppercase;
        }
        
        .course-description {
            color: #ddd;
            margin-bottom: 0; /* Rimuovo il margine inferiore */
            line-height: 1.6;
        }
        
        .novita-badge {
            background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
            color: white;
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 10px;
            display: inline-block;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.8; transform: scale(1.05); }
            100% { opacity: 1; }
        }
        
        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 30px;
        }
        
        .filter-btn {
            background: transparent;
            border: 1px solid #333;
            color: #fff;
            padding: 10px 20px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filter-btn.active {
            background: var(--gold, #d4af37);
            border-color: var(--gold, #d4af37);
            color: #000;
        }
        
        .filter-btn:hover {
            border-color: var(--gold, #d4af37);
        }
        
        .stats-card {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.3));
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(212, 175, 55, 0.3);
        }
        
        .stats-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--gold, #d4af37);
            line-height: 1;
        }
        
        .stats-label {
            color: #fff;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        @media (max-width: 768px) {
            .day-tab {
                min-width: calc(50% - 10px);
                padding: 10px;
            }
            
            .course-time {
                font-size: 1.2rem;
            }
            
            .course-title {
                font-size: 1.4rem;
            }
        }

        /* Stili per i service card con descrizione */
.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    text-decoration: none;
    color: inherit;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        padding: 25px 15px;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}


/* Container della mappa */
.map-wrapper {
    overflow: hidden; /* Fondamentale per non far uscire l'immagine dai bordi durante lo zoom */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Effetto sull'immagine interna */
.map-wrapper img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    width: 100%;
    height: auto;
}

/* Effetto HOVER (al passaggio del mouse) */
.map-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px); /* Solleva leggermente il box */
}

.map-wrapper:hover img {
    transform: scale(1.08); /* Ingrandisce l'immagine dell'8% */
    filter: brightness(90%); /* Scurisce leggermente per far risaltare il cursore */
}

/* Overlay opzionale per far capire che è cliccabile */
.map-wrapper::after {
    content: "Apri in Google Maps";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-wrapper:hover::after {
    opacity: 1;
}

:root {
    --gold: #d4af37; /* Sostituisci con il tuo codice colore esatto */
}

.text-gold {
    color: var(--gold) !important;
}

.btn-outline-gold {
    color: var(--gold);
    border-color: var(--gold);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #000;
}

.info-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* --- Stili Sezione Location --- */
/* --- Stili Sezione Location --- */
.location-section {
    /* Sfondo generale grigio (puoi regolare la tonalità qui) */
    background: rgba(212, 175, 55, 0.1);
    padding: 80px 0;
    position: relative;
}

.location-info {
    /* Il box interno rimane più scuro per creare profondità (effetto Glassmorphism) */
    background: #111111; 
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2); /* Oro leggermente più visibile */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

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

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h5 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-content p, .info-content a {
    color: #cccccc; /* Grigio chiaro per i testi */
    text-decoration: none;
    margin: 0;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--accent-gold);
}

/* --- Container Mappa Immagine --- */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #000;
}

.map-wrapper a {
    position: absolute;
    inset: 0;
    display: block;
}

.map-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.map-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(60%);
}

/* Mappa interattiva (iframe Google Maps) */
.map-iframe {
    display: block; /* Elimina lo spazio/bordo in basso dovuto all'inline */
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
    pointer-events: none; /* Lascia passare il click al link sovrastante */
}

/* Link che copre tutta la mappa: click ovunque = indicazioni */
.map-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    text-decoration: none;
}

/* Pulsante visibile in basso a destra */
.map-link-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Overlay per l'immagine mappa */
.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.map-wrapper:hover .map-overlay {
    opacity: 1;
}

/* Bottone Azione Oro */
.btn-gold-action {
    display: inline-block;
    background: var(--accent-gold);
    color: black !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
    text-align: center;
}

.btn-gold-action:hover {
    background: transparent;
    color: var(--accent-gold) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .map-wrapper {
        min-height: 350px;
        margin-top: 20px;
    }

    .map-iframe {
        min-height: 350px;
    }
}

/* ===== BOTTONI ===== */
.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Pulsante Custom (Corretto: rimosso il tag generico 'button' per evitare conflitti con il carosello) */
.btn-custom {
    outline: none;
    cursor: pointer;
    border: none;
    padding: 0.9rem 2rem;
    margin: 0;
    font-family: inherit;
    font-size: 17px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05rem;
    font-weight: 700;
    border-radius: 500px;
    overflow: hidden;
    background: #c9a84d;
    color: ghostwhite;
}

.btn-custom span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
}

.btn-custom:hover span {
    color: black;
}

.btn-custom::before,
.btn-custom::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.btn-custom::before {
    content: "";
    background: #000;
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.btn-custom:hover::before {
    transform: translate3d(100%, 0, 0);
}

/* =========================================
   CAROSELLO SALA PESI - STILI SPECIFICI
========================================= */
.fixed-img {
    width: 100%;
    height: 450px; 
    object-fit: cover;
}

.custom-carousel-container {
    padding-bottom: 40px; 
}

/* Frecce: Reset pulito senza distruggere Bootstrap */
.ares-carousel-btn {
    width: 12% !important;
    opacity: 0.8 !important;
    background: transparent !important;
    border: none !important;
}

.ares-carousel-btn:hover {
    opacity: 1 !important;
}

.ares-carousel-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
    background-color: rgba(0, 0, 0, 0.5); /* Sfondo leggero per far risaltare la freccia */
    border-radius: 50%;
    padding: 10px;
}

/* Pallini Indicatori */
.custom-indicators {
    bottom: -15px !important;
    margin-bottom: 0 !important;
}

.custom-indicators button {
    background-color: #6c757d !important; 
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    border: none !important;
    opacity: 0.4 !important;
    transition: all 0.3s ease !important;
}

.custom-indicators button.active {
    background-color: #d4af37 !important; 
    opacity: 1 !important;
    transform: scale(1.2) !important;
}

/* Dissolvenza fluida testo */
#textCarousel.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out !important;
}