/**
 * Hizmet Ücretlerimiz Sayfası - Özel CSS
 */

.pricelist-page {
    padding: 3rem 0 4rem;
    background: var(--gray-50);
    min-height: 100vh;
}

.pricelist-container {
    max-width: 1155px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pricelist-intro {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-base);
}

.pricelist-intro h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pricelist-intro p {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.pricelist-intro p:last-child {
    margin-bottom: 0;
}

.pricelist-intro p strong {
    color: var(--navy-900);
    font-weight: 600;
}

.pricelist-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pricelist-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pricelist-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pricelist-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pricelist-card-header {
    background: linear-gradient(135deg, var(--accent-base) 0%, var(--accent-light) 100%);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricelist-card-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pricelist-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px dotted var(--gray-300);
}

.pricelist-item:last-child {
    border-bottom: none;
}

.pricelist-item-name {
    flex: 1;
    font-size: 1rem;
    color: var(--gray-800);
    line-height: 1.6;
    font-weight: 500;
    padding-right: 1rem;
}

.pricelist-item-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: italic;
    display: block;
    margin-top: 0.25rem;
    font-weight: 400;
}

.pricelist-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    white-space: nowrap;
    text-align: right;
    min-width: 120px;
}

.pricelist-header {
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricelist-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: none;
}

.pricelist-header p {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.pricelist-note {
    background: var(--gray-50);
    padding: 1rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-base);
}

.pricelist-note p {
    font-size: 0.8125rem;
    color: var(--gray-700);
    margin: 0.25rem 0;
    line-height: 1.6;
    font-style: normal;
}

.pricelist-cta {
    background: var(--gray-50);
    border-radius: 0;
    padding: 2rem;
    margin-top: 3rem;
    text-align: left;
    border-left: 3px solid var(--accent-base);
}

.pricelist-cta h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 1rem;
    text-transform: none;
}

.pricelist-cta p {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pricelist-cta .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0;
    text-transform: none;
    margin-right: 0.75rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
    font-weight: 600;
}

.pricelist-cta .btn-primary {
    background: var(--accent-base);
    color: var(--white);
    padding: 0.5rem 1rem;
}

.pricelist-cta .btn-secondary {
    background: var(--navy-900);
    color: var(--white);
    padding: 0.5rem 1rem;
}

.pricelist-service-types-table {
    margin-top: 1.5rem;
}

.pricelist-service-types-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.pricelist-service-types-table th {
    background: var(--gray-50);
    padding: 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-900);
    border: 1px solid var(--gray-200);
}

.pricelist-service-types-table td {
    padding: 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.pricelist-service-types-table tr:nth-child(even) {
    background: var(--gray-50);
}

.pricelist-service-types-table tr:hover {
    background: var(--gray-100);
}

/* Masaüstü: tablo genişse yatay kaydırma */
@media (min-width: 769px) {
    .pricelist-service-types-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pricelist-service-types-table table {
        min-width: 700px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .pricelist-grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .pricelist-grid-2,
    .pricelist-grid-3,
    .pricelist-grid-single {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .pricelist-container {
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    .pricelist-card {
        padding: 1.5rem;
        overflow-x: hidden;
    }
    
    /* HİZMET TÜRLERİ: mobilde kart düzeni (taşma yok) - !important ile diğer tablo stillerinin ezmesi engellenir */
    .pricelist-service-types-table {
        overflow: visible;
        max-width: 100%;
    }
    .pricelist-service-types-table table {
        min-width: 0;
        display: block;
    }
    .pricelist-service-types-table thead {
        display: none !important;
    }
    .pricelist-service-types-table tbody {
        display: block;
    }
    .pricelist-service-types-table tbody tr {
        display: block !important;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        margin-bottom: 1rem;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .pricelist-service-types-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .pricelist-service-types-table tbody tr:nth-child(even) {
        background: var(--white);
    }
    .pricelist-service-types-table td {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.625rem 1rem;
        border: none;
        border-bottom: 1px solid var(--gray-100);
        font-size: 0.8125rem;
    }
    .pricelist-service-types-table td:last-child {
        border-bottom: none;
    }
    .pricelist-service-types-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--navy-900);
        flex-shrink: 0;
        min-width: 100px;
    }
    .pricelist-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.875rem 0;
    }
    
    .pricelist-item-price {
        margin-top: 0.5rem;
        text-align: left;
        min-width: auto;
    }
}
