/* =========================================================
   ÜRÜNLERİMİZ SAYFASI CSS
   ========================================================= */

/* GENEL KONTEYNER VE SEKSİYON DÜZENİ */
.phm-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.phm-section {
    padding: 70px 0;
}

.phm-sub-heading {
    display: inline-block;
    color: #FF6B00;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.phm-main-heading {
    color: #0A2B5E;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 15px;
}

/* ---------------------------------------------------------
   1. HERO BANNER & BREADCRUMB
   --------------------------------------------------------- */
.phm-page-banner {
    position: relative;
    padding: 90px 0 70px 0;
    background-color: #0A2B5E;
    color: #FFFFFF;
    overflow: hidden;
    text-align: center;
}

.phm-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.75;
}

.phm-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 43, 94, 0.40) 0%, rgba(6, 26, 58, 0.65) 100%);
    z-index: 2;
}

.phm-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.phm-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 43, 94, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.88rem;
    margin-bottom: 22px;
    white-space: nowrap;
}

.phm-breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease;
}

.phm-breadcrumb a:hover {
    color: #FF6B00;
}

.phm-breadcrumb-sep {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}

.phm-breadcrumb-current {
    color: #FF6B00;
    font-weight: 700;
}

.phm-banner-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.phm-banner-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #F8FAFC;
    max-width: 760px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------
   2. FİLTRELEME BAR ALANI
   --------------------------------------------------------- */
.phm-catalog-section {
    background-color: #F8FAFC;
}

.phm-filter-wrapper {
    text-align: center;
    margin-bottom: 45px;
}

.phm-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.phm-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #0A2B5E;
    border: 1px solid #E2E8F0;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(10, 43, 94, 0.03);
}

.phm-filter-btn i {
    color: #FF6B00;
}

.phm-filter-btn:hover,
.phm-filter-btn.active {
    background: #0A2B5E;
    color: #FFFFFF;
    border-color: #0A2B5E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 43, 94, 0.15);
}

.phm-filter-btn.active i,
.phm-filter-btn:hover i {
    color: #FF6B00;
}

/* ---------------------------------------------------------
   3. ÜRÜN LİSTELEME GRIDI & KART TASARIMI
   --------------------------------------------------------- */
.phm-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.phm-grid-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.phm-card {
    /* Kartın tamamı tıklanabilir (<a>) */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 12px 30px rgba(10, 43, 94, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.phm-card:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.55);
    outline-offset: 3px;
}

.phm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(10, 43, 94, 0.12);
    border-color: #FF6B00;
}

/* KULAK FORMU DIŞ SİLÜETİ */
.phm-ear-silhouette {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.25;
    z-index: 1;
}

.phm-ear-border-svg {
    width: 100%;
    height: 100%;
}

.phm-ear-path {
    fill: none;
    stroke: rgba(255, 107, 0, 0.3);
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
}

/* KART ÜST ROZETLERİ */
.phm-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
}

.phm-cat-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0A2B5E;
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phm-feature-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #FF6B00;
    background: #FFF7ED;
    border: 1px solid rgba(255, 107, 0, 0.25);
    padding: 6px 12px;
    border-radius: 8px;
}

/* 3D ÜRÜN SAHNESİ */
.phm-stage {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 2;
}

.phm-product-img {
    max-width: 100%;
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 12px 20px rgba(10, 43, 94, 0.15));
}

.phm-card:hover .phm-product-img {
    transform: scale(1.08) translateY(-4px);
}

.phm-img-shadow {
    position: absolute;
    bottom: 10px;
    width: 65%;
    height: 15px;
    background: rgba(10, 43, 94, 0.12);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
}

/* KART DOKUSAL DETAYLAR */
.phm-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.phm-title-group {
    margin-bottom: 12px;
}

.phm-sub-brand {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FF6B00;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

.phm-model-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0A2B5E;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

.phm-desc {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ÖZELLİK LİSTESİ */
.phm-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phm-spec-list li {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phm-spec-list li i {
    color: #FF6B00;
    font-size: 0.95rem;
}

/* BUTON ALANI */
.phm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #0A2B5E;
    color: #FFFFFF;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.phm-card:hover .phm-btn {
    background: #FF6B00;
    color: #FFFFFF;
}

/* BOŞ DURUM / HATA / FİLTRE SONUCU YOK */
.phm-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 20px;
    color: #64748B;
}

.phm-empty-state i {
    font-size: 2.2rem;
    color: #FF6B00;
    margin-bottom: 12px;
    display: block;
}

.phm-empty-state p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

/* ---------------------------------------------------------
   4. ALT DANIŞMA BANNERI
   --------------------------------------------------------- */
.phm-bottom-banner {
    background: linear-gradient(135deg, #0A2B5E 0%, #061A3A 100%);
    border-radius: 24px;
    padding: 40px 50px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(10, 43, 94, 0.15);
}

.phm-banner-info {
    display: flex;
    align-items: center;
    gap: 22px;
}

.phm-banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.15);
    color: #FF6B00;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.phm-banner-text h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.phm-banner-text p {
    font-size: 0.95rem;
    color: #CBD5E1;
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.phm-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF6B00;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.phm-banner-btn:hover {
    background: #E05D00;
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* ---------------------------------------------------------
   RESPONSIVE UYUMLULUK
   --------------------------------------------------------- */
@media (max-width: 1100px) {
    .phm-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phm-bottom-banner {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }

    .phm-banner-info {
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .phm-products-grid {
        grid-template-columns: 1fr;
    }

    .phm-banner-title {
        font-size: 2.1rem;
    }

    .phm-filter-buttons {
        flex-direction: column;
    }

    .phm-filter-btn {
        width: 100%;
        justify-content: center;
    }
}