/* ═══════════════════════════════════════════════════════════════
   DijitalCatering — Yasal Sayfa Stilleri
   Gizlilik Politikası, Kullanım Koşulları, KVKK
   ═══════════════════════════════════════════════════════════════ */

.legal-page {
    padding: 120px 0 80px;
    min-height: 80vh;
}

.legal-page .container {
    max-width: 820px;
}

/* ── Header ── */
.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(10,30,61,.2);
}

.legal-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.legal-meta {
    font-size: .8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ── Content ── */
.legal-content {
    color: var(--gray-700);
    line-height: 1.85;
}

.legal-intro {
    background: var(--off-white);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin-bottom: 40px;
    font-size: .9375rem;
}

.legal-content section {
    margin-bottom: 36px;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.legal-content section:first-of-type h2 {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-light);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    font-size: .9375rem;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 8px 0 16px;
    padding-left: 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: .9375rem;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.legal-content ul li ul {
    margin-top: 6px;
}

.legal-content ul li ul li::before {
    background: var(--gray-400);
    width: 5px;
    height: 5px;
}

.legal-content a {
    color: var(--accent);
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ── Info Box ── */
.legal-info-box {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 12px 0 16px;
}

.legal-info-box p {
    margin-bottom: 6px;
    font-size: .875rem;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

/* ── Table ── */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 12px 0 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8125rem;
}

.legal-table thead th {
    background: var(--navy);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.legal-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
}

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

.legal-table tbody tr:hover {
    background: var(--off-white);
}

/* ── Rights (KVKK) ── */
.legal-rights {
    display: grid;
    gap: 12px;
    margin: 16px 0 20px;
}

.legal-right {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: border-color .2s;
}

.legal-right:hover {
    border-color: var(--accent-light);
}

.legal-right-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.legal-right strong {
    display: block;
    font-size: .875rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.legal-right p {
    font-size: .8125rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .legal-page { padding: 100px 0 60px; }
    .legal-header h1 { font-size: 1.5rem; }
    .legal-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .legal-table { font-size: .75rem; }
    .legal-table thead th,
    .legal-table tbody td { padding: 10px 12px; }
    .legal-right { flex-direction: column; gap: 10px; }
}
