/* =========================================================================
   PPF FİYAT TABLOSU STİLLERİ (Premium Tech Versiyon)
   ========================================================================= */

/* CSS Variables for better maintenance */
:root {
    --bg-dark: #121212;
    --text-light: #ffffff;
    --red-accent: #ff0015; /* Ana kırmızı renk */
    --green-price: #ffffff; /* Fiyatlar için teknolojik yeşil */
    --border-color: #333;
    --shadow-color: rgba(255, 0, 21, 0.4);
}

.price-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
}

.ppf-price-container {
    max-width: 1350px;
    margin: 0 auto;
    font-family: 'Chakra Petch', sans-serif;
    color: var(--text-light);
    border-radius: 10px;
    /* Daha ince, modern bir gölge */
    box-shadow: 0 0 30px var(--shadow-color);
    overflow: hidden;
    background-color: #1a1a1a; /* Hafifçe daha açık bir arka plan */
}

/* Başlık Alanı */
.ppf-header-box {
    background-color: var(--bg-dark);
    color: var(--red-accent);
    padding: 30px 40px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--red-accent);
}

.ppf-title {
    font-size: clamp(1.8rem, 3.5vw, 30px);
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    /* Neon Etkisi */
    text-shadow: 0 0 5px rgba(255, 0, 21, 0.8), 0 0 15px rgba(255, 0, 21, 0.4); 
}

.ppf-logo {
    position: absolute;
    top: 15px;
    right: 25px;
    background-color: var(--red-accent);
    color: var(--bg-dark);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 5px var(--red-accent);
}

.ppf-sub-info {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.8;
    color: #ccc;
}

/* -------------------------------------
   Tablo Stilleri
   ------------------------------------- */
.table-wrapper {
    overflow-x: auto; /* Yatay kaydırma gerekirse */
    width: 100%;
}

.ppf-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Tabletlerde bile okunabilir kalsın */
}

.ppf-price-table th,
.ppf-price-table td {
    padding: 18px 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.ppf-price-table thead th {
    background-color: #222; 
    color: var(--red-accent);
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--red-accent);
}

/* Tablo verileri */
.ppf-price-table tbody td {
    color: var(--text-light);
    font-weight: 500;
}

/* İlk sütun (Vehicle Size) öne çıksın */
.ppf-price-table tbody tr td:first-child {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--red-accent);
    background-color: #2a2a2a;
    font-weight: 700;
}

.ppf-price-table tbody tr:hover {
    background-color: #262626; 
    transition: background-color 0.3s;
}

/* Fiyat sütunları için özel renk */
.ppf-price-table tbody tr td:nth-child(2),
.ppf-price-table tbody tr td:nth-child(3) {
    color: var(--green-price); 
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
}

/* -------------------------------------
   Bilgi ve Notlar Bölümü
   ------------------------------------- */
.ppf-info-section {
    display: flex;
    justify-content: space-between;
    padding: 25px 40px;
    background-color: #1a1a1a;
    color: #fcfcfc;
    font-size: 15px;
    line-height: 1.6;
    gap: 40px;
    border-top: 1px solid var(--border-color);
}
.ppf-info-section p {
    margin: 0 0 10px 0;
}

.ppf-size-calculation {
    flex: 2;
    text-align: left;
    padding-right: 40px;
    border-right: 1px dashed var(--border-color);
}
.ppf-size-calculation strong {
    color: var(--red-accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    display: block; 
    margin-bottom: 5px;
}
.size-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}
.size-list li {
    margin-bottom: 5px;
    padding-left: 1.5em; 
    text-indent: -1.5em; 
}
.size-list li::before {
    content: '•'; 
    color: var(--green-price); /* Yeşil bullet noktası */
    display: inline-block;
    width: 1.5em;
    font-weight: bold;
}

.ppf-disclaimer {
    flex: 3;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tax-info {
    font-weight: 600;
    color: var(--green-price); 
    margin-bottom: 15px;
    display: block;
    font-style: italic;
    font-size: 1.05em;
}

.ppf-note {
    margin-top: 0;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: left; /* Notlar soldan başlasın */
    color: #ccc;
}

.ppf-highlight {
    font-weight: 700;
    color: var(--red-accent);
    display: block;
    margin-bottom: 5px;
}

/* =========================================================================
   DUYARLILIK (RESPONSIVE) AYARLARI - MOBİL GÖRÜNÜM (650px ve altı)
   ========================================================================= */
@media screen and (max-width: 650px) {
    .ppf-price-container {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ppf-header-box {
        padding: 20px 20px;
    }
    
    .ppf-logo {
        right: 10px;
    }

    /* Tabloyu dikey yığma (Block Display) */
    .ppf-price-table,
    .ppf-price-table thead,
    .ppf-price-table tbody,
    .ppf-price-table th,
    .ppf-price-table td,
    .ppf-price-table tr {
        display: block;
        min-width: unset;
    }
    
    .ppf-price-table {
        min-width: 100%; 
    }

    /* Başlık satırını gizle */
    .ppf-price-table thead {
        display: none;
    }

    /* Her bir satırı düzenle - Kart görünümü */
    .ppf-price-table tr {
        border: 1px solid var(--red-accent); /* Kırmızı kenarlık */
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(255, 0, 21, 0.1);
        overflow: hidden;
    }
    
    /* Her bir hücreyi düzenle */
    .ppf-price-table td {
        border: none;
        border-bottom: 1px dashed var(--border-color);
        position: relative;
        padding-left: 55%; 
        text-align: right;
        font-size: 1rem !important;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* Mobil başlık etiketini (data-label) göster */
    .ppf-price-table td:before {
        content: attr(data-label-en); 
        position: absolute;
        left: 15px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 700;
        text-align: left;
        color: var(--red-accent);
        font-family: 'Orbitron', sans-serif;
        font-size: 0.95rem;
    }

    /* İlk sütunun (M, L, XL) mobil görünümünü iyileştir */
    .ppf-price-table tbody tr td:first-child {
        text-align: center;
        font-size: 1.5rem !important;
        background-color: #222;
        padding-left: 15px; 
        border-radius: 8px 8px 0 0;
        color: var(--red-accent);
        text-shadow: 0 0 5px rgba(255, 0, 21, 0.5);
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .ppf-price-table tbody tr td:first-child:before {
        content: none; 
    }

    /* Bilgi Bölümü Düzenlemesi */
    .ppf-info-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .ppf-size-calculation {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px dashed var(--border-color);
        padding-bottom: 20px;
        margin-bottom: 0;
        text-align: left;
    }
    
    .ppf-disclaimer {
        text-align: left;
    }

    .ppf-note {
        border-top: none;
        padding-top: 0;
    }
}
