/* ==========================
ESTILO VISITANTE – IGUAL CLIENTE
========================== */

/* NAVBAR FIJO */
.navbar-visitante {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999 !important; /* Encima del fondo */
    background-color: #d9d9d9;
    overflow: visible;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 10px 25px;
    transition: none !important;
    transform: none !important;
}

/* Espacio para que el contenido no quede detrás del navbar */
body {
    padding-top: 80px !important;
}

/* Botones tipo píldora */
.navbar-visitante .navbar-brand,
.navbar-visitante .nav-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 6px;
    background: rgba(255,255,255,0.30);
    color: #ffffff !important;
    font-weight: 900;
    border-radius: 20px;
    -webkit-text-stroke: 1px #000;
    text-shadow: 0 0 4px #000;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.25s ease-in-out;
    position: relative;
    z-index: 20;
}

/* Hover */
.navbar-visitante .navbar-brand:hover,
.navbar-visitante .nav-link:hover {
    background: rgba(255,255,255,0.55);
    color: #ff0000 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Activo */
.navbar-visitante .nav-link.active {
    background: rgba(255,255,255,0.8);
    color: #c40000 !important;
    border: 2px solid #fff;
}

/* ==========================
BOTÓN HAMBURGUESA TIPO PÍLDORA
========================== */
.navbar-visitante .navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 17px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
    margin-left: auto; /* Botón a la derecha */
}

.navbar-visitante .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-visitante .navbar-toggler:hover {
    background: rgba(255,255,255,0.6);
    transform: translateY(-3px);
}

.navbar-visitante .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-visitante .navbar-toggler[aria-expanded="true"] {
    background: rgba(255,255,255,0.8);
    border-color: #fff;
}

/* ==========================
FIX DEFINITIVO COLLAPSE VISITANTE
========================== */

@media (max-width: 991px) {

    /* Navbar puede crecer */
    .navbar-visitante {
        height: auto !important;
    }

    /* 🔒 Collapse CERRADO = totalmente invisible */
    .navbar-visitante .navbar-collapse {
        display: none !important;
    }

    /* 🔓 Collapse ABIERTO */
    .navbar-visitante .navbar-collapse.show {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        position: absolute;
        top: 100%;
        right: 0;
        width: auto;
        padding: 12px;

        background: rgba(0,0,0,0.35);
        backdrop-filter: blur(6px);
        border-radius: 20px;
        border: 2px solid rgba(255,255,255,0.5);

        z-index: 100000;
    }

    .navbar-visitante .navbar-collapse.show .nav-link {
        margin: 6px 0;
        padding-right: 20px;
        width: auto;
    }
}


/*==================VISITANTE===================*/

.bloque-bienvenida {
    background: url('../img/pantalla/Fondo.png') no-repeat center top;
    background-size: contain;       /* Muestra toda la imagen */
    background-color: #000;         /* Evita fondo blanco en bordes */
    border-radius: 15px;
    height: 744px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;      
    align-items: center;
    padding: 20px;
    text-align: center;
    font-family: "Constantia", serif !important;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .bloque-bienvenida {
        max-width: 95%;  /* casi todo el ancho en móviles */
        height: auto;    /* ajusta altura automáticamente */
        padding: 15px;
    }
}

/* Capa oscura */
.bloque-bienvenida::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Texto sobre overlay */
.bloque-bienvenida h1,
.bloque-bienvenida p {
    color: white;
    text-shadow: 2px 2px 4px #000;
    position: relative;
    z-index: 2;
}

