/*
Theme Name: Global Ingeniería Child
Theme URI: https://globalingdsas.com
Description: Tema personalizado para Global Ingeniería y Distribuciones S.A.S
Author: Global Ingeniería
Author URI: https://globalingdsas.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-ingenieria
*/

/* ===================================
   VARIABLES DE COLORES CORPORATIVOS
   =================================== */
:root {
    --color-primary: #7CB342;
    --color-primary-dark: #558B2F;
    --color-primary-light: #AED581;
    --color-secondary: #2E7D32;
    --color-accent: #CDDC39;
    --color-dark: #1B5E20;
    --color-gray-dark: #37474F;
    --color-gray: #78909C;
    --color-gray-light: #ECEFF1;
    --color-white: #FFFFFF;
    --color-black: #212121;
}

/* ===================================
   TIPOGRAFÍA GENERAL
   =================================== */
body {
    font-family: 'Roboto', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ===================================
   BOTONES PERSONALIZADOS
   =================================== */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ===================================
   SECCIONES GENERALES
   =================================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
}

/* ===================================
   CARDS DE SERVICIOS
   =================================== */
.service-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.2);
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--color-primary-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===================================
   LOGOS DE CLIENTES
   =================================== */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-width: 150px;
    height: auto;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================
   CERTIFICACIONES
   =================================== */
.certification-badge {
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.certification-badge:hover {
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.2);
}

.certification-badge img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.certification-status {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===================================
   FORMULARIOS
   =================================== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--color-gray-light);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
}

.wpcf7-form input[type="submit"] {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 50px 0 20px;
}

.site-footer h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.site-footer a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--color-primary-light);
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

/* ===================================
   ANIMACIONES
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* ===================================
   UTILIDADES
   =================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-light { background-color: var(--color-gray-light); }
.bg-dark { background-color: var(--color-dark); }

.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-dark { color: var(--color-dark); }
