/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #fff;
    color: #111;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    flex-wrap: wrap;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: black;
}

/* SEARCH */
.search-bar {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

/* HERO */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-content button {
    padding: 12px 25px;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.hero-content button:hover {
    background: #333;
}

/* CATEGORIES */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 20px;
    padding: 40px 5%;
}

.category-card {
    background: #f5f5f5;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

/* PRODUCTS */
.products {
    padding: 50px 5%;
}

.products h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 25px;
}

/* PRODUCT CARD */
.product-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* IMAGE */
.product-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* TEXT */
.product-card h3 {
    font-size: 16px;
    margin: 10px 0;
}

.product-card p {
    font-weight: bold;
    margin-bottom: 10px;
}

/* BUTTON */
button {
    padding: 10px 15px;
    border: none;
    background: black;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #333;
}

/* PROMO */
.promo {
    background: black;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* TRUST */
.trust {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background: #f9f9f9;
    flex-wrap: wrap;
    gap: 15px;
}

/* FOOTER */
.footer {
    background: #111;
    color: white;
    padding: 40px 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

/* MOBILE */
@media(max-width: 768px){

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .search-bar {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .product-image {
        height: 180px;
    }
}

/* DESKTOP */
@media(min-width: 1024px){
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}