/* Products Page */
.products-hero {
    background: #0d1117;
}

.quality-features {
    padding: 60px 0;
    background: #0d1117;
    color: #f1f1f1;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    text-align: center;
}

.quality-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-5px);
}

.quality-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    color: #FFD700;
}

.products-detailed {
    padding: 100px 0;
    background: #111;
    color: #f1f1f1;
}

.products-detailed-grid {
    display: grid;
    gap: 60px;
}

.product-detailed-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.product-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.product-detailed-image {
    height: 300px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.product-detailed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the area without distortion */
    display: block;
    transition: transform 0.3s ease;
}

/* Add a subtle zoom effect on hover for the image */
.product-detailed-card:hover .product-detailed-image img {
    transform: scale(1.05);
}

.product-detailed-content {
    padding: 40px;
}

.product-description {
    color: #d1d5db;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.product-features ul,
.product-applications ul {
    list-style: none;
    margin-top: 12px;
}

.product-features li,
.product-applications li {
    padding: 6px 0;
    color: #f1f1f1;
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '•';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-applications li::before {
    content: '•';
    color: #2196F3;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-specifications {
    background: #222;
    padding: 24px;
    border-radius: 12px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.spec-label {
    color: #9ca3af;
}

.spec-value {
    font-weight: 600;
    color: #fff;
}

.products-cta {
    padding: 100px 0;
    background: #0d1117;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====================================================== */
/* Responsive Tasarım */
/* ====================================================== */
@media (max-width: 992px) {
    .product-detailed-card {
        grid-template-columns: 1fr; /* 2 sütundan 1 sütuna düşürür */
    }

    .product-detailed-image {
        height: 250px; /* Görsel yüksekliğini ayarlar */
    }
    
    .product-detailed-content {
        padding: 30px; /* İç boşluğu azaltır */
    }
    
    .product-details-grid {
        grid-template-columns: 1fr; /* 2 sütundan 1 sütuna düşürür */
        gap: 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr; /* 2 sütundan 1 sütuna düşürür */
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .quality-grid {
        gap: 20px;
    }
    .products-detailed {
        padding: 60px 0; /* Dikey boşluğu azaltır */
    }
    .product-detailed-card {
        gap: 20px;
    }
    .product-detailed-image {
        height: 200px; /* Görsel yüksekliğini daha da düşürür */
    }
    .product-detailed-content {
        padding: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .btn {
        width: 80%; /* Buton genişliğini ayarlar */
    }
}

@media (max-width: 480px) {
    .product-detailed-image {
        height: 180px;
    }
    .product-detailed-content {
        padding: 15px;
    }
    .product-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .products-cta {
        padding: 40px 0;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
}