/* Variables de Color Estilo Corporativo Tech */
:root {
    --primary: #004aad; /* Azul profesional */
    --secondary: #00c4cc; /* Cyan moderno */
    --dark: #1a1a1a;
    --light: #f4f7f6;
    --white: #ffffff;
    --accent: #ff6b6b;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

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

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 400;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 74, 173, 0.8), rgba(0, 74, 173, 0.8)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    background: var(--secondary);
    color: var(--dark);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-right: 15px;
    display: inline-block;
}

.btn-alt {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}

/* Services */
.services {
    padding: 80px 20px;
}

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

.section-title span {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* About */
.about {
    background: var(--light);
    padding: 80px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    font-weight: 600;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Para que tenga las esquinas redondeadas como el resto del diseño */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Un toque de sombra para que resalte */
    display: block;
}

/* Contact */
.contact {
    padding: 80px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

/* Mobile Responsive */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-flex, .contact-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .nav-active {
        transform: translateX(0%);
    }
}