/* static/style.css */

body {
    background-color: #212529;
}

#page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

#page-background::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

#page-background.visible {
    opacity: 1;
}

/* --- ESTILO DEL HEADER MODIFICADO --- */
.navbar-brand {
    font-size: 2.4rem;
    font-family: "Lora", bold; /* <-- Tipografía añadida */
}

.navbar-subtitle {
    font-size: 0.75em;
    font-weight: 300;
    text-transform: lowercase;
    vertical-align: middle;
    margin-left: 10px;
    color: #ffc107;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* --- VISTA PRINCIPAL (BANNER) CORREGIDA --- */
#home-view {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

/* --- VISTA PRINCIPAL (TARJETAS) --- */
.home-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.home-card {
    background-color: rgba(33, 37, 41, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    padding: 1.5rem;
}

.home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 193, 7, 0.8);
}

.home-card .card-title {
    color: #ffc107;
    font-size: 2.25rem;
    font-weight: bold;
}

.home-card-icon {
    font-size: 2.5rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- NUEVO FOOTER DE LA HOME --- */
.home-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.home-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.home-footer a:hover {
    color: #ffc107;
}

.footer-social-links {
    margin: 1rem 0;
}

.footer-social-links a {
    font-size: 1.5rem;
    margin: 0 0.75rem;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.4);
}


/* --- SECCIÓN OMNIA: TARJETAS DE SERVICIO --- */
.service-card {
    background-color: rgba(52, 58, 64, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8f9fa;
    transition: background-color 0.3s;
}

.service-card:hover {
    background-color: rgba(52, 58, 64, 0.9);
}

.service-card .card-title {
    color: #ffc107;
}


/* --- CONTENIDO GENERAL DE SECCIONES --- */
#sections-content {
    display: none;
}

.tab-content {
    background-color: transparent;
    color: #f8f9fa;
}

.tab-pane {
    padding: 2rem 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane a {
    color: #ffc107;
}

.tab-pane .card {
    background-color: rgba(52, 58, 64, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.link-icon {
    font-size: 2.5rem;
}

/* --- FORMULARIO DE CONTACTO --- */
#tab-contacto .form-label {
    color: #f8f9fa;
}

#tab-contacto .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

#tab-contacto .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    color: white;
}

#tab-contacto .form-control::placeholder {
    color: #ccc;
    opacity: 1; 
}

#tab-contacto a.text-warning:hover {
    color: #e0a800 !important;
}


/* Ícono de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-float img {
    width: 100%;
}