/* Variables de color */
:root {
    --dark-blue: #e83e8c;
    --medium-blue: #e83e8c;
    --pink: #e83e8c;      /* Cambiado al rosa de las otras vistas */
    --yellow: #F2D16D;
    --orange: #F29C50;
    --white: #FFFFFF;
    --black: #1D1D1D;
}

/* Estilos personalizados para mejorar el diseño */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa; /* Color de fondo claro de Bootstrap */
    color: #212529; /* Color de texto oscuro de Bootstrap */
    padding-top: 76px; /* Height of navbar + some padding */
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff; /* Color de fondo blanco */
    color: #212529; /* Color de texto oscuro */
}

.form-control {
    border-radius: 5px;
    background-color: #ffffff; /* Color de fondo blanco */
    color: #212529; /* Color de texto oscuro */
    border: 1px solid #ced4da; /* Color de borde predeterminado de Bootstrap */
}

.btn-primary {
    background-color: var(--pink); /* Rosa principal */
    border: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #c2185b; /* Un rosa más oscuro para hover */
    color: #ffffff;
}

/* Estilos del navbar */
.navbar {
    background-color: rgba(33, 37, 41, 0.9) !important; /* Translucent dark background */
    backdrop-filter: blur(10px); /* Adds blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    transition: background-color 0.3s ease;
    position: fixed; /* Makes navbar stick to top */
    width: 100%;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 1rem; /* Ajustar el padding del menú de navegación */
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background-color: #212529;
}

.navbar:hover {
    background-color: rgba(33, 37, 41, 0.95) !important; /* Slightly more opaque on hover */
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    padding-left: 20px;
    color: #ffffff !important; /* Color de texto blanco */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.navbar-nav {
    margin-right: 30px;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    font-size: 1.1rem;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-link:hover {
    color: #ffffff !important;
}

.navbar .carrito-icon {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.navbar .carrito-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.navbar .carrito-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.navbar .carrito-icon:hover img {
    transform: scale(1.1);
}

.navbar .carrito-icon span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 11px;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.5);
    border: 2px solid #fff;
}

.carrito-icon {
    margin-right: 20px;
}

.container {
    text-align: center;
    padding: 50px 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #343a40; /* Color de texto oscuro */
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Estilos del carrusel */
#carouselExampleIndicators {
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
}

.carousel-item {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    transform: scale(1.01); /* Evita bordes blancos en las esquinas */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin: 0 20px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.carousel-indicators button.active {
    background-color: #007bff;
}

.carousel-item img {
    width: 100%;
    height: 300px; /* Ajusta la altura de las imágenes del carrusel */
    object-fit: cover;
}

.navbar-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    opacity: 1;
}

.navbar-logo {
    width: 100px; /* Ajustar el tamaño del logo */
    height: auto; /* Mantiene la proporción */
    transition: width 0.3s ease; /* Transición suave */
    width: 80px;
}

.navbar-logo:hover {
    width: 110px;
}

/* Estilos de las secciones */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--pink); /* Rosa para títulos de sección */
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--pink); /* Línea rosa debajo del título */
    margin: 15px auto;
}

/* Tarjetas de servicios */
.service-card {
    background: #ffffff; /* Color de fondo blanco */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #007bff; /* Color de texto azul de Bootstrap */
    margin-bottom: 1.5rem;
}

/* Tarjetas de cursos */
.curso-card {
    background: #ffffff; /* Color de fondo blanco */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.curso-imagen {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.curso-content {
    padding: 1.5rem;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.precio {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--pink); /* Rosa para el precio */
}

/* Testimonios */
.testimonio-card {
    background: #ffffff; /* Color de fondo blanco */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonio-texto {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonio-autor {
    display: flex;
    align-items: center;
}

.testimonio-imagen {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Footer */
.footer {
    background: #181116; /* Igual que en footerservandpaco.css */
    color: #ffffff;
    margin-top: 4rem;
}

.footer h3 {
    color: var(--pink); /* Rosa para el título del footer */
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #ffffff; /* Color de texto blanco */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--pink); /* Rosa al pasar el mouse */
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 10px;
    color: #007bff; /* Color de texto azul de Bootstrap */
}

.footer-bottom {
    background: #23272b; /* Color de fondo más oscuro de Bootstrap */
    padding: 1rem 0;
    margin-top: 2rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.list-group-numbered .list-group-item {
    position: relative;
}

.list-group-numbered .list-group-item .badge {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.card-body img {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
}

.progress {
    height: 1.5rem;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* Add these new styles */

.curso-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.curso-preview.locked::before {
    content: '\f023';  /* Font Awesome lock icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    z-index: 1;
}

.curso-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.curso-content {
    padding: 1.5rem;
    background: #ffffff;
}

.progress-wrapper {
    background: #e9ecef;
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin: 1rem 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.temas-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.tema-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.tema-item i {
    margin-right: 0.5rem;
    color: #6c757d;
}

.tema-item.locked {
    color: #6c757d;
    opacity: 0.7;
}

.tema-item.locked i {
    color: #dc3545;
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
    #carouselExampleIndicators {
        margin-top: 20px;
    }
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #333;
}

.service-card, 
.curso-card, 
.testimonio-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease;
}

.service-card:hover, 
.curso-card:hover, 
.testimonio-card:hover {
    transform: translateY(-5px);
}

.section-title {
    position: relative;
    color: #2c3e50;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d2ff);
}

