/* ========================================
   PRODUCTS SECTION - MODERN CARD DESIGN
   ======================================== */

/* Section Genel */
.products-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Başlık Bölümü */
.products-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 40px;
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.products-badge i {
    font-size: 0.875rem;
}

.products-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.products-lead {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

/* Ürün Kartları */

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.25);
}

/* Ürün Görsel Alanı */
.product-image-wrapper {
    position: relative;
    background: #f8fafc;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: 320px;
    overflow: hidden;
}

.product-image-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-card:hover .product-image-placeholder {
    transform: scale(1.03) rotate(2deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.18));
}

.product-image-placeholder i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.product-image-wrapper .product-image {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Ürün Badge */
.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
}

.product-badge-eco {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-badge-compact {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.product-badge-pro {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.product-badge-premium {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.product-badge-health {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.product-badge-mobile {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.product-badge-smart {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Ürün İçerik */
.product-content {
    padding: 0.85rem;
    /* 1rem'den 0.85rem'e */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 0.95rem;
    /* 1rem'den 0.95rem'e */
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 0.35rem;
    /* 0.5rem'den 0.35rem'e */
    min-height: 0;
}

.product-description {
    font-size: 0.75rem;
    /* 0.8125rem'den 0.75rem'e */
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 0.75rem;
    /* 1rem'den 0.75rem'e */
    flex-grow: 1;
}

/* Ürün Özellikleri */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #475569;
}

.product-feature-item i {
    color: #10b981;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.product-feature-item span {
    font-weight: 500;
}

/* Ürün Butonu */
.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    /* Padding azaltıldı */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    /* 10px'den 8px'e */
    font-size: 0.75rem;
    /* 0.8125rem'den 0.75rem'e */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    margin-top: auto;
}

.product-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), #1d4ed8);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

.product-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.product-btn:hover i {
    transform: translateX(3px);
}

/* Fiyat Bölümü */
/* Fiyat Bölümü */
/* Fiyat Bölümü */
.product-price-section {
    margin-bottom: 1rem;
    padding: 0.75rem 0 0.5rem 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.5rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.product-price .price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.product-price .price-currency {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
}

.product-price .price-vat {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 0.25rem;
    transform: translateY(-2px);
}

/* Contact State Styles */
.product-contact-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.contact-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    font-weight: 600;
    font-size: 0.875rem;
}

.contact-main i {
    color: #3b82f6;
}

.contact-sub {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Tüm Ürünleri Görüntüle Butonu */
.products-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.products-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.products-view-all-btn:hover::before {
    left: 100%;
}

.products-view-all-btn:hover {
    background: linear-gradient(135deg, #334155, #475569);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

.products-view-all-btn i {
    transition: transform 0.3s ease;
}

.products-view-all-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Tasarım */
@media (max-width: 1199px) {
    .products-main-title {
        font-size: 1.75rem;
    }

    .products-lead {
        font-size: 0.9375rem;
    }

    .product-title {
        font-size: 1.0625rem;
    }
}

@media (max-width: 991px) {
    .products-section {
        padding: 3rem 0;
    }

    .products-main-title {
        font-size: 1.625rem;
    }

    .products-lead {
        font-size: 0.9rem;
    }

    .product-image-wrapper {
        padding: 1.25rem;
        min-height: 200px;
        max-height: 300px;
    }

    .product-image-wrapper .product-image {
        max-height: 280px;
    }

    .product-image-placeholder {
        width: 70px;
        height: 70px;
    }

    .product-image-placeholder i {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .products-section {
        padding: 2.5rem 0;
    }

    .products-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .products-main-title {
        font-size: 1.5rem;
    }

    .products-lead {
        font-size: 0.875rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-image-wrapper {
        padding: 1rem;
        min-height: 180px;
        max-height: 280px;
    }

    .product-image-wrapper .product-image {
        max-height: 250px;
    }

    .product-image-placeholder {
        width: 80px;
        height: 80px;
    }

    .product-image-placeholder i {
        font-size: 2rem;
    }

    .product-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }

    .product-content {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 1rem;
        min-height: auto;
    }

    .product-description {
        font-size: 0.8125rem;
    }

    .products-view-all-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 575px) {
    .products-section {
        padding: 2rem 0;
    }

    .products-main-title {
        font-size: 1.375rem;
    }

    .products-lead {
        font-size: 0.8125rem;
    }

    .product-image-wrapper {
        padding: 1rem;
        min-height: 160px;
        max-height: 260px;
    }

    .product-image-wrapper .product-image {
        max-height: 220px;
    }

    .product-image-placeholder {
        width: 70px;
        height: 70px;
    }

    .product-image-placeholder i {
        font-size: 1.75rem;
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 0.9375rem;
    }

    .product-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .product-features {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .product-feature-item {
        font-size: 0.75rem;
    }

    .product-btn {
        padding: 0.65rem 1rem;
        font-size: 0.8125rem;
    }

    .products-view-all-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid Spacing Ayarları */
.products-section .row.g-4 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

@media (max-width: 767px) {
    .products-section .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* ========================================
   FİLTRE VE ARAMA - MODERN TASARIM
   ======================================== */
.products-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-chip {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.4s ease;
}

.filter-chip:hover::before {
    left: 100%;
}

.filter-chip:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.filter-chip.active {
    background: linear-gradient(135deg, var(--primary-color, #182d50), var(--primary-light, #1f3a5f));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(24, 45, 80, 0.25);
}

.filter-chip.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 45, 80, 0.35);
}

/* Arama Kutusu */
.filter-search {
    position: relative;
    flex-shrink: 0;
}

.filter-search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.875rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.filter-search input {
    width: 260px;
    max-width: 100%;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.625rem 1rem 0.625rem 2.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-search input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.filter-search input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-search:focus-within::before {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 991px) {
    .products-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }

    .filter-group {
        justify-content: center;
    }

    .filter-search {
        width: 100%;
    }

    .filter-search input {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .products-filter-bar {
        padding: 1rem;
        border-radius: 12px;
    }

    .filter-chip {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .filter-search input {
        padding: 0.5rem 0.875rem 0.5rem 2.5rem;
        font-size: 0.8125rem;
    }

    .filter-search::before {
        left: 0.875rem;
        font-size: 0.8125rem;
    }
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}