/* ============================================
   PRODUCTS PAGE - products-page.css
   ============================================ */

:root {
    --red: #e20613;
    --dark: #1a1a1a;
    --gray: #f5f5f5;
    --muted: #888;
    --white: #fff;
}

/* ---- HERO ---- */
.products-hero {
    padding: 140px 40px 60px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #fdf0f0 100%);
    position: relative;
    overflow: hidden;
}
.products-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(226,6,19,.04);
    pointer-events: none;
}
.products-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.15;
}
.products-hero h1 span { color: var(--red); }
.products-hero p {
    font-size: 16px;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- FILTER BAR ---- */
.products-filter-bar {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.products-filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 0;
}
.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    color: var(--muted);
    border-bottom: 3px solid transparent;
    transition: all .25s;
    white-space: nowrap;
}
.pf-btn i { font-size: 12px; }
.pf-btn:hover { color: var(--red); border-bottom-color: rgba(226,6,19,.3); }
.pf-btn.active { color: var(--red); border-bottom-color: var(--red); }

/* ---- SHOWCASE ---- */
.products-showcase {
    background: var(--gray);
    padding: 60px 0 80px;
    min-height: 600px;
}
.products-showcase-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}
.showcase-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
}

/* ---- SLIDER LAYOUT ---- */
.product-slider {
    display: grid;
    grid-template-columns: 120px minmax(0, 2fr) minmax(300px, 1.2fr) 120px;
    grid-template-rows: auto auto;
    gap: 0 32px;
    align-items: center;
}

/* Yan paket görselleri */
.product-side-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-side-img img {
    width: 120px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.15));
    opacity: .55;
    transition: opacity .3s;
}
.prev-product img { transform: rotate(-8deg) translateX(10px); }
.next-product img { transform: rotate(8deg) translateX(-10px); }

/* Ana görsel */
.product-main-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 24px 60px rgba(0,0,0,.12);
    background: #1a1a1a;
}
.product-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
}
.product-slide.active { opacity: 1; }
.product-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.product-slide.active img { transform: scale(1.03); }

/* Slider butonları */
.slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--dark);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: all .2s;
    z-index: 10;
}
.slider-btn:hover { background: var(--red); color: #fff; transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

/* Bilgi paneli */
.product-info-panel {
    position: relative;
    padding: 10px 20px;
    min-width: 0;
    overflow: hidden;
}
.product-info {
    display: none;
    animation: fadeUp .4s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.product-info.active { display: block; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.product-brand-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.product-name {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 14px;
}
.product-divider {
    width: 48px; height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 18px;
}
.product-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 28px;
    white-space: normal;
    word-wrap: break-word;
}
.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: gap .2s;
}
.product-cta:hover { gap: 14px; }
.product-cta i { transition: transform .2s; }
.product-cta:hover i { transform: translateX(4px); }

/* DOTS */
.product-dots {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 24px;
}
.pdot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none; cursor: pointer;
    transition: all .3s;
    padding: 0;
}
.pdot.active {
    background: var(--red);
    width: 28px;
    border-radius: 5px;
}

/* Boş durum */
.products-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}
.products-empty i {
    font-size: 56px;
    display: block;
    margin-bottom: 16px;
    color: #ddd;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .product-slider {
        grid-template-columns: 90px minmax(0, 2fr) minmax(260px, 1fr) 90px;
        gap: 0 20px;
    }
    .product-side-img img { width: 80px; height: 110px; }
}

@media (max-width: 1024px) {
    .product-slider {
        grid-template-columns: 70px minmax(0, 2fr) minmax(220px, 1fr) 70px;
    }
    .product-side-img img { width: 60px; height: 90px; }
}

@media (max-width: 768px) {
    .products-hero { padding: 120px 20px 40px; }
    .products-filter-inner { padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
    .products-filter-inner::-webkit-scrollbar { display: none; }
    .pf-btn { padding: 14px 16px; font-size: 12px; }

    .products-showcase-inner { padding: 0 20px; }
    .product-slider {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .product-side-img { display: none; }
    .product-info-panel { padding: 24px 0 0; }
    .product-name { font-size: 26px; }
    .product-dots { grid-column: 1; }
}

@media (max-width: 480px) {
    .product-main-visual { aspect-ratio: 1/1; border-radius: 16px; }
}
