/*Fuentes*/
@font-face {
    font-family: "TrebuechetMS";
    src: url(fonts/TrebuchetMS.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue";
    src: url(fonts/BebasNeue.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WebSymbolsRegular";
    src: url(fonts/websymbols-regular-webfont.eot);
    src: url(fonts/websymbols-regular-webfont.eot?#iefix) format(embedded-opentype),
        url(fonts/websymbols-regular-webfont.woff) format(woff),
        url(fonts/websymbols-regular-webfont.ttf) format(truetype),
        url(fonts/websymbols-regular-webfont.svg#WebSymbolsRegular) format(svg);
    font-weight: normal;
    font-style: normal;
}
/*GENERAL*/
* {
    margin: 0px;
    padding: 0px;
}

body {
    background: url(../img/pattern.png);
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;

}


.gear {
    font-family: WebSymbolsRegular;
    color: rgb(185, 27, 27);
}

.clearfix {
    float: none;
    clear: both;
}

/*CABECERA*/
#header {
    width: 100%;
    height: 70px;
    font-family: BebasNeue;
    background-color: black;
    color: white;
}

#logo {
    float: left;
    width: 200px;
    background-color: #eb790f;
    text-align: center;
    margin-top: 8px;
    margin-left: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 300ms;

}

#logo .gear {
    display: block;
    float: left;
    font-size: 30px;
    margin-top: 8px;
    margin-left: 26px;
}

#logo h3 {
    display: block;
    float: right;
    font-size: 40px;
    margin-top: 5px;
    margin-right: 65px;
    transition: all 300ms;
}

#menu {
    float: right;
    height: 70px;
    background: transparent;
}

#menu ul li {
    font-size: 24px;
    display: inline-block;
    margin: 0px 20px 0px 20px;
    letter-spacing: 1px;
    line-height: 70px;
}

#menu ul li a {
    display: block;
    color: white;
    text-decoration: none;
    transition: all 200ms;
}

#menu ul li a:hover {
    color: #e9e511;
    transform: scale(1.2, 1.2);
}
/*banner*/
#banner{
    position: relative;
    width: 100%;
    height: 400px;
    border: 5px solid white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);;
    background-position: -200px -200px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#banner img{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}
#banner h1{
    position: relative;
    display: block;
    color: rgb(0, 0, 0);
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.8);
    text-align: center;
    letter-spacing: 3px;
    font-size: 3rem;
    font-family: "BebasNeue";
    /*margin: 0 0 20px 0;
    z-index: 2;
    position: relative;
    padding: 0 20px;   
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 30px;*/
    
    
}
#info_banner{
    position: absolute;
    width: 90%;
    text-align: center;
    height: auto;
    color: black;
    font-family:  "TrebuechetMS";
    font-size: 2vw;
}
/*cards*/
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px auto;
    max-width: 1000px;
    font-family: "TrebuechetMS";
}

.card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /*sombreado*/
    transition: all 300ms;
    border-top: 5px solid #eb790f;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card h2 {
    color: #030303;
    margin-top: 0;
    font-size: 2em;
    font-family: "BebasNeue";
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.card-content {
    line-height: 1.6;
    color: #555;
    font-size: 1.1em;
}

.card {
    background: white;
}




/* FOOTER */
#footer {
    background-color: #000;
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section {
    text-align: center;
}

.logo-footer img {
    max-width: 150px;
    margin-bottom: 15px;
    border: 3px solid #eb790f;
    border-radius: 5px;
}

.logo-footer h4 {
    font-size: 1.2rem;
    color: #eb790f;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #eb790f;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #eb790f;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.footer-section p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
}
/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-family: "TrebuechetMS", sans-serif;
    font-weight: 600;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.whatsapp-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        padding: 12px 18px;
    }
}

@media (max-width: 360px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }
    
    .whatsapp-icon {
        margin-right: 0;
    }
}
/*Responsive*/
@media (min-width: 769px) and (max-width: 1199px) {
    #footer .wrap {
        justify-content: center;
    }
    
    #footer .wrap > div {
        width: 45%; /* Dos columnas */
        margin: 15px 2.5%;
        min-height: auto;
    }
    
    /* Asegurar que los tres elementos sean visibles */
    #footer .wrap > div:nth-child(3) {
        width: 90%; /* Tercer elemento ocupa casi todo el ancho */
        margin-top: 20px;
    }
    
    #footer h4 {
        font-size: 22px;
        height: 45px;
        line-height: 45px;
    }
    
    #logo_footer img {
        max-width: 200px;
    }
}
@media (max-width: 768px) {
    /* Header */
    #header {
        height: auto;
        padding: 10px 0;
        text-align: center;
    }
    
    #logo {
        float: none;
        margin: 8px auto;
    }
    
    #menu {
        float: none;
        width: 100%;
        height: auto;
    }
    
    #menu ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #menu ul li {
        font-size: 20px;
        line-height: 50px;
        margin: 0 10px;
    }
     
    /* Banner */
    #banner {
        height: 300px;
    }
    
    #banner h1 {
        font-size: 2.2rem;
    }
    
    #info_banner {
        font-size: 1.5rem;
    }
    
    /* Cards */
    .card {
        padding: 20px;
    }
    
    .card h2 {
        font-size: 1.6em;
    }
    
    /* Footer */
   #footer{
        height: auto;
        padding: 20px 0;
    }
    #footer .wrap {
        display: block;  
        width: 100%;
    }
    #footer .wrap > div {
        float: none;       
        width: 90%;         
        margin: 0 auto 25px;
        height: auto; 
    }
    #footer h4{
        font-size: 6vw;
    }
    #logo_footer img {
        height: 18  vw;      
        margin-top: 5px;
        border-width: 3px;  
        max-width: 25vw
    }
}

/* Media Query para Móvil (480px) */
@media (max-width: 480px) {
    /* Header */
    #logo {
        width: 160px;
    }
    
    #logo .gear {
        font-size: 24px;
        margin-left: 20px;
    }
    
    #logo h3 {
        font-size: 32px;
        margin-right: 50px;
    }
    
    #menu ul li {
        font-size: 18px;
        margin: 0 5px;
    }
    
    /* Banner */
    #banner {
        height: 250px;
    }
    
    #banner h1 {
        font-size: 1.8rem;
    }
    
    #info_banner {
        font-size: 1.2rem;
    }
    
    /* Cards */
    .card {
        padding: 15px;
    }
    
    .card h2 {
        font-size: 1.4em;
    }
    
    .card-content {
        font-size: 1em;
    }
    
    /* Footer */
     #footer {
        padding: 15px 0;
    }
    #footer .wrap {
        display: block;
    }
    #footer .wrap > div {
        width: 95%;
        margin: 0 auto 15px;
    }
    #footer h4 {
        font-size: 7vw;
    }
    #logo_footer img {
        height: 15vw;
        max-width: 20vw;
    }
}
