﻿/* 🎯 COLORES BASE */
:root {
    --primary: #000000;
    --accent: #05AB9E;
    --light-bg: #f8f9fa;
}

/* NAV Y GENERAL */
.custom-navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(5, 171, 158, 0.2);
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.text-accent {
    color: var(--accent) !important;
}

.nav-link {
    color: #ffffff !important;
    margin-left: 15px;
    transition: 0.3s;
    font-weight: 500;
}

    .nav-link:hover {
        color: var(--accent) !important;
    }

.nav-auth-area {
    margin-left: 20px;
}

/* CONTENIDO */
html,
body {
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Poppins', sans-serif;
    /*background: radial-gradient(circle at center, #05AB9E 0%, #024842 50%, #07100f 100%);*/
    background-attachment: fixed;
    color: #e0e0e0;
}
body.bg-Productos {
    background: none;
}

body.bg-Servicios {
    background: none;
}

body.bg-Agregados {
    background: url('/img/bg-agregados.png') no-repeat center center fixed;
    background-size: cover;
}

body.bg-Home {
    background: url('/img/bg-home.png') no-repeat center center fixed;
    background-size: cover;
}

.home-video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #000;
}

.home-video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.home-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

body.bg-Home,
body.bg-Equipo,
body.bg-Productos,
body.bg-Servicios,
body.bg-Testimonios {
    background: #000;
}

body.bg-Home .custom-navbar,
body.bg-Home .footer-custom,
body.bg-Home main,
body.bg-Equipo .custom-navbar,
body.bg-Equipo .footer-custom,
body.bg-Equipo main,
body.bg-Productos .custom-navbar,
body.bg-Productos .footer-custom,
body.bg-Productos main,
body.bg-Servicios .custom-navbar,
body.bg-Servicios .footer-custom,
body.bg-Servicios main,
body.bg-Testimonios .custom-navbar,
body.bg-Testimonios .footer-custom,
body.bg-Testimonios main {
    position: relative;
    z-index: 2;
}

body.bg-Categorias {
    background: url('/img/bg-categorias.png') no-repeat center center fixed;
    background-size: cover;
}

body.bg-Usuarios {
    background: url('/img/bg-usuarios.png') no-repeat center center fixed;
    background-size: cover;
}

body.bg-Login {
    background: url('/img/bg-login.png') no-repeat center center fixed;
    background-size: cover;
}

    body.bg-Testimonios {
        background: url('/img/Testimonios.png') no-repeat center center fixed;
        background-size: cover;
    }

@media (max-width: 991px) {
    body.bg-Home,
    body.bg-Servicios,
    body.bg-Agregados,
    body.bg-Productos,
    body.bg-Categorias,
    body.bg-Usuarios,
    body.bg-Login {
        background-attachment: scroll;
    }
}

h1, h2, h3, h4, h5, h6, .fw-bold {
    font-weight: 700 !important;
}

main {
    padding: 30px 0;
}

/* FOOTER */
.footer-custom {
    background: linear-gradient(0deg, #000000 0%, rgba(5, 5, 5, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(5, 171, 158, 0.2);
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.footer-admin-link {
    position: absolute;
    right: 18px;
    bottom: 18px;
    color: #a0a0a0;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-admin-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(5, 171, 158, 0.2);
    box-shadow: 0 5px 15px rgba(5, 171, 158, 0.3);
}

.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 5px;
    text-decoration: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(5, 171, 158, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(5, 171, 158, 0.3);
}

/* BOTONES PERSONALIZADOS */
.btn-accent {
    background-color: var(--accent);
    color: white;
    border: none;
}

    .btn-accent:hover {
        background-color: #04897f;
    }

/* TARJETAS */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
}

/* TITULOS */
h1, h2, h3 {
    font-weight: 600;
}

/* ===== CLASES PARA REMOVER INLINES (APLICADAS A PRODUCTOS/USUARIOS) ===== */

/* Títulos con descripciones grises (Headers) */
.header-subtitle {
    font-size: 0.95rem;
}

/* Descripción secundaria recortada y pequeña (Cards) */
.desc-secundaria {
    font-size: 0.85rem;
    color: #a0a0a0;
}

/* Contenedor central estado vacío */
.grid-empty-state {
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Modificadores de Switch grandes para estado */
.switch-large {
    width: 2.5em;
    height: 1.2em;
}
.switch-label-pointer {
    cursor: pointer;
    font-size: 1.1em;
}
.switch-helper-text {
    color: #05AB9E;
    margin-left: 8px;
    font-size: 0.85em;
}

/* Tiras divisorias / bordes separadores de pie de formulario */
.form-actions-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.form-actions-divider-lg {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

/* Card central reducida para Perfiles/Detalles */
.card-centered-sm {
    max-width: 800px;
    margin: 0 auto;
}

/* Avatar Grande con Ícono en medio */
.avatar-lg-neon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #05AB9E, #02665e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0px 5px 20px rgba(5, 171, 158, 0.4);
}

/* Título de perfil grande */
.profile-title-h3 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

/* Badges aumentados para perfil */
.badge-lg {
    font-size: 13px;
    padding: 6px 14px;
}
.badge-rol.badge-lg { margin-right: 8px; }

/* Separación central */
.hr-neon-faded {
    border-color: rgba(255,255,255,0.1);
    margin: 25px 0;
}

/* Etiquetas en miniatura iluminadas (ej. "Precio al detalle") */
.lbl-mini-uppercase {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

/* Valores grandes del Form (ej. Precios) */
.val-large-neon {
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Valores o Párrafos largos de detalle */
.val-paragraph-secondary {
    color: #a0a0a0;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Botón ensanchado del pie */
.btn-action-lg {
    padding: 10px 30px;
    font-size: 1.05rem;
}

.nav-link.active {
    color: var(--accent) !important;
}

/* ===== DROPDOWN MENU STYLES ===== */
.dropdown-menu {
    background: #000000 !important;
    border: 1px solid rgba(5, 171, 158, 0.2) !important;
}

.dropdown-menu .dropdown-item {
    background: #000000 !important;
    color: #ff4444 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(5, 171, 158, 0.15) !important;
    color: #ff6b6b !important;
    border: none !important;
}

.dropdown-menu .dropdown-item:active {
    background: #000000 !important;
    color: #ff4444 !important;
}

.dropdown-menu .dropdown-item.text-danger {
    color: #ff4444 !important;
}

.dropdown-user-menu {
    background: #000000 !important;
    border: 1px solid rgba(5, 171, 158, 0.2) !important;
}

.dropdown-user-menu .dropdown-item {
    background: #000000 !important;
    color: #ff4444 !important;
}

.dropdown-user-menu .dropdown-item:hover {
    background: rgba(5, 171, 158, 0.15) !important;
    color: #ff6b6b !important;
}

.footer-contact-btn {
    width: 180px;
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .footer-contact-btn:hover {
        background: rgba(5, 171, 158, 0.2);
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(5, 171, 158, 0.3);
        text-decoration: none;
    }