body {
    font-family: sans-serif;
    margin: 0;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}

header {
    background-color: #000;
    padding: 25px 20px; /* Daha böyük header yuxarı/aşağı boşluğu */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.logo img {
    height: 55px; /* Daha böyük loqo */
}

nav.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav.desktop-nav ul li {
    margin-left: 20px; /* Əvvəlki kimi */
}

nav.desktop-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px; /* Əvvəlki kimi */
    transition: color 0.3s ease;
}

nav.desktop-nav ul li a:hover {
    color: #0ff;
}

.mobile-nav {
    display: none;
}

.hero {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a1a1a;
}

.hero h1 {
    font-size: 2.2em; /* Bir az böyük başlıq */
    margin-bottom: 18px; /* Bir az az boşluq */
    color: #0ff;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.hero p {
    font-size: 1.1em; /* Bir az böyük yazı */
    color: #eee;
}

.categories {
    padding: 40px 20px;
    text-align: center;
}

.categories h2 {
    font-size: 2em;
    color: #0ff;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    margin-bottom: 20px;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 25px; /* Kateqoriyalar arasında daha çox boşluq */
    padding: 20px;
    overflow-x: auto;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
    width: 180px; /* PC üçün daha böyük en */
    height: 180px; /* PC üçün daha böyük hündürlük (kvadrat üçün) */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.category-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
    z-index: 2;
}

.category-item:hover .overlay {
    opacity: 1;
}

.category-item .overlay p {
    color: #0ff;
    font-size: 1.2em;
    text-shadow: 0 0 5px #0ff;
}

.category-item h3 {
    color: #fff;
    font-size: 1.1em; /* Bir az böyük yazı */
    text-align: center;
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px; /* Bir az böyük iç boşluğu */
    border-radius: 8px;
}

.product-section {
    padding: 40px 20px;
    text-align: center;
    display: none;
}

.product-section h2 {
    font-size: 2em;
    color: #0ff;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Məhsullar arasında daha çox boşluq */
    padding: 20px;
}

.product-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-align: center;
}

.product-item img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Həmişə kvadrat */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px; /* Bir az çox boşluq */
}

.product-item h3 {
    color: #eee;
    font-size: 1.1em; /* Bir az böyük yazı */
    margin-bottom: 10px;
}

.buy-button {
    background-color: #0ff;
    color: #111;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #09d;
}

.about, .contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #1a1a1a;
}

.about h2, .contact h2 {
    font-size: 2em;
    color: #0ff;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    margin-bottom: 20px;
}

.about p, .contact p {
    color: #eee;
    font-size: 1.1em;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 25px 20px; /* Bir az böyük footer boşluğu */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px; /* Footer elementləri arasında boşluq */
    border-top: 1px solid #222;
    text-align: center;
}

.footer-logo img {
    height: 45px; /* Bir az böyük loqo */
}

.footer-categories h3, .footer-links h3 {
    color: #0ff;
    font-size: 1.1em; /* Bir az böyük başlıq */
    margin-bottom: 10px;
}

.footer-categories ul, .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories ul li, .footer-links ul li {
    margin-bottom: 8px;
}

.footer-categories ul li a, .footer-links ul li a {
    color: #eee;
    text-decoration: none;
    font-size: 0.9em; /* Bir az böyük yazı */
    transition: color 0.3s ease;
}

.footer-categories ul li a:hover, .footer-links ul li a:hover {
    color: #0ff;
}

.footer-copyright {
    grid-column: 1 / -1;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

/* Mobil görünüş üçün stillər */
@media (max-width: 768px) {
    header {
        padding: 20px 15px; /* Bir az böyük mobil header boşluğu */
    }

    .logo img {
        height: 40px; /* Mobil loqo ölçüsü */
    }

    .mobile-nav {
        position: fixed;
        top: 20px;
        right: 15px;
        font-size: 1.4em; /* Bir az böyük mobil ikon */
    }

    .hero {
        padding: 50px 15px; /* Mobil hero boşluğu */
    }

    .hero h1 {
        font-size: 2em; /* Mobil başlıq ölçüsü */
    }

    .categories {
        padding: 30px 15px; /* Mobil kateqoriya boşluğu */
    }

    .categories h2 {
        font-size: 1.8em; /* Mobil kateqoriya başlıq ölçüsü */
    }

    .category-grid {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 20px; /* Mobil kateqoriyalar arası boşluq */
        padding: 15px;
    }

    .category-item {
        width: 150px; /* Mobil üçün kateqoriya eni */
        height: 150px; /* Mobil üçün kateqoriya hündürlüyü (kvadrat) */
        margin-right: 15px;
        flex-shrink: 0;
    }

    .category-item h3 {
        font-size: 1em; /* Mobil kateqoriya adı ölçüsü */
        padding: 6px; /* Mobil kateqoriya adı iç boşluğu */
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobil üçün 2 sütun */
        gap: 15px; /* Mobil məhsullar arası boşluq */
        padding: 15px;
    }

    .product-item {
        padding: 15px; /* Mobil məhsul iç boşluğu */
    }

    .product-item h3 {
        font-size: 1em; /* Mobil məhsul adı ölçüsü */
    }

    .buy-button {
        padding: 8px 16px; /* Mobil düymə ölçüsü */
        font-size: 0.9em; /* Mobil düymə yazı ölçüsü */
    }

    .about, .contact {
        padding: 30px 15px; /* Mobil haqqında/əlaqə boşluğu */
    }

    .about h2, .contact h2 {
        font-size: 1.8em; /* Mobil haqqında/əlaqə başlıq ölçüsü */
    }

    .about p, .contact p {
        font-size: 0.9em; /* Mobil haqqında/əlaqə yazı ölçüsü */
    }

    footer {
        padding: 20px; /* Mobil footer boşluğu */
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Mobil footer sütunları */
        gap: 10px; /* Mobil footer elementləri arası boşluq */
    }

    .footer-logo img {
        height: 35px; /* Mobil footer loqo ölçüsü */
    }

    .footer-categories h3, .footer-links h3 {
        font-size: 1em; /* Mobil footer başlıq ölçüsü */
        margin-bottom: 8px;
    }

    .footer-categories ul li, .footer-links ul li {
        margin-bottom: 6px;
    }

    .footer-categories ul li a, .footer-links ul li a {
        font-size: 0.8em; /* Mobil footer yazı ölçüsü */
    }

    .footer-copyright {
        margin-top: 15px;
        font-size: 0.8em; /* Mobil footer müəllif hüquqları yazısı */
    }

    .mobile-menu {
        font-size: 1em; /* Mobil menyu yazı ölçüsü */
    }

    .mobile-menu ul li a {
        font-size: 1.1em; /* Mobil menyu bağlantı yazı ölçüsü */
    }
}