﻿/*==================================================
RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html,
body{
    margin:0 !important;
    padding:0 !important;
}


body{
    font-family:Arial, Helvetica, sans-serif;
    background:#ffffff;
    color:#111111;
    line-height:1.6;
}

/*==================================================
CONTENEDOR
==================================================*/

.contenedor{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

/*==================================================
BARRA SUPERIOR
==================================================*/

.barra-superior{
    background:#111111;
    color:#ffffff;
    padding:10px 0;
}

.barra-superior .contenedor{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

/*==================================================
HEADER
==================================================*/

header{

    background:#FFD600;

    padding:15px 0;

    position:sticky;

    top:0;

    z-index:1000;
}

header .contenedor{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/*==================================================
LOGO
==================================================*/

.logo{
    display:flex;
    align-items:center;
}

.logo a{
    text-decoration:none;
    color:inherit;
}

.logo img{
    width:60px;
    height:auto;
    margin-right:15px;
    display:block;
}

.logo h3{
    color:#111111;
}

/*==================================================
MENU
==================================================*/

nav ul{
    display:flex;
    list-style:none;
    margin:0;
    padding:0;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    text-decoration:none;
    color:#111111;
    font-weight:bold;
    transition:.3s;
}

nav ul li a:hover{
    color:#ffffff;
}

/*==================================================
MENU HAMBURGUESA
==================================================*/

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:34px;
    cursor:pointer;
    color:#111111;
    padding:0;
}

/*==================================================
BANNER
==================================================*/

.banner{
    background:url("../img/banner.jpg");
    background-size:cover;
    background-position:center;
    min-height:600px;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.contenido-banner{
    background:rgba(0,0,0,.65);
    padding:50px;
    border-radius:10px;
    max-width:900px;
}

.contenido-banner h2{
    color:#FFD600;
    font-size:60px;
    margin-bottom:10px;
    text-transform:uppercase;
}

.contenido-banner h3{
    color:#ffffff;
    font-size:32px;
    margin-bottom:20px;
}

.contenido-banner p{
    color:#ffffff;
    font-size:22px;
    margin-bottom:35px;
}

/*==================================================
BOTONES
==================================================*/

.boton{
    background:#FFD600;
    color:#111111;
    text-decoration:none;
    padding:15px 35px;
    border-radius:8px;
    display:inline-block;
    font-weight:bold;
    transition:.3s;
}

.boton:hover{
    background:#111111;
    color:#FFD600;
}

button{
    background:#FFD600;
    color:#111111;
    border:none;
    padding:16px 35px;
    font-size:16px;
    font-weight:bold;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#111111;
    color:#FFD600;
}

/*==================================================
SECCIONES
==================================================*/

section{
    padding:80px 0;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

/*==================================================
NOSOTROS
==================================================*/

.nosotros{
    background:#ffffff;
}

.contenido-nosotros{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.texto-nosotros{
    flex:1;
}

.texto-nosotros p{
    margin-bottom:20px;
    text-align:justify;
    font-size:18px;
}

.imagen-nosotros{
    flex:1;
    text-align:center;
}

.imagen-nosotros img{
    width:100%;
    max-width:500px;
    height:auto;
    border-radius:12px;
    box-shadow:0 0 20px rgba(0,0,0,.20);
}

/*==================================================
CATÁLOGOS
==================================================*/

.catalogos{
    background:#f5f5f5;
}

.catalogos .subtitulo{
    text-align:center;
    margin-bottom:40px;
    font-size:16px;
    color:#555;
}

.tarjetas{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:15px;
    flex-wrap:wrap;
}

.tarjeta{
    width:200px;
    background:#ffffff;
    border-radius:10px;
    padding:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.tarjeta:hover{
    transform:translateY(-5px);
}

.tarjeta img{
    width:45px;
    height:45px;
    margin-bottom:10px;
}

.tarjeta h3{
    font-size:18px;
    margin-bottom:10px;
    color:#111111;
}

.tarjeta p{
    font-size:14px;
    margin-bottom:15px;
    color:#666;
}

.tarjeta a{
    display:inline-block;
    background:#FFD600;
    color:#111111;
    text-decoration:none;
    padding:8px 15px;
    border-radius:6px;
    font-size:14px;
    font-weight:bold;
}

.tarjeta a:hover{
    background:#111111;
    color:#FFD600;
}

/*==================================================
CONTACTO
==================================================*/

.contacto{
    background:#ffffff;
}

.contacto .subtitulo{
    text-align:center;
    margin-bottom:40px;
    color:#666666;
}

.contacto form{
    max-width:900px;
    margin:auto;
}

.fila{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.fila input{
    flex:1;
}

input,
textarea{
    width:100%;
    padding:16px;
    border:1px solid #dddddd;
    border-radius:8px;
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif;
}

textarea{
    height:180px;
    resize:none;
    margin-bottom:20px;
}

/*==================================================
CHECKBOX RECORDARME
==================================================*/

label{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
}

input[type="checkbox"]{
    width:auto;
    padding:0;
    margin:0;
}

/*==================================================
REGISTRO / LOGIN / CUENTAS
==================================================*/

.registro{
    min-height:500px;
    display:flex;
    align-items:center;
}

.caja-registro{
    width:100%;
    max-width:600px;
    margin:0 auto;
    background:#ffffff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.caja-registro h2{
    margin-bottom:30px;
}

.caja-registro form{
    width:100%;
}

.caja-registro input{
    margin-bottom:15px;
}

.caja-registro p{
    margin-bottom:15px;
}

.caja-registro a{
    color:#111111;
    font-weight:bold;
}

.caja-registro a:hover{
    color:#FFD600;
}

/*==================================================
ADMINISTRAR DOCUMENTOS
==================================================*/

.documentos-admin{
    width:90%;
    max-width:1100px;
    margin:60px auto;
    background:#ffffff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.documentos-admin h2{
    text-align:center;
    margin-bottom:30px;
    color:#111111;
}

.tabla-documentos{
    width:100%;
    border-collapse:collapse;
}

.tabla-documentos th{
    background:#FFD600;
    color:#111111;
    padding:15px;
    text-align:left;
}

.tabla-documentos td{
    padding:15px;
    border-bottom:1px solid #e5e5e5;
}

.tabla-documentos tr:hover{
    background:#f7f7f7;
}

.btn-descargar{
    background:#FFD600;
    color:#111111;
    padding:8px 15px;
    text-decoration:none;
    border-radius:6px;
    margin-right:10px;
    font-weight:bold;
}

.btn-descargar:hover{
    background:#111111;
    color:#FFD600;
}

.btn-eliminar{
    background:#d9534f;
    color:#ffffff;
    padding:8px 15px;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

.btn-eliminar:hover{
    background:#b52b27;
}

/*==================================================
PANEL ADMINISTRADOR
==================================================*/

.tarjetas-admin{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin:40px 0;
}

.tarjeta-admin{
    width:300px;
    background:#ffffff;
    border-radius:12px;
    padding:30px;
    text-align:center;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
    transition:.3s;
}

.tarjeta-admin:hover{
    transform:translateY(-8px);
}

.tarjeta-admin h3{
    margin-bottom:20px;
    color:#111111;
}

.tarjeta-admin p{
    margin-bottom:25px;
    color:#666;
}

.tarjeta-admin a{
    display:inline-block;
    background:#FFD600;
    color:#111111;
    text-decoration:none;
    padding:12px 30px;
    border-radius:8px;
    font-weight:bold;
}

.tarjeta-admin a:hover{
    background:#111111;
    color:#FFD600;
}

/*==================================================
FOOTER
==================================================*/

footer{
    background:#111111;
    color:#ffffff;
    margin-top:50px;
}

.footer-contenido{
    display:flex;
    justify-content:space-between;
    gap:40px;
    padding:60px 0;
}

.footer-columna{
    flex:1;
}

.footer-columna h3{
    color:#FFD600;
    margin-bottom:20px;
}

.footer-columna p{
    margin-bottom:10px;
}

.copyright{
    background:#000000;
    text-align:center;
    padding:20px;
    font-size:14px;
}

/*==================================================
CELULARES
==================================================*/

@media (max-width:768px){

    .contenedor{
        width:92%;
    }

    /* Barra superior */

    .barra-superior .contenedor{
        flex-direction:column;
        gap:3px;
        text-align:center;
    }

    /* Header */

    header .contenedor{
        flex-wrap:wrap;
    }

    .logo img{
        width:50px;
        margin-right:10px;
    }

    .logo h3{
        font-size:18px;
    }

    .menu-toggle{
        display:block;
    }

    nav{
        width:100%;
        display:none;
        margin-top:20px;
    }

    nav.activo{
        display:block;
    }

    nav ul{
        flex-direction:column;
        align-items:center;
    }

    nav ul li{
        margin:10px 0;
    }

    /* Banner */

    .banner{
        min-height:500px;
        padding:30px 0;
    }

    .contenido-banner{
        width:92%;
        padding:30px 20px;
    }

    .contenido-banner h2{
        font-size:38px;
    }

    .contenido-banner h3{
        font-size:24px;
    }

    .contenido-banner p{
        font-size:18px;
    }

    /* Secciones */

    section{
        padding:60px 0;
    }

    section h2{
        font-size:30px;
        margin-bottom:30px;
    }

    /* Nosotros */

    .contenido-nosotros{
        flex-direction:column;
        gap:30px;
    }

    .texto-nosotros p{
        font-size:16px;
    }

    /* Contacto */

    .fila{
        flex-direction:column;
        gap:15px;
        margin-bottom:15px;
    }

    /* Login y registro */

    .registro{
        padding:50px 0;
    }

    .caja-registro{
        padding:30px 20px;
    }

    /* Documentos */

    .documentos-admin{
        width:92%;
        padding:20px 15px;
        margin:40px auto;
        overflow-x:auto;
    }

    .tabla-documentos{
        min-width:650px;
    }

    /* Panel admin */

    .tarjeta-admin{
        width:100%;
        max-width:400px;
    }

    /* Footer */

    .footer-contenido{
        flex-direction:column;
        text-align:center;
        gap:30px;
        padding:40px 0;
    }

}

/*==================================================
PANTALLAS MUY PEQUEÑAS
==================================================*/

@media (max-width:480px){

    .logo h3{
        font-size:16px;
    }

    .contenido-banner h2{
        font-size:32px;
    }

    .contenido-banner h3{
        font-size:21px;
    }

    .contenido-banner p{
        font-size:16px;
    }

    .boton{
        padding:12px 22px;
    }

    section h2{
        font-size:27px;
    }

    .caja-registro{
        padding:25px 15px;
    }

}html,
body{
    margin:0 !important;
    padding:0 !important;
}

.barra-superior{
    margin-top:0 !important;
}

body{
    overflow-x:hidden;
}