/* 
TEMA GLOBAL - Urbix Technologic
Colores corporativos:
- Primario: #0177c5
- Secundario: #27ae60  
- Acento: #e57e22
*/

:root {
    --color-primario: #0177c5;
    --color-secundario: #27ae60;
    --color-accent: #e57e22;
    --color-gris: #6c757d;
    --color-gris-claro: #f8f9fa;
    --color-oscuro: #2c3e50;
    --font-titulos: 'Orbitron', sans-serif;
    --font-textos: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-textos);
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titulos);
    font-weight: 700;
}

.font-titulos {
    font-family: var(--font-titulos) !important;
}

/* BOTONES GLOBALES */
.btn-accent {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-textos);
}

.btn-accent:hover {
    background-color: #c96e1e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229,126,34,0.3);
}

.btn-primary-custom {
    background-color: var(--color-primario);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-textos);
}

.btn-primary-custom:hover {
    background-color: #0166a8;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(1,119,197,0.3);
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37,211,102,0.3);
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* HEADER GLOBAL */
.main-header {
    background: white;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 9998;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
    max-height: 70px;
    width: auto;
}

.navbar-brand img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Estilos para navbar-light - textos en color primario */
.navbar-light .navbar-nav .nav-link {
    color: var(--color-primario) !important;
    font-weight: 600;
    padding: 1rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--color-accent) !important;
    transform: translateY(-2px);
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--color-accent) !important;
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* Toggler personalizado para header blanco */
.navbar-light .navbar-toggler {
    border-color: var(--color-primario);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(1, 119, 197, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive del header */
@media (max-width: 992px) {
    .navbar-brand img {
        height: 55px;
    }
    
    .navbar-light .navbar-nav .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.3rem 0;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}

/* FOOTER GLOBAL */
.main-footer {
    background: linear-gradient(135deg, var(--color-oscuro) 0%, #1a2634 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-title {
    font-family: var(--font-titulos);
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 25px;
    color: var(--color-accent);
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #e0e0e0;
}

/* MARCAS ALIADAS - NUEVO ESTILO */
.brands-section {
    padding: 3rem 0;
    background-color: var(--color-gris-claro);
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.brands-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-oscuro);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-titulos);
    position: relative;
    padding-bottom: 15px;
}

.brands-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.brands-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.brand-item {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.brand-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .brands-slider {
        gap: 2rem;
    }
    
    .brand-item {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .brands-slider {
        gap: 1.5rem;
    }
    
    .brand-item {
        width: 80px;
    }
}

@media (max-width: 576px) {
    .brands-slider {
        gap: 1rem;
    }
    
    .brand-item {
        width: 70px;
    }
}