/* Definición de la variable de color principal */
:root {
    --primary-color: #f68122;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    padding-top: 56px; /* Ajuste para el menú fijo */
}

/* --- Estilos Generales --- */
h2 {
    font-weight: 700;
    color: var(--dark-color);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

/* --- Botón Personalizado --- */
.btn-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-custom:hover {
    background-color: #e0701a;
    border-color: #d36814;
    color: #fff;
    transform: translateY(-2px);
}

/* --- Carrusel Principal --- */
.carousel-item {
    height: 85vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    background-size: cover;
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    bottom: 3rem;
}
.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

/* --- Sección de Planes --- */
#planes .card {
    border: 1px solid #ddd;
    transition: transform 0.3s, box-shadow 0.3s;
}
#planes .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
#planes .card-header {
    background-color: var(--light-color);
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}
#planes .card-featured {
    border: 2px solid var(--primary-color);
}

/* --- Galería de Instalaciones --- */
.gallery-card {
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.gallery-card:hover {
    transform: scale(1.05);
}
.gallery-card img {
    transition: opacity 0.3s;
}
.gallery-card:hover img {
    opacity: 0.9;
}

/* --- Testimonios --- */
.testimonial {
    text-align: center;
}
.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: -40px;
    position: relative;
    z-index: 1;
}
.testimonial-bubble {
    background-color: var(--light-color);
    padding: 60px 20px 20px 20px;
    border-radius: 10px;
    position: relative;
}
.testimonial-bubble::before {
    content: '\201C'; /* Comilla de apertura */
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}
.testimonial-bubble cite {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-top: 10px;
}

/* --- Mapa de Contacto --- */
.map-responsive {
    overflow: hidden;
    padding-bottom: 100%; /* Mantiene el aspect ratio */
    position: relative;
    height: 0;
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 10px;
}

/* --- Footer --- */
.social-icons a {
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--primary-color) !important;
}


/* --- Sección de Horarios --- */
.nav-pills .nav-link {
    color: var(--dark-color);
    border: 1px solid #ddd;
    margin: 2px;
    font-weight: 500;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

#horarios .tab-content {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
}

#horarios .list-group-item {
    border-color: #eee;
    font-size: 1.1rem;
    padding: 15px;
}

#horarios .list-group-item strong {
    color: var(--primary-color);
    margin-right: 15px;
}

#horarios .instructor {
    color: #6c757d; /* Color secundario de Bootstrap */
    font-style: italic;
}