/* ========================================================
   CONSORIA - ESTILO GLOBAL (PREMIUM DARK/LIGHT UX)
   ======================================================== */

:root {
    /* --- PALETA NOCTURNA DE LUJO (MIDNIGHT SLATE Y ORO) --- */
    --luxe-black: #1A1D24;         /* Fondo Principal: Azul Noche/Carbón */
    --luxe-card-bg: #232730;       /* Tarjetas: Más elevadas para una profundidad 3D real */
    --luxe-gold: #D4AF37;          /* Oro Metálico Institucional */
    --luxe-gold-bright: #F3E5AB;   /* Brillo de oro suave para hovers */
    --luxe-white: #E4E7EC;         /* Blanco humo: Más suave para leer textos largos */
    
    /* Complementos */
    --luxe-grey: #2C313C;          /* Gris azulado para bordes inactivos */
    --luxe-yellow: #D4AF37;        
    --luxe-green: #1E3A2F;         
    
    /* Sombras Premium */
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.12);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.4); 
}

/* 
   FONDO GENERAL Y TIPOGRAFÍA
*/
html, body { height: 100%; } 
body {
    background: var(--luxe-black);
    color: var(--luxe-white);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
}

main { flex: 1 0 auto; }

/* 
   NAVBAR PRINCIPAL
*/
nav {
    background: rgba(18, 19, 21, 0.95);
    backdrop-filter: blur(10px);
    color: var(--luxe-gold);
    padding: 18px 36px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-dark);
    display: flex;
    align-items: center;
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: var(--luxe-white);
    text-decoration: none;
    font-weight: 500;
    margin-right: 14px;
    transition: all 0.2s ease;
}
nav a:hover {
    color: var(--luxe-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* 
   SECCIÓN DE FILTROS/BÚSQUEDA
*/
.search-section {
    background: var(--luxe-card-bg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 28px 0 12px 0;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--shadow-dark);
}
.search-section form select,
.search-section form input[type="text"] {
    background: var(--luxe-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--luxe-white);
    border-radius: 7px;
    padding: 10px 15px;
    margin: 0 8px 12px 0;
    font-size: 1em;
    transition: all 0.3s ease;
}
.search-section form select:focus,
.search-section form input[type="text"]:focus {
    outline: none;
    border-color: var(--luxe-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.search-section form button,
.search-section form a {
    background: linear-gradient(135deg, var(--luxe-gold), #AA8623);
    color: #121315;
    border: none;
    border-radius: 7px;
    padding: 10px 24px;
    font-weight: bold;
    font-size: 1em;
    margin-right: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.04em;
}
.search-section form button:hover,
.search-section form a:hover {
    background: linear-gradient(135deg, var(--luxe-gold-bright), var(--luxe-gold));
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.search-section ul,
.search-section ol {
    display: inline-block;
    text-align: left;
    margin: 0 auto 1em;
    list-style-position: inside;
    padding-left: 0;
}
.search-section ul { list-style-type: disc; }
.search-section ol { list-style-type: decimal; }

/* 
   GRID DE PROPIEDADES
*/
.grille-biens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    margin: 24px 0 40px 0;
    padding: 0 8vw;
    align-items: stretch;
}

.carte-bien {
    display: flex;
    flex-direction: column;
    background: var(--luxe-card-bg);
    color: var(--luxe-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    box-shadow: var(--shadow-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    height: 100%;
}
.carte-bien:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.4);
}

.carte-bien-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--luxe-grey);
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carte-bien-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
}

.favorito-img-wrapper {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
}
.favorito-card { background: transparent !important; }
.favorito-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0002;
    display: block;
    margin: 0 auto;
}

.carte-bien-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.carte-bien-info h3 {
    font-size: 1.25rem;
    color: var(--luxe-gold);
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.24;
}

.prix-bien {
    font-size: 1.2rem;
    font-weight: 700;
    color: #121315;
    background: linear-gradient(135deg, var(--luxe-gold), #AA8623);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    margin-bottom: 12px;
    display: inline-block;
    border: none;
    letter-spacing: 0.05em;
}

.carte-bien-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 8px 0;
    font-size: 0.95em;
}
.carte-bien-info a.btn-primary {
    align-self: flex-end;
    margin-top: 8px;
}

/* =============================
   BOTONES LUXE DORADO
   ============================= */
.btn-primary {
    background: linear-gradient(135deg, var(--luxe-gold), #AA8623);
    color: #121315 !important;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: bold;
    font-size: 1.07em;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--luxe-gold-bright), var(--luxe-gold));
    color: #121315 !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-warning {
    background: transparent;
    color: var(--luxe-gold);
    border: 1px solid var(--luxe-gold);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
}
.btn-warning:hover {
    background: var(--luxe-gold);
    color: #121315;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-proprietaire {
    background: rgba(212, 175, 55, 0.1);
    color: var(--luxe-gold);
    border: 1px solid var(--luxe-gold);
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: bold;
    margin-left: 12px;
    transition: all 0.3s ease;
}
.btn-proprietaire:hover {
    background: var(--luxe-gold);
    color: var(--luxe-black);
    box-shadow: var(--shadow-gold);
}

.search-section .btn-warning,
.search-section .btn-limpiar,
.search-section .btn-clear {
    display: inline-block; 
    margin-top: 16px; 
    margin-bottom: 12px; 
}

/* =============================
   AVISOS Y ALERTAS
   ============================= */
.alert {
    background: rgba(212, 175, 55, 0.1);
    color: var(--luxe-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 12px 18px;
    margin: 16px 0;
    font-size: 1.1em;
}
.alert-success {
    background: var(--luxe-green);
    color: var(--luxe-gold-bright);
    border: 1px solid var(--luxe-gold);
}

/* =============================
   FOOTER
   ============================= */
footer {
    background: var(--luxe-black);
    color: var(--luxe-white);
    padding: 40px 0 18px 0;
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}
.footer-section {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.footer-section > div {
    min-width: 180px;
}

/* =============================
   PAGINACIÓN DORADA
   ============================= */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 32px 0 0 0;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}
.pagination li { margin: 0 2px; }
.pagination li > a,
.pagination li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background: var(--luxe-card-bg);
    color: var(--luxe-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}
.pagination li > a:hover {
    background: linear-gradient(135deg, var(--luxe-gold), #AA8623);
    color: #121315;
    border-color: var(--luxe-gold);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}
.pagination li.active > span,
.pagination li.current > span {
    background: linear-gradient(135deg, var(--luxe-gold), #AA8623);
    color: #121315;
    border-color: var(--luxe-gold);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
    font-size: 1.3rem;
    font-weight: 900;
}
.pagination li.disabled > span,
.pagination li.disabled > a {
    background: var(--luxe-black);
    color: rgba(255,255,255,0.2);
    cursor: not-allowed;
    border-color: rgba(255,255,255,0.1);
    box-shadow: none;
    pointer-events: none;
}

/* ========== DETALLE DE BIEN ========= */
.detalle-bien {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 3em auto;
    max-width: 1000px;
    padding: 0 1em;
    justify-content: center;
}
.detalle-bien-imagen {
    flex: 1 1 450px;
    text-align: center;
}
.detalle-img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-dark);
    height: auto; 
}
.detalle-bien-info {
    flex: 1 1 450px;
    color: var(--luxe-white);
    font-size: 1.05em;
    line-height: 1.7em;
}
.detalle-bien-info h1 { color: var(--luxe-gold); margin-bottom: 0.5em; }
.detalle-bien-info ul { list-style: none; padding: 0; }
.detalle-bien-info li { margin-bottom: 0.8em; border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding-bottom: 0.4em; }

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1100px) {
    .grille-biens { grid-template-columns: repeat(2, 1fr); padding: 0 4vw; }
    .footer-section { gap: 20px; }
}
@media (max-width: 700px) {
    nav { flex-direction: column; gap: 8px; padding: 16px 4vw; }
    .grille-biens { grid-template-columns: 1fr; gap: 20px; padding: 0 1vw; }
    .footer-section { flex-direction: column; gap: 10px; }
}

/* =============================
   ADMIN PANEL - Tablas y Acciones
   ============================= */
.admin-panel {
    display: flex;
    gap: 16px;
    margin-top: 1.5em;
}
.admin-table, .tabla-estadisticas {
    width: 100%;
    border-collapse: collapse;
    margin: 2em auto;
    background: var(--luxe-card-bg);
    color: var(--luxe-white);
    box-shadow: var(--shadow-dark);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}
.admin-table th, .tabla-estadisticas th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--luxe-gold);
    padding: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: left;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.admin-table td, .tabla-estadisticas td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-table tr:hover, .tabla-estadisticas tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* =========================================================
   SECCIÓN CONTACTO / REGISTRO
   ========================================================= */
