/* 
 * Info Sayfaları Ortak CSS
 * Tüm info sayfaları için kullanılan stil tanımları
 * Legal/index.html tasarımına uygun olarak güncellendi
 */

/* FontAwesome CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* İkonlar ile yazılar arası boşluk */
.fas, .fa, .fab {
    margin-right: 3px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('/assets/img/bg.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    color: #e0e0e0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sol Menü Stilleri */
.sidebar-menu {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(13, 21, 33, 0.95) 100%);
    border-radius: 0 10px 10px 0;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(30, 39, 73, 0.4);
    border-left: 3px solid #1e2749;
    z-index: 1000;
}

.sidebar-menu h3 {
    color: #f0d7aa;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(30, 39, 73, 0.6);
    padding-bottom: 10px;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.sidebar-menu a:hover {
    background: rgba(30, 39, 73, 0.4);
    color: #f0d7aa;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-menu a.active {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(13, 21, 33, 0.95) 100%);
    color: #5a7ba8;
    font-weight: bold;
    border-left: 3px solid #2c3e50;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1521 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(13, 21, 33, 0.6);
    border: 1px solid rgba(30, 39, 73, 0.4);
    animation: fadeInUp 0.6s ease-out;
    overflow: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #0a1521 0%, #0d1f2e 50%, #0a0f1a 100%);
    color: #f0d7aa;
    text-align: center;
    margin-bottom: 30px;
    padding: 40px 30px;
    border-bottom: 3px solid rgba(30, 39, 73, 0.6);
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f0d7aa;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(240, 215, 170, 0.3);
}

.header p {
    color: #d0d0d0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Intro Box */
.intro {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #1e2749;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.intro p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: center;
    color: #c0d0e0;
    line-height: 1.6;
}

/* Section Styles */
.section {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(13, 21, 33, 0.95) 100%);
    border-radius: 12px;
    border-left: 5px solid #1e2749;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.section:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(30, 39, 73, 0.6), 0 0 20px rgba(44, 62, 80, 0.4);
    border-left-color: #2c3e50;
}

.section h2 {
    color: #5a7ba8;
    font-size: 1.3rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.section h2 i {
    font-size: 1.1rem;
    color: #1e2749;
}

.section h2 .section-number {
    background: linear-gradient(135deg, #1e2749 0%, #2c3e50 100%);
    color: #f0d7aa;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(30, 39, 73, 0.6);
}

.section h3 {
    color: #5a7ba8;
    font-size: 1.1rem;
    margin-bottom: 15px;
    margin-top: 20px;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.section p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    text-align: justify;
    color: #d0d0d0;
    line-height: 1.6;
}

.section ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 15px;
}

.section li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.section li strong {
    color: #f0d7aa;
}

.section li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(30, 39, 73, 0.6);
}

/* Consent Box */
.consent-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.1) 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #ffa401;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.consent-text {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: #ffda97;
}

.consent-text strong {
    color: #ffa401;
}

.consent-text a {
    color: #ffa401;
    text-decoration: none;
    font-weight: bold;
}

.consent-text a:hover {
    text-decoration: underline;
    color: #ffda97;
}

.consent-box h4 {
    color: #ffa401;
    margin-bottom: 15px;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(255, 164, 1, 0.5);
}

