:root {
    --prod-red: #d90429;
    --prod-red-hover: #ef233c;
    --prod-red-glow: rgba(217, 4, 41, 0.4);
    --prod-red-neon: rgba(239, 35, 60, 0.25);
    --prod-dark: #111827;
    --prod-btn-dark: #1e293b;
    --prod-gray: #6b7280;
    --prod-card-bg: #ffffff;
}

.products-section {
    position: relative;
    width: 100%;
    padding: 80px 0 100px 0;
    font-family: 'Poppins', sans-serif;
    
    /* Doğrudan Ham Arka Plan Görseli (Perde/Overlay Yok) */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.products-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* -------------------------------------------
   HEADER AREA
--------------------------------------------- */
.products-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.products-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.products-tagline .tagline-line {
    width: 4px;
    height: 16px;
    background-color: var(--prod-red);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--prod-red-glow);
}

.products-tagline .tagline-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--prod-dark);
    text-transform: uppercase;
}

.products-title {
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--prod-dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.products-title .highlight-red {
    color: var(--prod-red);
    text-shadow: 0 0 12px rgba(217, 4, 41, 0.2);
}

.products-subdesc {
    font-size: 14px;
    color: var(--prod-gray);
    font-weight: 400;
    line-height: 1.6;
}

/* -------------------------------------------
   GRID & CARD DESIGN (842x998 FRAME RATIO)
--------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--prod-card-bg);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(217, 4, 41, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--prod-red-neon) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.5s ease;
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--prod-red);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 
                0 0 25px var(--prod-red-neon);
}

.product-card:hover::before {
    width: 260px;
    height: 260px;
    opacity: 1;
}

.card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 842 / 998;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .card-image-box img {
    transform: scale(1.06);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--prod-dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.product-card:hover .card-title {
    color: var(--prod-red);
    text-shadow: 0 0 10px rgba(217, 4, 41, 0.2);
}

.card-desc {
    font-size: 13px;
    color: var(--prod-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--prod-dark);
    font-size: 14px;
    margin-top: auto;
    transition: all 0.35s ease;
}

.product-card:hover .card-arrow-btn {
    background-color: var(--prod-red);
    border-color: var(--prod-red);
    color: #ffffff;
    transform: translateX(6px);
    box-shadow: 0 0 15px var(--prod-red-glow);
}

/* -------------------------------------------
   TÜM ÜRÜNLERİ İNCELE BUTTON DESIGN
--------------------------------------------- */
.products-footer {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.all-products-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--prod-btn-dark);
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    padding: 5px 6px 5px 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.all-products-btn .btn-text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-right: 22px;
}

.all-products-btn .btn-red-badge {
    width: 44px;
    height: 44px;
    background-color: var(--prod-red);
    border-radius: 0 50px 50px 0; /* Sağ tarafa tam uyumlu yarım kavis */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    margin-left: auto;
    transition: all 0.35s ease;
    clip-path: ellipse(85% 100% at 75% 50%); /* Görseldeki gibi oval kavisli kesim */
}

.all-products-btn:hover {
    transform: translateY(-3px);
    background-color: #0f172a;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 0 20px var(--prod-red-glow);
}

.all-products-btn:hover .btn-red-badge {
    background-color: var(--prod-red-hover);
    padding-left: 6px;
}

/* -------------------------------------------
   RESPONSIVE UYUM (TABLET & MOBİL)
--------------------------------------------- */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .products-section {
        padding: 50px 0;
    }

    .products-container {
        padding: 0 20px;
    }

    .products-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .all-products-btn {
        padding: 4px 5px 4px 22px;
    }

    .all-products-btn .btn-text {
        font-size: 11px;
        margin-right: 14px;
    }

    .all-products-btn .btn-red-badge {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
}