/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

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

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 200px 0 140px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,123,255,0.4), rgba(0,0,0,0.8));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero .btn {
    font-size: 1.2em;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero .btn-primary {
    background-color: #007bff;
    border: 2px solid #007bff;
    color: white;
}

.hero .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero .highlight {
    color: #40a9ff;
    font-weight: bold;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2em;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Tecnologías */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tech-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.tech-item h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.tech-item p {
    font-size: 0.9em;
    color: #666;
}

/* Grid de contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Información de contacto */
.contact-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.info-item p {
    margin: 0;
    line-height: 1.6;
}

/* Formulario de contacto */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* Botones */
.btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Sección de contacto */
.contact-section {
    text-align: center;
    background-color: #007bff;
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-section .btn {
    background-color: white;
    color: #007bff;
}

.contact-section .btn:hover {
    background-color: #f8f9fa;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .header nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero p {
        font-size: 1.2em;
        padding: 0 20px;
    }
    
    .hero .btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
} 