/* Reset y variables con colores corporativos */
:root {
    --primary-color: #093d68;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --border-color: #dddddd;
    --light-gray: #f5f5f5;
}

[data-theme="dark"] {
    --primary-color: #093d68;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --light-gray: #363636;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

/* Header Styles */
.main-header {
    background: var(--bg-color);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.company-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    order: 1;
    font-family: 'Arial', sans-serif;
}

.logo {
    order: 2;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.slogan {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    order: 3;
    margin: 0.5rem 0;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.main-nav {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    position: relative;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-menu a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.nav-menu a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Estilos del menú hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

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

/* Estado activo del hamburguesa */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section - SIN OLAS */
.hero-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--bg-color) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Hero Cards - SIN OLAS */
.hero-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(9, 61, 104, 0.15);
}

.hero-card-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.hero-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.hero-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

/* Description Section - SIN OLAS */
.description-section {
    padding: 3rem 2rem;
    background: var(--light-gray);
    text-align: center;
}

.description-container {
    max-width: 900px;
    margin: 0 auto;
}

.description-box {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    text-align: center;
}

.company-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin: 0;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.main-footer h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-content p {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: 'Arial', sans-serif;
    border: 2px solid white;
}

.cta-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .slogan {
        font-size: 1rem;
    }

    /* Menú móvil */
    .main-nav {
        justify-content: flex-end;
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        border-top: 1px solid var(--border-color);
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        gap: 0.5rem;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border: 1px solid var(--border-color);
        margin: 0.25rem 0;
        border-radius: 5px;
        background: var(--card-bg);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .hamburger {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .description-section {
        padding: 2rem 1rem;
    }

    .main-footer {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.3rem;
    }

    .logo img {
        height: 60px;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-card h3 {
        font-size: 1.2rem;
    }

    .main-footer h2 {
        font-size: 1.5rem;
    }

    .nav-menu a {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}