@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1b1726;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background-image: url();
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.menu .navbar ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu .navbar ul li {
    float: none;
}

.menu .navbar ul li.logo-item img,
.menu .logo img {
    height: 40px;
    display: block;
}


.menu .navbar {
    margin-left: 0;
    margin-right: auto;
    padding-left: 20px; 
}

.menu .navbar ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu .navbar ul li.logo-item {
    margin-left: 10px;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.logo {
    color: #ff00c8;
    margin-top: 0;
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
}

.menu .navbar ul li.logo-item img {
    display: block;
    height: 40px;
    margin-top: -2px;
    transition: transform 0.18s cubic-bezier(.2,.8,.2,1);
    transform-origin: center;
    will-change: transform;
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #ffffff;
    font-weight: 600;
    display: block;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #ffffff;
    font-weight: 600;
    display: block;
    transition: transform 0.16s cubic-bezier(.2,.8,.2,1), color 0.12s ease;
    transform-origin: center;
    will-change: transform, color;
}

.menu .navbar ul li a:hover {
    color: #ff00c8;
    transform: scale(1.08);
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.header-content {
    display: flex;
}

.header-txt {
    flex-basis: 50%;
}

.header-txt h1 {
    font-size: 60px;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 25px;   
}

.header-txt span {
    color: #ff00c8;
}

.header-txt p {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 45px;
    text-align: center;
}

.butons {
    display: flex;
}

.btn-1, .btn-2, .btn-3 {
    display: inline-block;
    padding: 11px 35px;
    border: 2px solid #ff00c8;
    border-radius: 25px;
    margin-right: 25px;
    font-size: 17px;
    color: #ffffff;

}

.btn-1:hover {
    background-color: #ff00c8;
}

.popular {
    padding: 100px 0;
    text-align: center;
}

h2 {
    color: #ffffff;
    font-size: 35px;
    margin-bottom: 45px;
    justify-content: center;
}


.popular-content {
    display: flex;
    justify-content: space-between;
    justify-content: center;
    margin: 90px;
}

.popular-content img {
    width: 150px;
    margin: 10px;
}

.product-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}
.product-1 {
    background-color: #2a223a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.product-1 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}

.product-1:hover img {
    transform: scale(1.05);
}

.product-txt {
    padding: 22px 20px 26px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price p {
    font-size: 17px;
    color: #ff00c8;
}

.btn-2 {
    padding: 5px 25px;
    background-color: #ff00c8;
    margin-right: 0;
}

/* Botón dentro de cada tarjeta */
.btr-2 {
    padding: 8px 18px;
    background: linear-gradient(90deg,#ff6ad1,#ff00c8);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 991px) {
    .product-1 img {
        height: 160px;
    }

    .product-content {
        gap: 30px;
    }
}

.contact {
    padding: 150px 300px;
}

.contact-content {
    background-color: #2a223a;
    text-align: center;
    padding: 50px;
    border-radius: 50px;
}

form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

input {
    padding: 18px 25px;
    background-color: #3f3456;
    border: 0;
    border-radius: 25px;
    outline: none;
    margin-right: 10px;
    color: #ffffff;
    font-size: 17px;
}

::placeholder {
    color: #e0e0e0;
    font-size: 17px;
}

.btn-3 {
    background-color: #ff00c8;
    cursor: pointer;
    margin-right: 0;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

.link ul {
    display: flex;
}

.link ul li > a {
    font-size: 17px;
    color: #ffffff;
    margin-right: 20px;
}

.link ul li > a:hover {
    color: #ff00c8;
}

@media(max-width:991px) {

    .menu {
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ff00c8;
        display: none;
    }

    .menu .navbar ul li a:hover {
        color: #1b1726;
    }

    .menu .navbar ul li {
        width: 100%;
    }

    #menu:checked ~ .navbar {
        display: initial;
    }

    .header{
        min-height: 0vh;
        padding: 80px 30px 50px 30px;
    }

    .header-txt {
        text-align: center;
        flex-basis: 100%;
    }

    .header-txt h1 {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .butons {
        justify-content: center;
    }

    .btn-1:last-of-type {
        margin-right: 0;
    }

    .popular-container {
        display: none;
    }

    .product {
        padding: 30px;
    }

    .product-content{
        grid-template-columns: repeat(1,1fr);
        gap: 30px;
    }

    .product-1 img {
        width: 100%;
    }

    .contact {
        padding: 30px;
    }

    form {
        flex-direction: column;
    }

    input {
        margin: 0 0 20px 0;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .link ul {
        margin-top: 20px;
        
    }

    .navbar ul li a {
    display: inline-block;
    }

    .navbar ul li a,
.product-1 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .navbar ul li a,
.product-1 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}