/**
 * Legal Pages CSS - Teslimat, İade, Mesafeli Satış, Gizlilik vb.
 * KURYOLOM QUALITY - PHP 7.4 Compatible
 * Modern, Professional, Responsive
 */

/* Main Container */
.legal-page {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Content Box */
.legal-page__content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Title */
.legal-page__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.2;
}

/* Update Date */
.legal-page__update {
    color: #666;
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e9ecef;
}

/* Sections */
.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a56db;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 24px 0 12px;
}

.legal-section p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Lists */
.legal-section ul,
.legal-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section li strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* Tables */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.legal-table thead {
    background: #f8f9fa;
}

.legal-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #e9ecef;
}

.legal-table td {
    padding: 14px 16px;
    color: #4a5568;
    border-bottom: 1px solid #e9ecef;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover {
    background: #f8f9fa;
}

/* Note Box */
.legal-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 32px 0;
    border-radius: 8px;
}

.legal-note p {
    margin: 0;
    color: #856404;
}

/* Links */
.legal-section a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.legal-section a:hover {
    border-bottom-color: #1a56db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page__content {
        padding: 24px;
        border-radius: 0;
    }

    .legal-page__title {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-table {
        font-size: 14px;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 40px 0;
    }

    .legal-page__content {
        padding: 20px;
    }

    .legal-section ul,
    .legal-section ol {
        padding-left: 20px;
    }
}
