body {
    font-family: "Montserrat", Sans-serif !important;
}

.btn {
    border-radius:  0px;
}

nav ul {
    list-style: none;
    background: black; /*#333;*/
    color: #fff;
    padding: 10px;
}
nav ul li {
    display: inline;
    margin: 0 10px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* Navbar general */
.navbar {
    background: black;/*linear-gradient(90deg, #2b2d42, #8d99ae); /* Gradiente moderno */
    border-bottom: 3px solid #f5f4f4; /* Línea vibrante */
    font-family: 'Montserrat', sans-serif;
}

/* Logo */
.brand-logo {
    width: 40px;
    height: 40px;
}
.brand-name {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

/* Links de la barra */
.nav-link {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-link:hover {
    color: #ffffff; /* Color vibrante al hover */
    text-decoration: underline;
    font-weight: bolder;
}

/* Botones especiales */
.btn-login {
    background: #fbfbfb;
    color: #000000 !important;
    padding: 5px 15px;
    border-radius:  0px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-reserve {
    background: #ebe8e8;
    color: #000000 !important;
    padding: 5px 5px;
    margin-bottom: 0px;
    padding-top: 5px;
    border-radius:  0px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-reserve:hover {
    background: #fbfbfb;
    color:#ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
    background: #fbfbfb;
    color:#ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-register {
    border: 2px solid #fbfbfb;
    color: #000000 !important;
    padding: 5px 15px;
    border-radius: 0px;
    font-weight: bold;
    margin-left: 10px;
    transition: all 0.3s ease;
}
.btn-register:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-logout {
    color: #8d99ae !important;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-username {
    color: #dbdee4 !important;
    font-size: 0.90rem;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        text-align: center;
        margin: 5px 0;
    }
    .btn-login, .btn-register {
        width: 100%;
    }
}


.navbar-brand img {
    height: 40px;
}
.hero-section {
    background: url('../img/background_2.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}
.hero-section h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.section-title {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
footer {
    background: #222;
    color: white;
    padding: 20px 0;
}
footer a {
    color: #ffc107;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

.filter-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}


#loading-indicator {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

#classes-container img {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

#services-container img {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

#instructors-container img {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* Contenedor general */
.card-container {
    margin-bottom: 20px;
    border-radius: 0px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: scale(1.03);
}

/* Imagen */
.card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

/* Cuerpo */
.card-body {
    padding: 15px;
    text-align: center;
    position: relative;
}

/* Descripción */
.card-description {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666; /* Gris claro */
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Mostrar descripción al pasar el mouse */
.card:hover .card-description,
.card:active .card-description {
    opacity: 1;
    max-height: 150px; /* Ajustar según el tamaño de la descripción */
    margin-top: 10px;
}


/*JUMBTRON*/
.jumbotron {
    background: linear-gradient(135deg, #007bff, #6c757d); /* Azul degradado con gris */
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

#reserve-btn {
    background-color: #ff5722; /* Naranja vibrante */
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    padding: 10px 25px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

#reserve-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background-color: #e64a19; /* Oscurecer naranja */
}

.btn-black{
    background-color: black;
    color: white;
}

.btn-black:hover{
    background-color: white;
    font-weight: bolder;
    border-color: black;
    color: black;
}
