/* Yasal Sayfalar CSS */

.yasal-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #3498db;
}

.breadcrumb .separator {
    color: #bdc3c7;
    font-weight: 300;
}

.breadcrumb .current {
    color: #3498db;
    font-weight: 600;
}

.yasal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.yasal-content .content-section {
    padding: 40px;
    border-bottom: 1px solid #e9ecef;
}

.yasal-content .content-section:last-child {
    border-bottom: none;
}

.yasal-content .content-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

.yasal-content .content-section h3 {
    color: #34495e;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.yasal-content .content-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.yasal-content .content-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.yasal-content .content-section li {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.yasal-content .contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
}

.yasal-content .contact-info p {
    margin: 8px 0;
    font-size: 1rem;
}

.yasal-content .contact-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.yasal-content .data-controller {
    background: #e8f4fd;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
}

.yasal-content .data-controller p {
    margin: 8px 0;
    font-size: 1rem;
}

.yasal-content .data-controller strong {
    color: #2c3e50;
    font-weight: 600;
}

.yasal-content .cookie-preferences {
    background: #fff3cd;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    text-align: center;
}

.yasal-content .cookie-settings-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.yasal-content .cookie-settings-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Tablo Stilleri */
.cookie-table,
.retention-table {
    margin: 25px 0;
    overflow-x: auto;
}

.cookie-table table,
.retention-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.retention-table th {
    background: #3498db;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.cookie-table td,
.retention-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #555;
}

.cookie-table tr:last-child td,
.retention-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even),
.retention-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.cookie-table tr:hover,
.retention-table tr:hover {
    background-color: #e8f4fd;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
        margin-bottom: 30px;
    }

    .page-header h1 {
        font-size: 2rem;
        margin: 0 0 15px 0;
    }

    .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .yasal-content .content-section {
        padding: 25px 20px;
    }

    .yasal-content .content-section h2 {
        font-size: 1.5rem;
        margin: 0 0 20px 0;
    }

    .yasal-content .content-section h3 {
        font-size: 1.2rem;
        margin: 20px 0 12px 0;
    }

    .yasal-content {
        margin: 0 15px;
        border-radius: 8px;
    }

    .yasal-content .contact-info,
    .yasal-content .data-controller,
    .yasal-content .cookie-preferences {
        padding: 20px;
        margin: 15px 0;
    }

    .cookie-table,
    .retention-table {
        margin: 20px 0;
    }

    .cookie-table th,
    .cookie-table td,
    .retention-table th,
    .retention-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .yasal-content .cookie-settings-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .yasal-content .content-section {
        padding: 20px 15px;
    }

    .yasal-content .content-section h2 {
        font-size: 1.4rem;
    }

    .yasal-content .content-section h3 {
        font-size: 1.1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
        gap: 8px;
    }

    .yasal-content {
        margin: 0 10px;
    }

    .yasal-content .contact-info,
    .yasal-content .data-controller,
    .yasal-content .cookie-preferences {
        padding: 15px;
    }

    .cookie-table th,
    .cookie-table td,
    .retention-table th,
    .retention-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}

/* Yasal Ana Sayfa Stilleri */
.yasal-content .legal-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.yasal-content .legal-page-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.yasal-content .legal-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.yasal-content .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.yasal-content .card-icon i {
    font-size: 2rem;
    color: white;
}

.yasal-content .legal-page-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.yasal-content .legal-page-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.yasal-content .legal-page-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.yasal-content .legal-page-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Önem Grid */
.yasal-content .importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.yasal-content .importance-item {
    text-align: center;
    padding: 25px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.yasal-content .importance-icon {
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.yasal-content .importance-icon i {
    font-size: 1.5rem;
    color: white;
}

.yasal-content .importance-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.yasal-content .importance-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.yasal-content .update-notice {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
}

.yasal-content .response-time {
    text-align: center;
    color: #27ae60;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 20px 0 0 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .yasal-content .legal-pages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }

    .yasal-content .legal-page-card {
        padding: 25px 20px;
    }

    .yasal-content .card-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
    }

    .yasal-content .card-icon i {
        font-size: 1.8rem;
    }

    .yasal-content .importance-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }

    .yasal-content .importance-item {
        padding: 20px 15px;
    }
}

/* Yazdırma Stilleri */
@media print {
    .yasal-page {
        background: white;
    }

    .page-header {
        background: white !important;
        color: black !important;
        border-bottom: 2px solid #333;
    }

    .yasal-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .yasal-content .content-section {
        border-bottom: 1px solid #ccc;
    }

    .yasal-content .cookie-settings-btn {
        display: none;
    }

    .yasal-content .legal-page-card,
    .yasal-content .importance-item {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
