/* ============================
   BACKGROUND GENERALE
============================ */
body {
    background-image: url("/static/images/gym.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll !important;
    font-family: 'Montserrat', sans-serif;
}

/* ============================
   HERO
============================ */
.hero-container {
    padding-top: 90px;
    padding-bottom: 120px;
}

/* Titolo principale */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    margin-bottom: 2.5rem;
}

/* Testo sotto il titolo */
.hero-subtext {
    font-size: 1.3rem;
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

/* Bottoni */
.cta-buttons {
    margin-top: 3rem !important;
}

.cta-buttons .btn {
    margin: 0 1rem;
}

/* Fade animation */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.fade-element.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RECENSIONI – TITOLO SEZIONE
============================ */
.review-section-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.65);
    margin-bottom: 30px;
}

/* ============================
   RECENSIONI – CARD ESTERNA
============================ */
.review-wrapper-card {
    background: rgba(0, 0, 0, 0.70); /* leggero blur opaco */
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 30px 25px;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 0 18px rgba(0,0,0,0.6);
}

/* ============================
   RECENSIONI – CONTENUTO
============================ */
.review-card-content {
    color: white;
    text-align: left;
}

/* Username */
.review-username {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

/* Stelle SOLO piene */
.review-stars {
    font-size: 1.3rem;
    color: #ffd93d;
    letter-spacing: 1px;
}

/* Testo recensione */
.review-text {
    margin: 12px 0;
    color: #e8e8e8;
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Data */
.review-date {
    color: #bdbdbd;
}

/* ============================
   CAROSELLO
============================ */

/* Rende i passaggi più morbidi */
.carousel-item {
    transition: transform .6s ease-in-out !important;
}
/* Frecce visivamente invisibili (ma ancora cliccabili in caso servisse) */
.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: invert(1) brightness(1.8);
    opacity: 0; /* le nascondiamo */
}

.carousel-control-next,
.carousel-control-prev {
    width: 0; /* rimuove le frecce completamente */
}


/* Recensioni invisibili finché non arrivano nell'animazione JS */
.reviews-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

.reviews-wrapper.show {
    opacity: 1;
    transform: translateY(0);
}


@media(max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1.1rem;
    }

    .cta-buttons .btn {
        margin: 0.5rem 0.5rem;
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    .reviews-wrapper
    {
        padding: 0 15px;
    }
}