body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('images/headerbg.png');
    color: #333; /* Koyu gri yazı rengi */
    overflow-x: hidden;
}

.header {
    text-align: center;
    padding: 20px;
    background-color: #e9eff6; /* Açık mavi tonunda başlık arka plan */
}

.header img {
    max-width: 150px;
    border-radius: 50%;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 10px;
    margin-left: 10px;
    color: #1e3a5f; /* Soft koyu mavi tonu */
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
}

.back-arrow {
    
    margin-left: 20px;
    margin-right: 10px;
    
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.category {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 160px; /* Sabit yükseklik, görsele göre değiştirilebilir */
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Yazının okunmasını sağlar */
}

.category h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    padding: 0 5px;
    white-space: nowrap;
}


.category a {
    text-decoration: none;
    color: #007bff; /* Açık mavi bağlantı */
    display: block;
}

@media (max-width: 768px) {
    .category {
        flex: 1 1 100%;
    }
}
.masonry {
    column-count: 2;
    column-gap: 12px;
    padding: 10px;
    max-width: 1000px;
    margin: auto;
    background-image: url('images/headerbg.png');
}

.masonry-item {
    background-color: #222;
    display: inline-block;
    margin: 0 0 12px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    break-inside: avoid;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.masonry-item .overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    padding: 10px;
}
@media (max-width: 768px) {
    .masonry {
        column-count: 1;
    }
}

/* Aşağısı product*/
.back-section h1 {
    font-size: 24px;
    margin: 20px;
    color: #1e3a5f;
    font-family: 'Segoe UI', sans-serif;
}

.product-list.masonry {
    column-count: 2;
    column-gap: 16px;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.product.masonry-item {
    display: inline-block;
    background-color: #fff;
    border-radius: 10px;
    margin: 0 0 16px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    break-inside: avoid;
    transition: transform 0.2s ease;
}

.product.masonry-item:hover {
    transform: scale(1.02);
}

.product.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-info {
    padding: 10px;
    text-align: center;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 5px 0;
    color: #333;
}

.product-info p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}

.product-info .price {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
    margin-top: 5px;
    display: block;
}

@media (max-width: 768px) {
    .product-list.masonry {
        column-count: 1;
    }
}





/* Aşağısı footer*/
.footer {
    background-color: #e9eff6; /* Açık mavi arka plan */
    color: #333; /* Koyu gri yazı */
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
    position: relative;
    bottom: 0;
    max-width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Hafif üst gölge */
}

.footer strong {
    color: #333; /* GYRO HOSTING için koyu gri */
    font-weight: bold;
}

.footer a {
    color: #007bff; /* Mavi bağlantı */
    text-decoration: none;
}

.footer a:hover {
    color: #0056b3; /* Daha koyu mavi hover */
    text-decoration: underline;
}