﻿:root {
    /* Paleta personalizada */
    --bs-primary: #8B0000; /* Rojo vino */
    --bs-secondary: #FFD700; /* Dorado */
    --bs-success: #228B22; /* Verde bosque */
    --bs-danger: #B22222; /* Rojo fuego */
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    /* Tipografía */
    --bs-body-font-family: 'Segoe UI', Arial, sans-serif;
}

#fondo-animado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

#fondo-animado::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1); /* o rgba(0,0,0,0.3) */
}

.fondo-foto {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 4s ease-in-out;
    filter: brightness(0.6) blur(2px);
}

.fondo-foto.visible {
    opacity: 1;
}

@media (prefers-color-scheme: dark) {
/*    body {
        color: #ddd;
        background-color: #111;
    }

*/
    #fondo-animado.fondo-foto {
        filter: brightness(0.4) blur(3px);
    }

/*    .contenido-principal {
        background-color: rgba(0,0,0,0.6);
        color: #eee;
    }*/
}

/* Navbar personalizada */
.navbar {
    background-color: var(--bs-primary) !important;
}

/* Footer */
footer {
    background-color: var(--bs-primary);
    color: white;
}

/* Botones */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #a52a2a; /* tono más claro al pasar el ratón */
    border-color: #a52a2a;
}

/* Columnas de ancho fijo */
.col-numero {
    width: 100px; /* ajusta según necesidad */
    text-align: center;
}

.col-fotos {
    width: 100px; /* ajusta según necesidad */
    text-align: center;
}

.col-disponible {
    width: 100px; /* ajusta según necesidad */
    text-align: center;
}

.col-estado {
    width: 120px;
    text-align: center;
}

.col-cambiar {
    width: 120px;
    text-align: center;
}

/* Columna flexible */
.col-descripcion {
    width: auto; /* ocupa el espacio restante */
}

/* Contenido del desplegable de usuario */
/* Contenedor del menú */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-icon {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #444;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 1;
}

/* Estilo de los enlaces */
.dropdown-content a {
    color: #333;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f2f2f2;
}

.fecha-descript {
    font-size: 0.5rem;
/*    font-style: italic;*/
    margin-top: 2px;
}

.theme-icon {
    display: inline-block;
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.theme-icon.fade-out {
    opacity: 0;
    transform: scale(0.5);
}

.theme-icon.fade-in {
    opacity: 1;
    transform: scale(1);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}