/* ========== LEGAL PAGES - SHARED CSS ========== */
/* smsonaytr.com yasal sayfa tasarımı - Ana sayfayla uyumlu */

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #3f8efc;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --text: #444;
    --text-light: #666;
    --light-bg: #f8f9fa;
    --border: #e9ecef;
    --gradient: linear-gradient(135deg, #4361ee 0%, #3a86ff 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

/* ========== NAVBAR ========== */
.legal-navbar {
    background: var(--dark);
    padding: .75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,.15);
}
.legal-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.legal-navbar .brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}
.legal-navbar .brand img {
    height: 32px;
    width: 32px;
}
.legal-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.legal-navbar .nav-links a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    padding: .4rem .75rem;
    border-radius: 6px;
    transition: all .2s;
}
.legal-navbar .nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}
.legal-navbar .btn-nav {
    background: var(--gradient);
    color: #fff !important;
    padding: .4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}
.legal-navbar .btn-nav:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* ========== HERO HEADER ========== */
.legal-hero {
    background: var(--gradient);
    padding: 3rem 0 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.legal-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
.legal-hero p {
    opacity: .9;
    font-size: 1rem;
}

/* ========== BREADCRUMB ========== */
.legal-breadcrumb {
    background: var(--light-bg);
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
}
.legal-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    font-size: .875rem;
}
.legal-breadcrumb li + li::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    margin-right: .5rem;
    color: #aaa;
    font-size: .7rem;
}
.legal-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-breadcrumb .active { color: var(--text-light); }

/* ========== CONTENT ========== */
.legal-content-section {
    padding: 3rem 0 4rem;
}
.legal-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
@media (max-width: 768px) {
    .legal-card { padding: 1.5rem; border-radius: 12px; }
    .legal-hero h1 { font-size: 1.75rem; }
    .legal-hero { padding: 2rem 0 1.5rem; }
}

.legal-text { line-height: 1.85; }
.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--light-bg);
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1.75rem;
    margin-bottom: .75rem;
}
.legal-text p { margin-bottom: 1rem; }
.legal-text strong { color: var(--dark); font-weight: 600; }
.legal-text ul, .legal-text ol {
    margin: 1rem 0;
    padding-left: 1.75rem;
}
.legal-text li { margin-bottom: .5rem; }
.legal-text a { color: var(--primary); }
.legal-text a:hover { text-decoration: underline; }
.legal-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .95rem;
}
.legal-text table th,
.legal-text table td {
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}
.legal-text table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--dark);
}

/* ========== CONTACT EXTRAS ========== */
.contact-box {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border: 2px solid var(--border);
    margin: 1.25rem 0;
    transition: all .2s;
}
.contact-box:hover { border-color: var(--primary); background: #eef3ff; }
.contact-box i { font-size: 1.5rem; color: var(--primary); }
.contact-box a { color: var(--primary); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

.support-note {
    background: linear-gradient(135deg, #eef3ff 0%, #f0fdf4 100%);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.5rem;
}

/* ========== FOOTER ========== */
.legal-footer {
    background: var(--dark);
    padding: 3rem 0 1.5rem;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    margin-top: auto;
}
.legal-footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
.legal-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .75rem;
}
.legal-footer .footer-brand img { height: 28px; width: 28px; }
.legal-footer .footer-desc { max-width: 320px; line-height: 1.6; }
.legal-footer .footer-links-group h4 {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.legal-footer .footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
}
.legal-footer .footer-links-group a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
    font-size: .85rem;
}
.legal-footer .footer-links-group a:hover { color: #fff; }
.legal-footer .footer-social {
    display: flex;
    gap: .75rem;
}
.legal-footer .footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all .2s;
    font-size: .9rem;
}
.legal-footer .footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}
.legal-footer hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1rem;
}
.legal-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

/* ========== SCROLL TOP ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all .2s;
    z-index: 999;
}
.scroll-top-btn.visible { display: flex; }
.scroll-top-btn:hover { transform: translateY(-3px); }

/* ========== CONTAINER ========== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 576px) {
    .legal-navbar .nav-links a:not(.btn-nav) { display: none; }
    .legal-footer .footer-top { flex-direction: column; }
}
