* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C59AD;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --blue: #17255a;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}


.nav-container .logo img {
    width: 150px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

/*
.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}
    */

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
   /* background: var(--primary-color);*/
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: var(--light-gray);
    border: 2px solid transparent;
    padding: 8px 12px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(44, 89, 173, 0.295), rgba(44,89,173,0.9)), 
                url('img/global-logistics.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p .hero-subtitle{
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: var(--white);
    margin-top: 20px;
    color: var(--primary-color);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.3);
}

/* Services */
.services-preview {
    padding: 100px 0;
    background: var(--light-gray);
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(44,89,173,0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

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


/*china*/
.china {
    padding: 100px 0;
    background: #17255a;
}

.china .flex {
    display: flex;
    justify-content:space-evenly ;
    
}

.china-img img {
    width: 500px;
    border-radius: 15px;
}

.china-img img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(44,89,173,0.2);
}

.china-titulo h2 {
    color: white;
    font-size: 2.5rem;
}

.china-titulo p {
    color: white;
}

.china-button button {
    display: inline-block;
    background: var(--white);
    border: none;
    border-radius: 50px;
    margin-top: 20px;
    color: var(--primary-color);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.china-button a {
    text-decoration: none;
    color: #2C59AD;
}

.china-button:hover {
    transform: translateY(-3px);
}


/*Agente Oficial*/
.oficial {
    padding: 100px 4px;
}

.oficial-h2 h2 {
    text-align: center;
    color: #17255a;
    margin-bottom: 30px;
    font-size: 2.0rem;
}

.oficial .flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.guiton img {
    width: 250px;
}

.guiton img:hover {
    transform: translateY(-5px);
}

.rack img {
    width: 200px;
}

.rack img:hover {
    transform: translateY(-5px);
}

.soima img {
    width: 250px;
}

.soima img:hover {
    transform: translateY(-5px);
}


/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section img{
    width: 150px;
}
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p a {
    text-decoration: none;
    color: white;
}



/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .china {
        padding: 40px 4px;
        text-align: center;
    }

    .china-img img {
        width: 350px;
    }

    .china .flex {
        display: block;
    }

    .oficial {
        text-align: center;  
        gap: 10px; 
    }

    .oficial .flex {
        display: block;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}