
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
     background:#f6f3f1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 3px solid black;
    background: #f2f2f2;
    position: relative;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    width: 100%;
}

.nav-item {
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.nav-item:hover {
    transform: scale(1.1);
    color: dimgray;
}

.nav-item:active {
    transform: scale(0.95);
    opacity: 0.7;
}

.logo img {
    width: 200px;
    transition: 0.3s ease;
    cursor: pointer;
}

.logo img:hover { transform: scale(1.1); opacity: 0.9; }
.logo img:active { transform: scale(0.95); opacity: 0.7; }

.mobile-only { display: none; }
.burger { display: none; }


.page-title {
    text-align: center;
    margin: 40px 0 20px;
}

.page-title h1 {
    font-size: 50px;
}

.count {
    color: gray;
    font-size: 18px;
}


.products {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 80px;
}

.product {
    text-align: center;
}

.product img {
    width: 100%;
    background: #f5f5f5;
    transition: 0.35s ease;
    border-radius: 6px;
    cursor: pointer;
}


.product img:hover {
    transform: scale(1.06);
    filter: brightness(1.05);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.product img:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}

.product h3 {
    margin-top: 14px;
    font-size: 20px;
    color: #111;
}

.product .price {
    font-size: 18px;
    color: #555;
}

@font-face{
    font-family:"mapolice";
    src:url("fonts/mapolice.ttf") format("truetype");
    font-weight:normal;
    font-style:normal; 
}

.nav-item{
    font-family: "mapolice", sans-serif;
}

.page-title h1{
    font-family:"mapolice",sans-serif;
}


@media (max-width: 900px) {

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .desktop-only { display: none; }
    .mobile-only { display: block; }
    .nav-links { display: none; }
    .burger { display: block; font-size: 40px; cursor: pointer; }
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
    text-align: center;
    width: 100%;
}