.consent-box p {
    font-style: italic;
    color: #ffda97;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    border-left: 5px solid #1e2749;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.highlight-box h3 {
    color: #5a7ba8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

/* Tables */
.ceza-table,
.rules-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(13, 21, 33, 0.95) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.ceza-table th,
.rules-table th {
    background: linear-gradient(135deg, #1e2749 0%, #2c3e50 100%);
    color: #f0d7aa;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.ceza-table td,
.rules-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(30, 39, 73, 0.4);
    vertical-align: top;
    color: #e0e0e0;
}

.ceza-table tr:hover,
.rules-table tr:hover {
    background: rgba(30, 39, 73, 0.3);
}

.ceza-level {
    font-weight: bold;
    color: #5a7ba8;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.ceza-duration {
    background: rgba(30, 39, 73, 0.4);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    color: #f0d7aa;
}

.rule-number {
    background: rgba(30, 39, 73, 0.4);
    color: #5a7ba8;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

.rule-title {
    font-weight: bold;
    color: #5a7ba8;
    font-size: 1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

/* Lists */
.ceza-list {
    list-style: none;
    padding-left: 0;
}

.ceza-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(30, 39, 73, 0.4);
    position: relative;
    padding-left: 25px;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ceza-list li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(30, 39, 73, 0.6);
}

.ceza-list li:last-child {
    border-bottom: none;
}

/* Support System */
.support-system {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    border-left: 5px solid #1e2749;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.support-system h3 {
    color: #5a7ba8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.support-system ul {
    list-style: none;
    padding-left: 0;
}

.support-system li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(30, 39, 73, 0.4);
    position: relative;
    padding-left: 25px;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.support-system li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(30, 39, 73, 0.6);
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left: 5px solid #ffa401;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #ffda97;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.warning-box i {
    color: #ffa401;
    margin-right: 10px;
    text-shadow: 0 0 8px rgba(255, 164, 1, 0.5);
}

.warning-box h4 {
    color: #ffa401;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(255, 164, 1, 0.5);
}

.important-note {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left: 5px solid #ffa401;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.important-note h4 {
    color: #ffa401;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 164, 1, 0.5);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    border-left: 5px solid #1e2749;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #c0d0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.info-box i {
    color: #2c3e50;
    margin-right: 10px;
    text-shadow: 0 0 8px rgba(30, 39, 73, 0.6);
}

/* Footer */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 3px solid rgba(30, 39, 73, 0.6);
    text-align: center;
    font-size: 0.9rem;
    color: #d0d0d0;
    background: linear-gradient(135deg, #0a0f1a 0%, #0d1f2e 50%, #0a1521 100%);
    padding: 30px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.footer a {
    color: #5a7ba8;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #6b8ba8;
}

/* Update Date */
.update-date,
.last-update {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #c0d0e0;
    border-left: 5px solid #1e2749;
}

/* Links */
a {
    color: #5a7ba8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #6b8ba8;
}

.kvkk-rights {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    border-left: 5px solid #1e2749;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.kvkk-rights h3 {
    color: #5a7ba8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.kvkk-rights ul {
    list-style: none;
    padding-left: 0;
}

.kvkk-rights li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(30, 39, 73, 0.4);
    position: relative;
    padding-left: 25px;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.kvkk-rights li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(30, 39, 73, 0.6);
}

.kvkk-rights li:last-child {
    border-bottom: none;
}

.data-usage {
    background: linear-gradient(135deg, rgba(30, 39, 73, 0.3) 0%, rgba(44, 62, 80, 0.25) 100%);
    border-left: 5px solid #1e2749;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.data-usage h3 {
    color: #5a7ba8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(30, 39, 73, 0.5);
}

.data-usage ul {
    list-style: none;
    padding-left: 0;
}

.data-usage li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(30, 39, 73, 0.4);
    position: relative;
    padding-left: 25px;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.data-usage li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(30, 39, 73, 0.6);
}

.data-usage li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sidebar-menu {
        position: static;
        margin-bottom: 30px;
        transform: none;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .container {
        padding: 15px;
        overflow-x: hidden;
    }
    
    .header {
        padding: 25px 15px;
    }
    
    .header h1 {
        font-size: 1.6rem;
    }
    
    .header p {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 15px;
        margin-bottom: 15px;
        touch-action: manipulation;
    }
    
    .section h2 {
        font-size: 1.1rem;
    }
    
    .section ul li {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 20px 15px;
        position: relative;
    }
    
    .footer h3 {
        font-size: 1.3rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .warning-box, .info-box {
        padding: 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .header h1 {
        font-size: 1.4rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    .section h2 {
        font-size: 1rem;
    }
    
    .footer h3 {
        font-size: 1.1rem;
    }
}