/* Botones */
.btn-contacto,
.btn-catalogo {
    display: inline-block;
    background: #f1b50f;
    color: #000;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 10px;
    text-decoration: none;
    font-family: "Constantia", serif;
    font-weight: bold;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.btn-contacto:hover,
.btn-catalogo:hover {
    background: #ffd75c;
}

/* Redes sociales */
.redes-sociales {
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.redes-sociales a {
    color: #00cfff;   /* celeste */
    font-size: 26px;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.redes-sociales a:hover {
    color: #ff0000;   /* rojo al pasar el mouse */
}


/* ------------SECCIÓN CATEGORÍAS PROFESIONALES------------------- */
.seccion-categorias {
    background: linear-gradient(180deg, #f3f8ff, #f3f8ff); /* gris elegante */
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.seccion-categorias h2 {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
}

/* Tarjetas de categorías */
.seccion-categorias .card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
}

.seccion-categorias .card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.18);
}

/* Contenedor de imagen */
.seccion-categorias .card div[style] {
    background: #f8f8f8 !important;
    border-bottom: 1px solid #ddd;
}

/* Títulos */
.seccion-categorias .card-title {
    font-family: "Constantia", serif;
    font-size: 18px;
    font-weight: bold;
    color: #050000;
}

/* Botón */
.btn-categoria {
    background-color: #00aaff;   /* Celeste */
    color: #fff;
    border: none;
    transition: 0.3s;
    font-weight: bold;
}

.btn-categoria:hover {
    background-color: #ff0000;   /* Rojo al pasar mouse */
    color: #fff;
}

/* Forzar que NUNCA aparezca el gris de Bootstrap */
.btn-categoria:hover,
.btn-categoria:focus,
.btn-categoria:active {
    background-color: #ff0000 !important; /* rojo */
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}


/*------------------- 
    SECCIÓN DESTACADOS
-----------------------*/

.seccion-destacados {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    background: rgba(255, 255, 255, 0.8) !important;
}

/* TÍTULO */
.seccion-destacados h2 {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    font-size: 28px;
    color: #1a1a1a;
}

/* DESCRIPCIÓN */
.seccion-destacados p {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    font-size: 16px;
    color: #333;
}

/* TARJETA */
.seccion-destacados .card {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .2s ease;
}

/* TÍTULO DE PRODUCTO */
.seccion-destacados .card-title {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    font-size: 18px;
    color: #222;
}

/* DESCRIPCIÓN DE PRODUCTO */
.seccion-destacados .card-text {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    color: #555;
    font-size: 14px;
}

/* BOTÓN */
.seccion-destacados .btn-dark {
    font-family: "Constantia", serif;
    font-weight: bold;                  /* 💥 negrita */
    background-color: #004aad;
    border-color: #004aad;
    border-radius: 10px;
}

.seccion-destacados .btn-dark:hover {
    background-color: #c40000;
    border-color: #c40000;
}

/* SEPARACIÓN ENTRE SECCIONES */
.seccion-categorias {
    margin-bottom: 40px;  /* 🔥 añade espacio debajo de Categorías */
}

/* AJUSTES DE LA SECCIÓN DESTACADOS */
.seccion-destacados {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 20px;     /* 🔥 igual que categorías */
    padding: 50px 20px;      /* 🔥 crea espacio interno */
    margin-top: 40px;        /* 🔥 asegura separación extra */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* suave como categorías */
}


/* -------------SECCIÓN SOBRE NOSOTROS -------------------*/
.seccion-nosotros {
    background: rgba(255, 255, 255, 0.8); /* Gris elegante */
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 40px;
    margin-bottom: 40px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: "Constantia", serif;
    font-weight: bold;
}

/* TÍTULO PRINCIPAL */
.seccion-nosotros h2 {
    font-family: "Constantia", serif;
    font-weight: bold;
    font-size: 28px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

/* TEXTOS */
.seccion-nosotros p {
    font-family: "Constantia", serif;
    font-weight: bold;
    font-size: 17px;
    color: #444;
}

/* SUBTÍTULO RESEÑAS */
.seccion-nosotros h4 {
    font-family: "Constantia", serif;
    font-weight: bold;
    margin-top: 35px;
    color: #222;
}

/* TARJETAS DE RESEÑAS */
.seccion-nosotros .card-review {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
}

.seccion-nosotros .card-review:hover {
    transform: scale(1.03);
}

/* ESTRELLAS */
.seccion-nosotros .estrellas {
    font-size: 22px;
    color: #ffb800;
}


/* ============================
   TIPOGRAFÍA GENERAL PRODUCTOS
============================ */
.catalogo-section h1,
.catalogo-section h5,
.catalogo-section label,
.catalogo-section button,
.catalogo-section .btn,
.catalogo-section input,
.catalogo-section p,
.catalogo-section span {
    font-family: "Constantia", serif !important;
    font-weight: bold !important;
}

/* ============================
   CONTENEDOR GENERAL
============================ */
.catalogo-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
}

/* ============================
   TARJETAS
============================ */
.catalogo-section .card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.catalogo-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Imagen centrada */
.catalogo-section .card-img-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

/* Inputs buscador */
.catalogo-section input.form-control {
    font-weight: bold !important;
    border-radius: 10px;
}

/* Botones */
.catalogo-section .btn-dark {
    border-radius: 10px;
    padding: 8px 18px;
}

.catalogo-section .btn-success {
    border-radius: 12px;
    padding: 10px;
    font-size: 15px;
}

.catalogo-titulo h1,
.catalogo-titulo p {
    text-align: center !important;
    font-family: "Constantia", serif !important;
    font-weight: bold !important;
}

/* =========== SECCIÓN CONTACTO =================*/
.seccion-contacto {
    background: rgba(255, 255, 255, 0.8); /* Fondo celeste suave */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: "Constantia", serif;
    font-weight: bold;
}

/* TÍTULO */
.seccion-contacto h1 {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #1a1a1a;
}

/* DESCRIPCIÓN */
.seccion-contacto p {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* LABELS */
.seccion-contacto label {
    font-family: "Constantia", serif;
    font-weight: bold;
    font-size: 15px;
}

/* INPUTS MODERNOS */
.seccion-contacto .form-control {
    border-radius: 10px;
    border: 1px solid #a5b8ff;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
    font-family: "Constantia", serif;
    font-weight: bold;
}

.seccion-contacto .form-control:focus {
    border-color: #004aad;
    box-shadow: 0 0 6px rgba(0,74,173,0.5);
}

/* BOTÓN */
.seccion-contacto .btn-primary {
    background-color: #00aaff;
    border-color: #00aaff;
    border-radius: 12px;
    font-family: "Constantia", serif;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

.seccion-contacto .btn-primary:hover {
    background-color: #d90000;
    border-color: #d90000;
}


/* =====================
       SECCIÓN LOGIN 
   =====================*/
.seccion-login {
    font-family: "Constantia", serif;
    font-weight: bold;
}

/* CAJA DEL LOGIN */
.caja-login {
    background: linear-gradient(180deg, #f0f4ff, #e4eaff); /* celeste elegante */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* TÍTULO */
.caja-login h2 {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #1a1a1a;
}

/* LABELS */
.caja-login label {
    font-family: "Constantia", serif;
    font-weight: bold;
    font-size: 15px;
}

/* INPUTS */
.caja-login .form-control {
    border-radius: 10px;
    border: 1px solid #a5b8ff;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
    font-family: "Constantia", serif;
    font-weight: bold;
}

.caja-login .form-control:focus {
    border-color: #004aad;
    box-shadow: 0 0 6px rgba(0,74,173,0.5);
}

/* BOTÓN DE LOGIN */
.btn-login {
    background-color: #00aaff;    /* celeste */
    border-color: #00aaff;
    border-radius: 12px;
    font-family: "Constantia", serif;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #d90000;  /* rojo */
    border-color: #d90000;
    color: #fff;
}

/* TEXTO INFERIOR */
.caja-login p,
.caja-login a {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #333;
}

/* ======================
      SECCIÓN REGISTRO
   ====================== */

.seccion-registro {
    font-family: "Constantia", serif;
    font-weight: bold;
}

/* CAJA */
.caja-registro {
    background: linear-gradient(180deg, #f0f4ff, #e4eaff);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* TÍTULO */
.caja-registro h1 {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #1a1a1a;
}

/* LABELS */
.caja-registro label {
    font-family: "Constantia", serif;
    font-weight: bold;
    font-size: 15px;
}

/* INPUTS */
.caja-registro .form-control {
    border-radius: 10px;
    border: 1px solid #a5b8ff;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
    font-family: "Constantia", serif;
    font-weight: bold;
}

.caja-registro .form-control:focus {
    border-color: #004aad;
    box-shadow: 0 0 6px rgba(0,74,173,0.5);
}

/* CHECKBOX */
.caja-registro .form-check-label {
    font-family: "Constantia", serif;
    font-weight: bold;
}

/* BOTÓN REGISTRO */
.btn-registro {
    background-color: #00aaff;
    border-color: #00aaff;
    border-radius: 12px;
    font-family: "Constantia", serif;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

.btn-registro:hover {
    background-color: #d90000;
    border-color: #d90000;
    color: #fff;
}

/* TEXTO INFERIOR */
.caja-registro p,
.caja-registro a {
    font-family: "Constantia", serif;
    font-weight: bold;
    color: #333;
}

.enlace-azul {
    color: #007bff !important;
    font-weight: bold;
    text-decoration: none;
}

.enlace-azul:hover {
    color: #0056b3 !important;
    text-decoration: underline;
}

/* Quitar hover verde de Bootstrap */
.btn-success:hover {
    background-color: #ff0000 !important; /* color que quieras */
    border-color: #cc8800 !important;
    color: #fff !important;
}
