/* =========================================
   styles.css
   Web Corporativa - ELF Consulting Group
   =========================================
   Paleta alineada al logo:
   - Azul corporativo: #1F4E79
   - Naranja acento: #F28C28
   - Gris texto: #4A4A4A
   - Gris claro fondos: #F4F6F8
   Tipografía: Roboto
========================================= */

/* =========================
   RESET BÁSICO
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   VARIABLES CSS (IDENTIDAD)
   ========================= */
:root {
    --primary-blue-dark: #1e3a5a; /* Azul profundo enterprise */
    --primary-blue: #13273e;      /* Azul corporativo secundario */
    --accent-orange: #F28C28;     /* Naranja de marca */
    --accent-orange-dark: #d9771f;
    --secondary-gray: #4A4A4A;
    --background-white: #FFFFFF;
    --light-gray: #F4F6F8;
    --font-family: 'Roboto', sans-serif;
    --font-size-base: 16px;
}


/* =========================
   ESTILOS GENERALES
   ========================= */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--secondary-gray);
    background-color: var(--background-white);
}

h1, h2, h3 {
    color: var(--primary-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 75px;
    width: auto;
}

/* =========================
   HEADER Y NAVEGACIÓN
   ========================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
   background-color: var(--primary-blue-dark);
    color: var(--background-white);
    padding: 10px 0;
    z-index: 1000;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



#nav-menu ul {
    display: flex;
    list-style: none;
}

#nav-menu li {
    margin-left: 20px;
}

#nav-menu a {
    color: var(--background-white);
    text-decoration: none;
    font-weight: 700;
}

#nav-menu a:hover {
    color: var(--accent-orange);
}

/* Menú mobile */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--background-white);
}

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url('../assets/images/consultoria-sap-caribe.webp');
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(19, 39, 62, 0.88),
        rgba(19, 39, 62, 0.96)
    );
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--background-white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* =========================
   BOTONES CTA
   ========================= */
.cta-button {
    background-color: var(--accent-orange);
    color: var(--background-white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--accent-orange-dark);
    transform: scale(1.05);
}

/* =========================
   SECCIÓN EMPRESA
   ========================= */
.empresa-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.empresa-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.empresa-section p {
    margin-bottom: 20px;
}

.empresa-section ul {
    list-style: disc;
    padding-left: 40px;
}

/* =========================
   SECCIÓN SERVICIOS
   ========================= */
.servicios-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.servicios-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.servicios-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.servicio {
    background-color: var(--background-white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.servicio img {
    height: 50px;
    margin-bottom: 20px;
}

.servicio h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* =========================
   SECCIÓN CONTACTO
   ========================= */
.contacto-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contacto-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#contact-form button {
    width: 100%;
}

.form-message {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}

/* WhatsApp */
.whatsapp-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-link img {
    vertical-align: middle;
    margin-right: 10px;
}

/* =========================
   FOOTER
   ========================= */
#footer {
     background-color: var(--primary-blue-dark);
    color: var(--background-white);
    padding: 20px 0;
    text-align: center;
}

#footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 10px 0;
}

#footer li {
    margin: 0 10px;
}

#footer a {
    color: var(--background-white);
    text-decoration: none;
}

#footer a:hover {
    color: var(--accent-orange);
}

/* =========================
   ANIMACIONES ON-SCROLL
   ========================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-blue);
    }

    #nav-menu.active {
        display: block;
    }

    #nav-menu ul {
        flex-direction: column;
        padding: 20px;
    }

    #nav-menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    .hero-trust{
    margin-top:15px;
    font-size:0.9rem;
    opacity:0.9;
}

}
