﻿/* =========================================
   CONFIGURACIÓN GLOBAL Y TIPOGRAFÍA
   ========================================= */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Mantenemos tu código original */
}

body {
    margin: 0;
    padding: 0;
    /* BORDES NARANJAS ELIMINADOS */
    background-color: #F5F5DC;
    color: #111111;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fuente-gnc {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-style: italic;
}

/* COLORES PRINCIPALES GNC */
.texto-naranja {
    color: #F37021;
}

.texto-azul {
    color: #00AEEF;
}

.texto-manzana {
    color: #8DB600;
}

.texto-oscuro {
    color: #111111;
}

.texto-blanco {
    color: #ffffff;
}

/* =========================================
   BARRA DE NAVEGACIÓN (HEADER FIJO)
   ========================================= */
gnc-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    display: block;
}

.navbar-gnc {
    background-color: #ffffff;
    /* BORDER-TOP NARANJA ELIMINADO */
    border-bottom: 3px solid #00AEEF;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.nav-link.gnc-link {
    color: #111111 !important;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: bold;
}

    .nav-link.gnc-link:hover {
        color: #8DB600 !important;
    }

/* =========================================
   AJUSTES DE ESPACIOS (ELIMINAR HUECOS)
   ========================================= */
#inicio {
    margin-top: 0 !important;
}

#flota .text-center {
    padding-top: 10px !important;
    margin-bottom: 25px !important;
}

/* =========================================
   BOTONES
   ========================================= */
.btn-naranja-gnc {
    background-color: #F37021;
    color: #ffffff !important;
    font-weight: 800;
    border-radius: 0;
    text-transform: uppercase;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

    .btn-naranja-gnc:hover {
        background-color: #111111;
        color: #ffffff !important;
    }

.btn-manzana {
    background-color: #8DB600;
    color: #ffffff !important;
    font-weight: 800;
    border-radius: 0;
    text-transform: uppercase;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

    .btn-manzana:hover {
        background-color: #111111;
        color: #ffffff !important;
    }

/* =========================================
   TARJETAS DE FLOTA (INDEX)
   ========================================= */
.card-gnc {
    border-radius: 0;
    border: 1px solid #dddddd;
    border-top: 4px solid #00AEEF;
    background-color: #ffffff;
    transition: transform 0.3s;
}

    .card-gnc:hover {
        transform: translateY(-10px);
        border-color: #8DB600;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

.seccion-ancla {
    scroll-margin-top: 100px;
}

/* =========================================
   PIE DE PÁGINA (QUIÉNES SOMOS)
   ========================================= */
.titulo-columna {
    border-left: 4px solid #00AEEF;
    padding-left: 12px;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 30px;
}

.lista-servicios {
    list-style: none;
    padding: 0;
}

    .lista-servicios li {
        margin-bottom: 18px;
    }

.servicio-link {
    color: #333333;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .servicio-link i {
        color: #8DB600;
        font-size: 1.2rem;
        opacity: 0;
        transform: translateX(-15px);
        transition: all 0.3s ease;
        width: 0;
        overflow: hidden;
    }

    .servicio-link:hover {
        color: #F37021;
        transform: translateX(5px);
    }

        .servicio-link:hover i {
            opacity: 1;
            transform: translateX(0);
            width: 25px;
        }

.caja-icono {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: border-color 0.3s;
}

    .caja-icono:hover {
        border-color: #8DB600;
    }

/* Botones pequeños del Footer (WhatsApp y Llamar) */
.gnc-wa-contact-link {
    background-color: #ffffff;
    color: #8DB600 !important;
    border: 1px solid #8DB600;
    border-radius: 4px;
    text-decoration: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

    .gnc-wa-contact-link:hover {
        border-color: #8DB600;
        background-color: #8DB600;
        color: #ffffff !important;
    }

.gnc-call-contact-link {
    background-color: #ffffff;
    color: #F37021 !important;
    border: 1px solid #F37021;
    border-radius: 4px;
    text-decoration: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

    .gnc-call-contact-link:hover {
        border-color: #F37021;
        background-color: #F37021;
        color: #ffffff !important;
    }

/* =========================================
   PÁGINAS DE DETALLE DE MÁQUINAS (FLOTA)
   ========================================= */
.detalle-imagen {
    border: 1px solid #dddddd;
    border-top: 4px solid #00AEEF;
    background-color: #ffffff;
    padding: 20px;
}

.lista-caracteristicas li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

    .lista-caracteristicas li strong {
        color: #00AEEF;
    }

/* =========================================
   UTILIDADES GNC
   ========================================= */
/* Interruptor personalizado para ocultar secciones rápido desde el HTML */
[data-visibilidad="ocultar"] {
    display: none !important;
}