.contact-section { max-width: 900px; margin: 2em auto; }
.contact-info-block, .register-container {
    background: var(--luxe-card-bg);
    color: var(--luxe-white);
    border-radius: 16px;
    padding: 2.5em;
    box-shadow: var(--shadow-dark);
    margin: 2em auto;
    max-width: 600px;
    border: 1px solid rgba(255,255,255,0.05);
}
.contact-info-block h1, .register-container h1 {
    color: var(--luxe-gold);
    text-align: center;
    margin-bottom: 0.8em;
}
.contact-info-block p { text-align: center; margin-bottom: 2em; font-size: 1.05em; }

.contact-form, .register-container .form-group {
    display: flex; flex-direction: column; gap: 1em; margin-bottom: 2em;
}
.contact-form label, .register-container label {
    font-weight: bold; color: var(--luxe-white); margin-bottom: 8px;
}
.contact-form input, .contact-form textarea,
.register-container input, .register-container select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--luxe-black);
    color: var(--luxe-white);
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus,
.register-container input:focus, .register-container select:focus {
    outline: none;
    border-color: var(--luxe-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.contact-form textarea { resize: vertical; }

.register-container .btn-register {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--luxe-gold), #AA8623);
    color: #121315;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}
.register-container .btn-register:hover {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.contact-info { list-style: none; padding: 0; margin-bottom: 0; }
.contact-info li { margin-bottom: 0.6em; }
.contact-info a { color: var(--luxe-gold); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.contact-image, .contact-map { text-align: center; margin-bottom: 2em; }
.contact-image img, .contact-map iframe {
    max-width: 100%; border-radius: 10px; box-shadow: var(--shadow-dark); border: none;
}

/* =============================
   BOTÓN DARK MODE PERSONALIZADO
   ============================= */
#darkModeToggle {
    position: fixed; top: 15px; right: 15px; z-index: 1050;
    padding: 8px 12px; 
    background: var(--luxe-card-bg);
    color: var(--luxe-gold);
    border: 1px solid rgba(212, 175, 55, 0.3); 
    border-radius: 8px; 
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark); 
}
#darkModeToggle:hover {
    background: var(--luxe-gold);
    color: var(--luxe-black);
    transform: scale(1.05);
}

/* =========================================================
   MODO CLARO (LIGHT MODE OVERRIDES) - BLINDAJE CONTRA BOOTSTRAP
   ========================================================= */

html.light-mode body {
    background-color: #F5F7FA !important; /* Blanco Perla Premium */
    color: #212529 !important;
}

html.light-mode nav, html.light-mode footer, html.light-mode .search-section,
html.light-mode .footer-gallery-container, html.light-mode .footer-info-columns {
    background-color: #FFFFFF !important;
    color: #212529 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}

html.light-mode a, html.light-mode .footer-contact a { color: #495057 !important; }
html.light-mode nav a:hover { color: var(--luxe-gold) !important; text-shadow: none !important; }

html.light-mode .carte-bien, html.light-mode .admin-table, 
html.light-mode .register-container, html.light-mode .contact-info-block,
html.light-mode .admin-table th, html.light-mode .tabla-estadisticas th {
    background-color: #FFFFFF !important;
    color: #212529 !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
}
html.light-mode .admin-table th { background-color: #F8F9FA !important; border-bottom: 2px solid #E9ECEF !important; }

html.light-mode .search-section form select, html.light-mode .search-section form input[type="text"],
html.light-mode .register-container input, html.light-mode .contact-form input, html.light-mode .contact-form textarea,
html.light-mode .register-container select {
    background-color: #FFFFFF !important;
    color: #212529 !important;
    border: 1px solid #CED4DA !important;
}

.footer-gallery-container { overflow: hidden; width: 100%; border-top: 1px solid rgba(212, 175, 55, 0.2); }
.footer-gallery { display: flex; width: max-content; animation: scrollGallery 60s linear infinite; }
.footer-gallery img { height: 100px; margin: 10px 24px; object-fit: contain; flex-shrink: 0; border-radius: 10px; transition: transform 0.3s ease; }
.footer-gallery img:hover { transform: scale(1.05); }
@keyframes scrollGallery { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.footer-info-columns {
    display: flex; justify-content: space-around; align-items: flex-start; flex-wrap: wrap;
    padding: 24px 16px; border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-office, .footer-contact { flex: 1; min-width: 220px; margin: 12px; }
.footer-bottom { text-align: center; margin-top: 16px; padding-bottom: 16px; }

.section-texto { text-align: center; }
.img-info { display: block; margin: 0 auto; }
.section-texto ul, .section-texto ol { display: inline-block; text-align: left; margin: 0 auto 1em; list-style-position: inside; padding-left: 0; }

/* ========================================================
   BOOTSTRAP 5 Y GLASSMORPHISM FIXES (DARK MODE OVERRIDES)
   ======================================================== */
[data-bs-theme="dark"] {
    --bs-body-bg: var(--luxe-black);
    --bs-body-color: var(--luxe-white);
    --bs-secondary-bg: var(--luxe-card-bg);
    --bs-tertiary-bg: var(--luxe-card-bg);
    --bs-primary: var(--luxe-gold);
    --bs-border-color: rgba(255, 255, 255, 0.05);
}

/* 1. Forzar el Buscador a Modo Obsidiana */
[data-bs-theme="dark"] .premium-search-card {
    background: rgba(28, 30, 34, 0.85) !important; 
    border: 1px solid rgba(212, 175, 55, 0.2) !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

/* 2. Forzar las casillas del buscador */
[data-bs-theme="dark"] .custom-input {
    background-color: var(--luxe-black) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: var(--luxe-white) !important;
}
[data-bs-theme="dark"] .custom-input:focus {
    border-color: var(--luxe-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

/* 3. Adaptar las etiquetas de colores (Badges) */
[data-bs-theme="dark"] .bg-primary {
    background-color: var(--luxe-gold) !important;
    color: #121315 !important;
}
[data-bs-theme="dark"] .bg-success {
    background-color: var(--luxe-green) !important;
    color: var(--luxe-gold-bright) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}
[data-bs-theme="dark"] .bg-info {
    background-color: #1A2634 !important; 
    color: var(--luxe-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* =========================================================
   SECCIÓN EXPERIENCIAS (DINÁMICA OSCURO / CLARO)
   ========================================================= */

/* --- MODO OSCURO (Por Defecto) --- */
.seccion-experiencias {
    background: linear-gradient(135deg, var(--luxe-card-bg, #1C1E22) 0%, #111 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.texto-adaptable { color: #FFFFFF; }
.border-adaptable { border-color: rgba(255,255,255,0.05) !important; }

.btn-yt-adaptable {
    border: 1px solid var(--luxe-gold);
    color: var(--luxe-gold);
    background: transparent;
}
.btn-yt-adaptable:hover {
    background-color: var(--luxe-gold) !important;
    color: #111 !important;
}

/* --- MODO CLARO (El fondo gris elegante) --- */
html.light-mode .seccion-experiencias {
    background: linear-gradient(135deg, #E9ECEF 0%, #DEE2E6 100%) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03) !important;
}

/* Forzamos que los textos blancos se vuelvan grises oscuros para que se lean bien */
html.light-mode .seccion-experiencias .texto-adaptable {
    color: #2C313C !important; 
}
html.light-mode .seccion-experiencias .border-adaptable {
    border-color: rgba(0,0,0,0.1) !important;
}
/* =========================================================
   FOOTER DINÁMICO (OSCURO / CLARO)
   ========================================================= */
   
/* --- MODO OSCURO (Por Defecto) --- */
.footer-adaptable {
    background: linear-gradient(180deg, #1C1E22 0%, #111 100%);
}
.footer-bottom-adaptable {
    background: #0a0a0c;
}
.texto-footer-adaptable {
    color: #FFFFFF;
}
.badge-adaptable {
    background-color: rgba(255,255,255,0.1) !important;
    color: #FFF !important;
}

/* --- MODO CLARO --- */
html.light-mode .footer-adaptable {
    background: #FFFFFF !important;
}
html.light-mode .footer-bottom-adaptable {
    background: #F5F7FA !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html.light-mode .texto-footer-adaptable {
    color: #2C313C !important; /* Gris oscuro para contraste y lectura perfecta */
}
html.light-mode .badge-adaptable {
    background-color: rgba(0,0,0,0.05) !important;
    color: #2C313C !important;
}
/* =========================================================
   FLECHAS DEL CARRUSEL (VISIBILIDAD Y DISEÑO PREMIUM)
   ========================================================= */
.seccion-experiencias .carousel-control-prev-icon,
.seccion-experiencias .carousel-control-next-icon {
    background-color: var(--luxe-gold, #D4AF37);
    border-radius: 50%;
    padding: 24px; /* Crea el círculo perfecto alrededor de la flecha */
    background-size: 40%; /* Ajusta el tamaño del ícono dentro del círculo */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Efecto al pasar el cursor (Hover) */
.seccion-experiencias .carousel-control-prev:hover .carousel-control-prev-icon,
.seccion-experiencias .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.15);
    background-color: #111; /* Se vuelve negro/oscuro al interactuar */
}

/* Ajuste del hover específicamente para el Modo Claro */
html.light-mode .seccion-experiencias .carousel-control-prev:hover .carousel-control-prev-icon,
html.light-mode .seccion-experiencias .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #2C313C;
} 