/* ===== ESTILOS DEL CARRUSEL PRINCIPAL ===== */
#carousel-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 10;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 12;
    max-width: 90%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-caption h5 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-caption p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Controles del carrusel - Estilo modernizado */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 11;
    pointer-events: none;
}

.hero-prev, .hero-next {
    background: transparent;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-prev:after, .hero-next:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 4px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-prev i, .hero-next i {
    font-size: 22px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-prev:hover:after, .hero-next:hover:after {
    opacity: 1;
}

.hero-prev:focus, .hero-next:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Indicadores del carrusel - Estilo de líneas gruesas */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 11;
}

.hero-dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-dot.active {
    background: white;
    width: 32px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Admin edit overlay styles */
.admin-edit-wrapper {
    position: relative;
    width: 100%;
}

.admin-edit-wrapper:hover .admin-edit-overlay {
    opacity: 1;
}

.admin-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

/* Style adjustments for the image selector when in overlay */
.admin-edit-overlay .mcg-image-selector {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.admin-edit-overlay .mcg-form-group {
    margin-bottom: 0;
}

.admin-edit-overlay .mcg-image-selector label {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.admin-edit-overlay .mcg-media-button {
    background-color: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.admin-edit-overlay .mcg-media-button:hover {
    background-color: #135e96;
}