*{
    box-sizing: border-box;
    height: auto;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
     height: 100%;
    background-image: repeating-radial-gradient(  #0f3aa7bd 87%,#0d0c65 90%);
    background-size: 50px 50px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style: none;
}

.container{
    width: 90%;
    margin: 0 auto;
}

/* Navigation styles */
.nav-main{
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 20px 0;
}

.nav-brand{
    width: 50px;
}

/* Nav left */
.nav-main ul{
    display: flex;
    gap: 20px;
}

.nav-main ul li{
    padding: 10px;
}

.nav-main ul li a{
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-main ul li a:hover{
    border-bottom: 2px solid rgb(104, 111, 32);
    color: #ffdd57;
    transition: color 0.3s ease;
}

.nav-main ul.nav-menu{
    flex: 1;
    margin-left: 20px;
}

.menu-btn{
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 30px;
    z-index: 2;
    font-size: 1.5rem;
    display: none;
}

/* SHOWCASE */
.titulos{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: medium;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: oblique;
}

hr{
    margin: 10px 0;
}

.showcase{
    width: 100%;
    background: url("../img/showcase.gif") no-repeat center center/cover;
    height: 100%;
    object-fit: cover;
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border: 50px solid rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    text-shadow:  0 0 2px black,
        0 0 2px black,
        0 0 2px black,
        0 0 2px black;
    text-shadow: #524408 5px 5px 4px;
    
}

.btn{
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold; 
    padding: 10px 20px;
    background: skyblue;
    color: white;
    font-size: 15px;
    border: 1px solid #fff;
    margin: 10px 0px;
}

.btn:hover{
    background: rgba(0, 0, 255, 0.578);
    color: black;
    transition: background 0.3s ease;
    opacity: .7;
}

.showcase h2,
.showcase p{
    margin-bottom: 10px;
}

/* NEWS */
.news-cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px ;
    margin: 10px 0;
   border: 15px solid rgba(0, 0, 0, 0.5);
}

.news-cards img{
    width: 100%;
    height: 180px;
    border: 15px solid rgba(0, 0, 0, 0.5);
}

.news-cards h3{
    font-size: 20px;
    margin: 10px 0;
    
}

.news-cards a{
    padding: 10px 0;
    color: white;
    text-transform:uppercase;
    display: inline-block;
    font-weight: bold;
}

.news-cards a:hover{
    color: rgba(0, 0, 255, 0.578);
    transition: color 0.3s ease;

}

/* CARDS BANNER ONE */
.cards-banner-one{
    width: 100%;
    height: 350px;
    background: url("../img/banner.jpg") no-repeat center center/cover;
    margin-bottom: 40px;
}

.cards-banner-one .content{
    font-family: "Times New Roman", Times, serif;
    width: 40%;
    padding: 90px 0 0 30px;
    color: rgb(255, 255, 255);
    text-shadow:  0 0 2px black,
        0 0 2px black,
        0 0 2px black,
        0 0 2px black;
    text-shadow: #524408 5px 5px 4px;
  

}

.btn-banner{
      cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold; 
    padding: 10px 20px;
    background: #cd9a02fe;
    color: white;
    font-size: 15px;
    border: 1px solid #fff;
    margin: 0px 0px;
}

.btn-banner:hover{
    background: #967101fe;
    color: black;
    transition:  0.3s ease;
    opacity: .9;
}

.cards-banner-one p,
.cards-banner-one h2{
    margin: 10px 0 20px;
}

/* Social */
.social{
    margin: 50px;
}

.social p{
    font-family: "Times New Roman", Times, serif;
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.links{
    display: flex;
    align-items: center;
    justify-content: center;
}

.links a{
    margin: 0 30px;
}

.links a i{
    font-size: 3rem;
}

/* Footer links */
.footer-links{
    background: #2f3640;
    font-size: 12px;
    padding: 35px 0;
}

.footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}

.footer-container ul{
    margin: 0 auto;
}

.footer-container ul li{
    line-height: 2.8;
}

.footer{
    background: #2f3640;
    color: #616161;
    font-size: 12px;
    padding: 20px 0;
    text-align: center;
    padding-bottom: 20px;
}

@media (max-width: 700px ){

    .menu-btn{
        display: block;
    }
    
    .nav-main ul.nav-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: #2f3640;
        height: 100%;
        padding: 30px;
        opacity: .9;
        transform: translateX(-400px);
        transition: transform .5s ease-in-out;
    }

    .nav-main ul.nav-menu.show{
        transform: translateX(-20px);
    }

    .nav-main ul.nav-menu li{
        padding: 20px;
        font-size: 14px;
    }

    .nav-main ul.nav-menu-right{
        margin-right: 40px;
    }


    .news-cards{
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-banner-one .content{
        width: 80%;
    }

    .footer-links .footer-container{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 500px){
     .news-cards{
        grid-template-columns: 1fr;
        height: 270px;
    }

    .cards-banner-one .content{
        width: 100%;
        padding: 60px 20px;
    }

    .footer-links .footer-container{
        grid-template-columns: 1fr;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffdd57;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn {
    display: inline-block;
    background: #ffdd57;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #ffd700;
}

#formMessage {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* Responsive for forms */
@media (max-width: 700px) {
    .contact-form {
        max-width: 90%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 8px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
    
    .showcase {
        height: 400px;
        padding: 30px;
        border: 20px solid rgba(0, 0, 0, 0.5);
    }
    
    .swiper {
        height: 350px;
    }
    
    .swiper-slide img {
        height: 200px;
    }
    
    .mapa {
        margin-left: 200px;
    }
}

@media (max-width: 500px) {
    .contact-form {
        max-width: 95%;
        padding: 10px;
    }
    
    .contact-form h2 {
        font-size: 1.5em;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 8px;
    }
    
    .btn {
        font-size: 14px;
        padding: 10px;
    }
    
    .showcase {
        height: 300px;
        padding: 20px;
        border: 10px solid rgba(0, 0, 0, 0.5);
    }
    
    .news-cards {
        grid-template-columns: 1fr;
        height: 270px;
    }
    
    .cards-banner-one .content {
        width: 100%;
        padding: 60px 20px;
    }
    
    .footer-links .footer-container {
        grid-template-columns: 1fr;
    }
    
    .swiper {
        height: 300px;
    }
    
    .swiper-slide img {
        height: 150px;
    }
    
    .mapa {
        margin-left: auto;
        margin-right: auto;
    }
}

/*Mapa dinamico*/
.mapa{
    margin: auto 0;
    background-color: rgb(135, 140, 235);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    font-family: 'Times New Roman', Times, serif;
    padding: 5px 0;
    margin-left: 400px;

}



@media (max-width: 700px) {
    .mapa {
        margin-left: 200px;
    }
}

@media (max-width: 500px) {
    .mapa {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Swiper */
.swiper{
    background-color: #0d0c65;
}

.swiper {
    width: 100%;
    height: 450px;
    margin: 20px auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
}

.swiper-slide img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 10px;
}

.swiper-slide h3 {
    margin: 10px 0 5px 0;
    color: #333;
    font-size: 20px;
}

.swiper-slide p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;    z-index: 10 !important;}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
}
