/* Paleta de colores */
:root {
    --primary-color: #3f51b5;   /* Un azul vibrante */
    --secondary-color: #ff4081; /* Un rosa para acentos */
    --background-color: #f4f7f6; /* Gris claro */
    --text-color: #333;
    --light-text-color: #fefefe;
    --card-bg-color: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.header {
    background-color: var(--card-bg-color);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

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

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-background.jpg') no-repeat center center/cover;
    color: var(--light-text-color);
    text-align: center;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.features {
    padding: 5rem 5%;
    text-align: center;
}

.features h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

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

.feature-item {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .main-nav {
        margin-top: 1rem;
    }
    
    .main-nav a {
        margin: 0 0.5rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}