@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background: linear-gradient(90deg, #ffafbd, #ffc3a0);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 3em;
}

nav {
    background: #ff6f91;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffe0e6;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    color: #ff6f91;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.product h3 {
    margin: 15px 0 10px;
    text-align: center;
}

footer {
    background: #ff6f91;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

footer p {
    margin: 0;
}

@media screen and (max-width: 768px) {
    header {
        padding: 15px 0;
    }

        header h1 {
            font-size: 1.8rem !important;
            line-height: 1.3;
        }

    nav {
        position: static;
        padding: 0;
    }

        nav a {
            display: block;
            margin: 0;
            padding: 12px;
            font-size: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

    .container {
        padding: 10px;
    }

    .products {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .product {
        margin-bottom: 15px;
        transform: none !important;
    }

        .product:hover {
            transform: none !important;
        }

        .product img {
            height: 250px;
        }

    .intro h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* Small Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
    header img {
        width: 150px !important;
        margin: 0 auto 10px !important;
    }

    header h1 {
        font-size: 1.5rem !important;
        padding: 0 10px;
    }

    .product img {
        height: 200px;
    }

    .intro h2 {
        font-size: 1.3rem;
    }

    #advantages p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 10px;
    }
}