/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary: #e67e22;
    --secondary: #3498db;
    --accent: #2ecc71;
    --background: #f0f4f8;
    --card-bg: #ffffff;
    --text: #333;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    padding: 20px;
    margin: 0;
    line-height: 1.6;
}

h1 {
    text-align: center;
    color: var(--text);
    font-size: 2em;
    margin-bottom: 20px;
}

button, a.button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.2s, background 0.3s;
    text-decoration: none;
    display: inline-block;
}

button:hover, a.button:hover {
    background: #d35400;
    transform: scale(1.05);
}

form {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

input, select {
    margin: 5px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
    font-size: 1em;
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.02);
}

/* Navegación */
.nav-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.nav-bar a {
    background: var(--primary);
    padding: 12px 24px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

.nav-bar a:hover {
    background: #d35400;
}

.nav-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: var(--text);
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
}

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

.nav-menu a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    font-size: 1.2em;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-bar {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        display: block;
    }
    input, select {
        width: 100%;
        box-sizing: border-box;
    }
    form {
        width: 100%;
    }
}

