:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-dark: #34495e;
    --text-medium: #7f8c8d;
}

/* 1. Body'yi flex yapıyoruz ve minimum yükseklik veriyoruz */
/* Varsayılan body ayarı */
body {
    display: flex;
    flex-direction: column;
    margin: 0;
}
.product-detail-section img {
    width: 100%;
    height: auto; /* Sabit yükseklik yerine otomatik */
    max-height: 400px; /* Maksimum yükseklik belirle */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Ana içerik alanını genişlet */
.product-detail-section {
    padding: 2rem 1rem;
    margin-top: 75px;
}
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

.product-detail img {
    width: 100%;
    height: auto; /* Sabit yükseklik yerine otomatik */
    max-height: 400px; /* Maksimum yükseklik belirle */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
}

.description {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ÖZELLİK LİSTESİ */
.features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.features li::before {
    content: "✓";
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 900;
}

/* TEKNİK ÖZELLİKLER (DİKEY TABLO) */
.vertical-specs {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 2rem;
}

.model-block {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.model-title {
    background: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.model-block table {
    width: 100%;
    border-collapse: collapse;
}

.model-block th,
.model-block td {
    text-align: left;
    padding: 10px 16px;  /* Hücre içindeki boşluğu ayarladık */
    border-bottom: 1px solid #eee;
}

.model-block th {
    width: 40%;
    background-color: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
}

.model-block tr:last-child td {
    border-bottom: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-detail img {
        height: 350px;
    }

    .product-info h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .back-button {
        width: 100%;
        justify-content: center;
    }

    .model-title {
        font-size: 1.1rem;
    }

    .model-block th,
    .model-block td {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .product-detail img {
        height: 250px;
    }

    .features li {
        font-size: 0.95rem;
        gap: 8px;
    }

    .features li::before {
        font-size: 1rem;
    }
}

/* KAPASİTE TABLOSU */

#ozelTablo, #ozelTablo2 {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    margin: 30px 0;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Başlık Stili */
#ozelTablo .section-title, #ozelTablo2 .section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Hücre Stilleri */
#ozelTablo th, #ozelTablo td, #ozelTablo2 th, #ozelTablo2 td {
    border: 1px solid #ccc;
    padding: 12px 15px;
    text-align: center;
}

/* Başlık Hücreleri */
#ozelTablo th, #ozelTablo2 th {
    background-color: #f3f3f3;
    font-weight: bold;
}

/* Satır Gri Arka Plan (Çift Satırlar) */
#ozelTablo tr:nth-child(even), #ozelTablo2 tr:nth-child(even) {
    background-color: #f2f2f2;
}
/* Başlık Arka Plan Rengi */
#ozelTablo thead th, #ozelTablo2 thead th {
    background-color: #3498db;
    color: white;
}

/* Responsive Ayarları */
@media (max-width: 768px) {
    #ozelTablo th, #ozelTablo td, #ozelTablo2 th, #ozelTablo2 td {
        padding: 8px;
    }
}



/* GERİ DÖN BUTONU */
.back-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background: var(--secondary-color);
    color: white !important;
    border-radius: 6px;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 2rem;
    text-decoration: none;
    font-size: 1rem;
}

.back-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.product-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;  /* Boşlukları 20px yapmak için gap'ı 2rem yapıyoruz */
    margin-top: 2rem;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.product-item-content img {
    flex: 1;
    max-width: 300px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-item-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* DİVAL 600 KAPASİTE TABLOLARI ÖZEL STİLLERİ */
.capacity-tables {
    margin: 2.5rem 0;
    padding: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.capacity-tables .section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid var(--secondary-color);
}

.table-container {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}

.custom-table thead {
    background: var(--secondary-color);
    color: white;
}

.custom-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-table th:last-child {
    border-right: none;
}

.custom-table td {
    padding: 0.9rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    color: var(--text-dark);
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table td:last-child {
    border-right: none;
}

.custom-table tr:nth-child(even) {
    background-color: #f8fafc;
}

/* ÖZEL BAŞLIK STİLLERİ */
.custom-table th[rowspan="2"] {
    background: var(--primary-color);
    font-size: 1.1rem;
    vertical-align: middle;
}

/* RESPONSIVE AYARLAR */
@media (max-width: 992px) {
    .capacity-tables .section-title {
        font-size: 1.6rem;
        padding: 1.2rem 1.5rem;
    }
    
    .custom-table th {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .custom-table td {
        padding: 0.7rem;
    }
}

@media (max-width: 768px) {
    .table-container {
        padding: 0 1rem 1rem;
    }
    
    .custom-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .capacity-tables .section-title {
        font-size: 1.4rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .capacity-tables {
        margin: 1.5rem 0;
        border-radius: 6px;
    }
    
    .custom-table th,
    .custom-table td {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .custom-table th[rowspan="2"] {
        font-size: 1rem;
    }
}