/*
Theme Name: Çıkmış Cevaplar
Theme URI: https://cikmiscevaplar.com
Author: Akıl Hocası
Author URI: https://sinavkolay.com
Description: YKS hazırlık yapan öğrenciler için tek sayfalık harika bir site.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cikmiscevaplar
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header Stili */
.site-header {
    background-color: #007bff;
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header h1 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.site-header h1 a {
    color: #fff;
    text-decoration: none;
}

/* Yönlendirme Çubuğu */
.redirect-bar {
    background-color: #0056b3;
    padding: 10px;
    text-align: center;
}

.redirect-bar a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1rem;
}

.redirect-bar a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Başlık */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

/* Section Group Stili */
.section-group {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* Accordion Stili */
.accordion {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.accordion-header {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header span {
    font-size: 1rem;
    color: #007bff;
}

.accordion-content {
    display: none;
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

.accordion.active .accordion-content {
    display: block;
}

/* Kart Stili */
.resource-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.resource-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 180px;
    text-align: center;
    padding: 10px;
    transition: transform 0.2s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.95rem;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* PDF Modal Stili */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.pdf-modal.active {
    display: flex;
}

.pdf-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    height: 80%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.pdf-modal-content canvas {
    width: 100%;
    height: auto;
}

.pdf-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.pdf-modal-close:hover {
    color: #007bff;
}

/* Footer Stili */
.site-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff !important; /* Mavi rengi geçersiz kılmak için */
    margin: 0 15px;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block; /* Yatay hizalamayı iyileştirir */
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .accordion-header {
        font-size: 1rem;
    }

    .redirect-bar a {
        display: block;
        margin: 10px 0;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }

    .site-header h1 {
        font-size: 1.5rem;
    }

    .resource-card {
        width: 100%;
    }
}