:root {
    --primary-color: #ffdf0e;
    --accent-color: #d9534f;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --transition: all 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    background-image: url("/assets/imagenes/fondo.png");
    background-repeat: repeat;
    background-size: 1000px;
    background-attachment: fixed;
    background-color: #f4f6f8;
    color: var(--text-dark);
}

/* --- Estilos del Header --- */
.main-header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--primary-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: var(--radius-sm);
}

.site-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover {
    background-color: rgba(255, 223, 14, 0.15);
    color: #b58d00;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
}

.menu-btn:hover {
    color: var(--accent-color);
}

/* --- Responsive para dispositivos móviles --- */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        border-left: 4px solid var(--primary-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 20px;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 6px;
    }
}