*  {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background: white;
    color: black;
    background-color: #ffffff;
    background-color: #ffffff;
    background-image: url(img/Fond2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-size: 16px;
    font-family: sans-serif;
}
a {
    color: black;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    width: 90%;
    margin: auto;
}
/*Nav-style Navegation*/
.nav-main  {
    position: fixed;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 20px 0;
}
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand img {
    width: 120px;  /* Ajusta el tamaño según necesites */
    height: auto;
}
/*NAV FEFT*/
.nav-main ul {
    display: flex;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;

}
.nav-main ul li {
    padding: 10px;
    display: inline;
    margin: 0 15px;
}
.nav-main ul li a:hover {
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 2px solid black;
}
.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: 2rem;
}
.nav-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-menu.show {
    transform: translateX(0);
}
.P-p {
    font-size: 28px;
    line-height: 2  ;
    color: #333;
    text-align: justify;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.Ti1 {
    font-size: 36px; /* Tamaño grande para resaltar */
    font-weight: bold; /* Negrita */
    text-transform: uppercase; /* Mayúsculas */
    color: #ff5722; /* Color llamativo (naranja) */
    text-align: center; /* Centrado */
    letter-spacing: 2px; /* Espaciado entre letras */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3); /* Sombra para resaltar */
    padding: 10px 0; /* Espaciado superior e inferior */
}

/*SHOWCASE*/
hr {
    margin: 10px 0;
}
.showcase {
    width: 100%;
    height: auto;
    min-width: 600px;
    padding: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.btn {
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    background: #262626;
    color: #ffffff;
    font-size: 15px;
    border: 1px solid #fff;
    margin: 10px 0;
}
.btn:hover {
    opacity: .7;
}
.showcase h2,
.showcase p {
    margin-bottom: 10px;
} 




/* Social */
.Social-dos {
    margin: 50px;
}
.Social-dos p {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px
}
.Links-dos {
    display: flex;
    align-items: center;
    justify-content: center;
}
.Links-dos a { 
    margin: 0 30px;
}
.Links-dos a i {
    font-size: 3rem;
}
.Links-dos {
    display: flex;
    gap: 20px;
}

.Links-dos a {
    font-size: 40px;  /* Tamaño de los íconos */
    color: black;     /* Color inicial */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.Links-dos a:hover {
    transform: scale(1.2); /* Efecto de zoom al pasar el mouse */
}

.fa-facebook { color: #1877F2; }  /* Azul de Facebook */
.fa-whatsapp { color: #25D366; }  /* Verde de WhatsApp */
.fa-instagram { color: #E4405F; }  /* Rosa de Instagram */

/*Footer-Links*/
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 10px;
}
.footer-section a {
    color: white;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f4c542;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/*  navegación en móviles */
@media (max-width: 700px) {
    .nav-main ul.nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 50, 0, 0.95); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
    }

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

    .nav-main ul.nav-menu li {
        padding: 15px;
        font-size: 22px;
    }

    .nav-main ul.nav-menu li a {
        color: white;
        font-weight: bold;
        font-size: 24px;
    }

    .menu-btn {
        position: fixed;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        border-radius: 5px;
        color: white;
        z-index: 1100;
    }
}


/* ✅ Estilos para PC (menú completo) */
@media screen and (min-width: 1025px) {
    .nav-menu {
        display: flex; 
        justify-content: space-around;
        flex: 1;
        transform: none;
    }

    .menu-btn {
        display: none; /* Se oculta el botón hamburguesa */
    }
}

/* ✅ Estilos para Tablet y Móvil (menú hamburguesa) */
@media screen and (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 50, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
    }

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

    .menu-btn {
        display: block; /* Se muestra el botón hamburguesa */
        position: fixed;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        z-index: 1100;
    }
}
@media screen and (min-width: 1025px) {
    .Noticias {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}


@media (max-width: 700px) {
    body {
        background-size: cover;
        background-attachment: scroll; /* Evita el fondo fijo en móviles */
    }

    .showcase {
        padding: 30px 15px;
        min-width: auto; /* Evita que el ancho mínimo sea muy grande */
        height: auto;
        text-align: center;
    }

    .showcase h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .showcase p {
        font-size: 1rem;
        max-width: 90%;
    }

    .nav-main {
        height: auto;
        padding: 10px 15px;
    }

    .nav-brand img {
        width: 90px; /* Ajusta el logo en móviles */
    }

    .menu-btn {
        font-size: 28px;
        right: 15px;
    }

    .nav-menu {
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
    }

    .nav-menu li {
        padding: 10px;
        font-size: 20px;
    }

    .Noticias {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .Noticias img {
        height: 200px; /* Ajusta las imágenes en móviles */
        object-fit: cover;
    }

    .P-p {
        font-size: 18px;
        padding: 15px;
        max-width: 95%;
    }

    .Ti1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .Links-dos a {
        font-size: 32px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .Links a {
        font-size: 30px; /* Reduce el tamaño de los íconos */
        margin: 0 10px; /* Reduce el espacio entre los íconos */
    }
    .Noticias img {
        width: 100%;
        height: auto;
        object-fit: cover; /* Asegura que las imágenes no se deformen */
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}
