/* ==========================================================================
   Leguina Informática - Estilos Profesionales
   Fuente Principal: Ubuntu
   ========================================================================== */

/* Importación directa de la fuente Ubuntu */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --dark-bg: #0f172a;
    --surface-bg: #f8fafc;
    /* Forzar el uso de Ubuntu como tipografía principal */
    --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body, h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, input, select, textarea {
    font-family: var(--font-family) !important;
}

/* Tipografía y Reset */
body {
    font-family: var(--font-family);
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-family);
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 400;
    color: #cbd5e1 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.85)), 
                url('../img/hero-bg.jpg') center/cover no-repeat;
    min-height: 85vh;
    padding-top: 80px;
}

.style-subtitle {
    max-width: 650px;
}

.text-light-50 {
    color: #94a3b8;
}

/* Secciones y Tarjetas */
.bg-surface {
    background-color: var(--surface-bg);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    margin-top: 15px;
}

.service-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12) !important;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background-color: var(--primary);
    color: #ffffff;
}

/* Formulario */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Ajuste de tamaño para el Logo Principal */
.logo-img {
    height: 80px;         /* Aumentado de 65px a 80px (puedes probar entre 75px y 95px) */
    width: auto;          /* Mantiene la proporción perfecta sin deformar */
    max-width: 280px;     /* Ancho máximo permitido para no saturar en laptops */
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Espaciado de la barra de navegación */
.navbar-custom {
    padding: 0.3rem 0;   /* Mantiene el marco de la barra estilizado */
}

/* Ajuste responsive para celulares y tablets (evita que ocupe todo el alto móvil) */
@media (max-width: 991px) {
    .logo-img {
        height: 50px;     /* En celulares se adapta a un tamaño cómodo para pantallas táctiles */
        max-width: 200px;
    }
}

/* Estilos Sección Nosotros */
#nosotros {
    background-color: #ffffff;
}

.experience-badge {
    background-color: var(--primary) !important;
    border-left: 4px solid var(--primary-dark);
}

.tracking-wider {
    letter-spacing: 0.08em;
}