body {
    font-family: 'Poppins', sans-serif;
    background-color: #fcfcfc;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero */
.hero-section.product-hero {
    position: relative; /* Z-index'in çalışması için relative veya absolute olması gerekir */
    height: 600px;
    /* Kavisli kısmı kaplayacak gradient */
    background: linear-gradient(45deg, #28a745, #28a745);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    z-index: 10; /* En üst katmanda olması için yüksek bir z-index değeri verdik */

    /* Alt kısmı kavisli yapmak için maskeleme */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path fill="black" d="M0,0 L0,70 Q500,100 1000,70 L1000,0 Z"></path></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path fill="black" d="M0,0 L0,70 Q500,100 1000,70 L1000,0 Z"></path></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
}


.hero-overlay h1 {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
    font-size: 1.4em;
    font-weight: 300;
}

/* Kategoriler */
.categories {
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.categories a {
    background-color: #e0e0e0;
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.categories a:hover {
    background-color: #28a745;
    color: #fff;
}

.categories a.active {
    background-color: #28a745;
    color: #fff;
}

/* Ürün Kartları */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px 60px;
}

.product-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-image {
    height: 220px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.product-content p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

/* Sayfalama */
.pagination-container {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 3em;
    }
    .hero-overlay p {
        font-size: 1.1em;
    }
    .product-content h2 {
        font-size: 1.2em;
    }
    .product-content p {
        font-size: 0.9em;
    }
}
