/* ===== FUENTES ===== */
@font-face {
    font-family: 'PoppinsBold';
    src: url('/css/font/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PoppinsRegular';
    src: url('/css/font/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== RESET Y ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f9f9f9;   /* color oscuro */
    --secondary-color: #006FA4; /* color claro */
    --accent-color: #00B4D8;
    --background-color: #f9f9f9;
    --text-dark: #222222;
    --text-light: #222222;
}

body {
    font-family: 'PoppinsRegular', sans-serif;
    background: var(--background-color);
    color: var(--text-dark);
    min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'PoppinsBold', sans-serif;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'PoppinsBold', sans-serif;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* ===== CONTENEDORES ===== */
.container {
    padding: 40px;
}

h1, h2, h3 {
    font-family: 'PoppinsBold', sans-serif;
    color: var(--secondary-color);
}

h1 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

/* ===== TABLERO DE ÓRDENES ===== */
.tablero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.columna {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.columna h2 {
    background: var(--secondary-color);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    font-size: 1.1rem;
}

/* ===== TARJETAS DE ÓRDEN ===== */
.tarjeta {
    background: var(--background-color);
    border-left: 5px solid var(--accent-color);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tarjeta h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.tarjeta p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--accent-color);
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* ===== HERO TEXTO + IMAGEN ===== */
.container.hero {
    display: flex;
    align-items: flex-start; 
    justify-content: space-between;
    gap: 05px;
    padding: 70px;
}

.hero-text {
    flex: 1;
    line-height: 1.6; 
}

.hero-text h1 {
    margin-bottom: 15px;
}

.hero-text p {
    margin-bottom: 12px; 
    text-align: justify;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 80%; 
    height: auto;
    border-radius: 10px;
    object-fit: cover; 
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        padding: 20px;
    }
}
