@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Poppins:ital,wght@0,400;0,600;0,800;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Poppins:ital,wght@0,400;0,600;0,800;1,700&display=swap');
/* ===== VARIABLES CSS ===== */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #eaeaea;
    height: auto;
    /* Asegura que el scroll esté habilitado */
    overflow-y: auto;
}

/* Ajusta .container para que el slider ocupe su espacio y empuje el main hacia abajo */
.container{
    display: block;
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 0 auto; /* margen superior para header fijo */
    background-color: transparent;
    box-shadow: none;
    padding-bottom: 120px; /* espacio para los controles del slider */
    min-height: 650px; /* asegura espacio para el slider */
}



.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(1, 1, 1, 0.4);
    padding: 0px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    
}

.logo{
    font-size: 25px;
    text-transform: uppercase;
    color: #f9fafc;
    font-weight: 700;
}

.navigation ul{
    list-style: none;

}

.header .navigation ul li{
    float: left;
    position: relative;
    list-style: none;
}

.header .navigation ul li a{
    font-size: 16px;
    color: #f9fafc;
    padding: 10px;
    margin: 18px;
    display: block;
    transition: all .3s ease;
    border-radius: 10px;
    
}

.header .navigation ul li a:hover{
    background-color: #0099e5;
}
a.active {
    background-color: #0099e5;
    color: #fff;
    border-radius: 20px;
}

.header .navigation ul li ul{
    position: absolute;
    right: 0;
    left: 20px;
    width: 200px;
    margin-top: -18px;
    background-color: rgba(1, 1, 1, 0.7);
    display: none;
    border-radius: 20px;
    
}

.header .navigation ul li ul li a{
    font-size: 15px;
    text-transform: capitalize;
    
}

.header .navigation ul li ul li ul{
    position: absolute;
    top: 0;
    right: 200px;
    
}

.header .navigation ul li ul li{
    width: 100%;
    

}

.header .navigation ul li:hover > ul{
    display: initial;
}


#toggle, 
.header label{
    display: none;
    cursor: pointer;
}


.menu{
    width: 45px;
    height: 35px;
}


.container .slide .item{
    width: 200px;
    height: 300px;
    position:absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;

}


.slide .item:nth-child(1),
.slide .item:nth-child(2){
     top: 0;
     left: 0;
     transform: translate(0, 0);
     border-radius: 0;
     width: 100%;
     height: 100%;
}



.slide .item:nth-child(3){
 left: 50%;
}

.slide .item:nth-child(4){
 left: calc(50% + 220px);
}

.slide .item:nth-child(5){
 left: calc(50% + 440px);
}


.slide .item:nth-child(n + 6){
 left: calc(50% + 660px);
 opacity: 0;
}

.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}

.slide .item:nth-child(2) .content{
    display: block;

}



.content .name{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;

}

.content button{
   padding: 10px;
   border: none;
   cursor: pointer;
   opacity: 0;
   animation: animate 1s ease-in-out 0.6s 1 forwards;


}


@keyframes animate{
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);

    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
      }

}


.button{
    width:100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}


.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}


.button button:hover{
    background-color: #0099e5;
    color: #fff;
    border: none;
}

/* Main section styles */
main {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 60px 20px 40px 20px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    position: relative;
    z-index: 1;
}

.about {
    margin-bottom: 40px;
}

.about h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.about p {
    font-size: 1.2rem;
    color: #555;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background: #f7f7f7;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 30px 24px;
    text-align: center;
    width: 300px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.feature-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 16px;
}

.feature-card h2 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

/* Footer styles */
.footer {
    background: #222;
    color: #eee;
    padding: 40px 0 0 0;
    margin-top: 40px;
    font-family: inherit;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #eee;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

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

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.footer-social a {
    color: #eee;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0 10px 0;
    font-size: 0.95rem;
    color: #aaa;
    background: #1a1a1a;
    margin-top: 0;
}

/* Responsive styles */
@media (max-width: 900px) {
    .features {
        flex-direction: column;
        align-items: center;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    main {
        padding: 40px 5vw 30px 5vw;
    }
}
