/* =============================== */
/*   ESTILOS PRO — BETRAINER       */
/*   home.css                      */
/* =============================== */

body {
    font-family: "Poppins", sans-serif;
    background-color: #f7f9fc;
    color: #222;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)),
                url('/img/hero-fitness.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
}

.hero .btn-primary {
    background: #ff5722;
    border: none;
    padding: 14px 36px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: 0.3s;
}

.hero .btn-primary:hover {
    background: #ff784e;
    transform: scale(1.05);
}

/* TITULOS DE SECCIÓN */
.section-title {
    font-weight: 700;
    font-size: 2.3rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #ff5722;
    display: block;
    margin: 12px auto 0 auto;
    border-radius: 4px;
}

/* CARDS */
.class-card img,
.trainer-card img {
    height: 220px;
    object-fit: cover;
}

.plan-card {
    border-radius: 18px;
    transition: all .3s ease;
    background: white;
}

.plan-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* CTA Final */
.cta-final {
    background: #ff5722;
    color: white;
    padding: 60px 0;
}

.cta-final .btn-dark {
    padding: 14px 34px;
    border-radius: 40px;
}

/* FOOTER */
footer {
    background: #111;
    color: #bbb;
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =============================== */
/*            GALERÍA              */
/* =============================== */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform .5s ease, filter .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(80%);
}

/* Pequeño efecto de sombra */
.gallery-item::after {
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    transition: .5s;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    opacity:0;
}

.gallery-item:hover::after {
    opacity:1;
}
