 /* styles.css */

/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}
/*
.responsive-image {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
}
*/
.header {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.container {
    position: fixed;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    height: 140px;
    top: 0;
    z-index: 1000;
    background-image: linear-gradient(rgba(5, 12, 66, 0.7), rgba(100, 128, 240, 0.7)),url(../images/fondotop.jpg);
}

.container__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
}


/* Estilo para las barras del menú */
.bars__menu {
    display: none; 
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    margin-top: 20%;
    left: 90%;
}
.bars__menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    margin-top: 6px;
    transform-origin: 0px 100%;
    transition: all 300ms;
}

.activeline1__bars-menu {
    transform: rotate(45deg) translate(-2px, 1px);
}

.activeline2__bars-menu {
    opacity: 0;
    margin-left: -30px;
}

.activeline3__bars-menu {
    transform: rotate(-45deg) translate(-4px, 1px);
}

.active__menu {
    display: none; 
}

.nav_imag img {
    width: 250px;
    height: 100px;
}
.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    margin: 0 15px;
}

/* Coloca RAYITA al MENU cuando lo apuntas */
.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: white;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after {
    width: 100%;
}
.nav-links ul li a {
    color: #fff;
    font-weight: bold;
}

/*
.bars__menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bars__menu span {
    background: #fff;
    height: 2px;
    width: 25px;
    margin: 4px 0;
}
*/


.text-box {
    margin-top: 130px;
    background-image: linear-gradient(rgba(9, 19, 90, 0.7), rgba(100, 128, 240, 0.7)),
                      url(../images/SaguSlide01.png); 
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 820px;
    color: whitesmoke;
 }
.text-box p {
       font-size: 16px;
}

.text-box-1 {
    background-image: linear-gradient(rgba(33, 39, 83, 0.7), rgba(100, 128, 240, 0.7)),
                        url(../images/fondoroll.png);  
    background-position: center;
    background-size: cover;
    height: 40px;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}
/* background-image: linear-gradient(rgba(33, 39, 83, 0.7), rgba(100, 128, 240, 0.7)),
url(../images/fondoroll.png); 
background-image: url(../images/fondogaleria.jpg);  
*/ 

/* display: inline-block; */
.text-box-1 h1 {
    margin-top: 4px;
   font-size: 30px;
   text-align: center;
}

/*----- Modificacion Box-3 --------*/
.text-box-3 {
    margin-top: 10px;
    margin-left: 10%;
    width: 90%;
    padding-top: 1px;
}

.text-box-3-row {
    margin-top: 5px;
    display: flex;
}
.text-box-3-col {
    flex-basis: 48%;
    background: rgba(6, 6, 105, 0.05);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 10px 10px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: left;
}
.text-box-3-col:hover {
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

.nextpages {
    padding: 50px 20px;
    text-align: center;
}

.nextpages h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.nextpages h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 30px;
}

.nextpages h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
}

.nextpages h4 {
    text-align: center;
    margin-bottom: 5px;
    font-size: 16px;
}
.nextpages p {
    font-size: 14px;
    color:black;
    text-align: center;
}

.nextpages-row {
    display: flex;
    flex-wrap: wrap;
}

.nextpages-col {
    padding: 20px;
    border-radius: 8px;
    background: rgba(6, 6, 105, 0.05);
    border-radius: 10px;
    margin-bottom: 5%;
    flex: 1;
    width: 45%;
    margin: 10px;
}

.services img, .productm img, .mission img, .about img {
    max-width: 70%;
    height: auto;
    margin: 10px auto 20px;
    background-color: rgb(233, 144, 144);
    background-size: 10px;
}

.productm p {
    font-size: 14px;
    margin-left: 20px;
    text-align: left;
}

.contact {
    width: 60%;
    margin: auto;
    background-color: pink;
    text-align: center;
}
.contact a {
    font-size: 14px;
    text-decoration: underline;
    color:rgb(187, 7, 7);
}

/*----- Some Pictures --------*/
.sagu-pic {
    width: 90%;
    margin: auto;
    padding-top: 50px;
    text-align: center;
}

.sagu-pic h1 {
    margin-bottom: 20px;
    font-size: 30px;
    color: #333;
}
.sagu-pic p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}
 .sagu-pic-bod {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    position: relative; 
    overflow: hidden;
 }
 .sagu-pic-row {
    width: auto;
    height: auto;
    margin: 3px;
    flex-basis: 46%;
    display: flex;
    justify-content: space-between;
}
.sagu-pic-col {
    background: rgba(6, 6, 105, 0.123);
    border-radius: 10px;
    margin: 10px;
    padding: 10px 10px;
    box-sizing: border-box;
    transition: 0.5s;
}
.sagu-pic-col:hover {
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
 
.sagu-pic-col img {
    width: 100%;
    height: 100%;
    margin: 2px;
    display: center;
    background-size: 5px;
    background-color: rgb(233, 144, 144);
}

/* Responsive Styles */
@media screen and (max-width: 1050px) {
    .container {
        height: 90px;
    }
    .text-box {
        margin-top: 90px;
    }
    .nav_imag img {
    width: 150px;
    height: 50px;
    }
    /*
    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
    }
    */
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute; 
        background: #02223b;
        height: 80vh;
        width: 150px;
        top: 100px;
        left: -200px;
        text-align: left;
        font-weight: 600;
        z-index: 2;
        transition: 1s; 
    }
    
    .nav-links.active__menu {
        display: flex;
        left: 0;
    }

    .nav-links ul {
        padding: 20px;
        flex-direction: column;
    }
    .nav-links ul li {
        margin: 10px 0;
        display: block;
    }
    .nav-links ul a {
        text-align: left;
        margin: 0px;
    }  
    .bars__menu {
        margin-top: 20px;
        display: flex;
        transform: translate(-50%, -50%); 
        cursor: pointer;
    }
    .header .text-box h1 {
        font-size: 18px;
        text-align: center;
    }
    .header .text-box p {
        font-size: 12px;
    }
    .text-box-3-row {
        width: auto;
        height: auto;
        margin: 3px;
        display: flex;
        flex-direction: column;
    }
    .nextpages h1 {
        font-size: 18px;
    }
    .nextpages h2 {
        font-size: 17px;
    }
    .nextpages h3 {
        font-size: 15px;
    }
    .nextpages h4 {
        font-size: 13px;
    }
    .nextpages p {
        font-size: 11px;
        text-align: left;
    }
    .nextpages-row {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .nextpages-col {
        width: 90%;
        align-items: center;
    }

    .services, .productm, .mission, .about, .contact {
        padding: 40px 10px;
    }
   
    .services p, .productm p, .mission p, .about p, .contact p {
        font-size: 10px;
        text-align: left;
    }

    .sagu-pic h1 {
        font-size: 18px;
    }
    .sagu-pic p {
        font-size: 10px;
    }
    .sagu-pic-bod {
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .sagu-pic-row {
        width: auto;
        height: auto;
        margin: 3px;
        display: flex;
        flex-direction: column;
    }
    .sagu-pic-col {
        margin: 2px;
        display: center;
        background-size: 5px;
        background-color: rgb(233, 144, 144);
        }
        
    .sagu-pic-col img {
        box-sizing: border-box; 
        display: center;
        background-size: 5px;
        background-color: rgb(233, 144, 144);
        }
        
    .responsive-image {
        max-width: 100%;
        max-height: 100vh;
        width: auto;
        height: auto;
        }   
}

/*
@media screen and (max-width: 500px) {
    .header .text-box h1 {
        font-size: 16px;
        text-align: center;
    }

    .header .text-box p {
        font-size: 10px;
    }

    .nextpages h1 {
        font-size: 28px;
    }

    .sagu-pic, .productm, .mission, .about, .contact {
        padding: 30px 10px;
    }

    .sagu-pic h1, .productm h1, .mission h1, .about h1, .contact h1 {
        font-size: 22px;
    }

    .sagu-pic p, .productm p, .mission p, .about p, .contact p {
        font-size: 14px;
    }
    .text-box-3 p {
        font-size: 12px;
        text-align: left;
    }
    
}
*/