/*
 * Icerik sayfalari: kurumsal sayfa, blog, iletisim, S.S.S. ve sozlesme.
 * store.css'i tamamlar; renk/olcu degerleri yine :root degiskenlerinden gelir
 * (bkz. layouts/store.blade.php).
 */

.content-page { padding: 24px 0 48px; }

.content-head { margin-bottom: 24px; }
.content-head h1 { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.content-head p { color: #777; margin: 0; font-size: 13px; }

/* Panelden gelen zengin metin: sayfa, blog ve sozlesme govdeleri */
.content-body { font-size: 15px; line-height: 1.75; }
.content-body > :first-child { margin-top: 0; }
.content-body h2 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.content-body h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.content-body p,
.content-body ul,
.content-body ol { margin: 0 0 14px; }
.content-body ul,
.content-body ol { padding-left: 22px; }
.content-body li { margin-bottom: 6px; }
.content-body img { max-width: 100%; height: auto; border-radius: var(--store-radius); }
.content-body a { color: var(--store-primary); text-decoration: underline; }
.content-body blockquote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid var(--store-primary);
    background: rgba(0, 0, 0, .03);
    border-radius: 0 var(--store-radius) var(--store-radius) 0;
}
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.content-body th,
.content-body td { border: 1px solid rgba(0, 0, 0, .1); padding: 8px 10px; text-align: left; }

/* Sozlesme metni: uzun ve resmi, biraz daha sik satir araligi */
.agreement-meta {
    font-size: 12px;
    color: #888;
    border: 1px dashed rgba(0, 0, 0, .15);
    border-radius: var(--store-radius);
    padding: 10px 14px;
    margin-bottom: 20px;
}

/* ------------------------------------------------------------------- blog */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--store-radius);
    overflow: hidden;
    transition: box-shadow .18s, transform .18s;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .09); transform: translateY(-2px); }
.blog-card__media { aspect-ratio: 16 / 9; background: #f7f7f9; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card__meta { font-size: 11px; color: #999; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-card__title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.4; }
.blog-card__excerpt { font-size: 13px; color: #666; margin: 0; }
.blog-card__more { margin-top: auto; font-size: 13px; color: var(--store-primary); font-weight: 500; }

.blog-sidebar { display: flex; flex-direction: column; gap: 20px; }
.blog-widget {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--store-radius);
    padding: 16px;
    background: #fff;
}
.blog-widget h4 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.blog-widget ul { list-style: none; margin: 0; padding: 0; }
.blog-widget li { padding: 6px 0; font-size: 13px; border-bottom: 1px dashed rgba(0, 0, 0, .07); }
.blog-widget li:last-child { border-bottom: 0; }
.blog-widget li.is-active > a { color: var(--store-primary); font-weight: 600; }
.blog-widget .count { color: #aaa; font-size: 11px; }

.blog-post__cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--store-radius);
    margin-bottom: 20px;
}
.blog-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #888;
    margin-bottom: 18px;
}

.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.share-buttons a,
.share-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: var(--store-radius);
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
    color: inherit;
    cursor: pointer;
}
.share-buttons a:hover,
.share-buttons button:hover { border-color: var(--store-primary); color: var(--store-primary); }

/* --------------------------------------------------------------- iletisim */

.contact-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--store-radius);
    padding: 20px;
    background: #fff;
    height: 100%;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(0, 0, 0, .07); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { color: var(--store-primary); font-size: 18px; line-height: 1.4; }
.contact-list span { font-size: 13px; }
.contact-list strong { display: block; font-size: 12px; color: #999; font-weight: 500; }

.contact-map { border: 0; width: 100%; height: 320px; border-radius: var(--store-radius); margin-top: 24px; }

/* Bot tuzagi: ekranda gorunmez, ekran okuyucudan da gizli */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------- sss */

.faq-group { margin-bottom: 28px; }
.faq-group__title { font-size: 17px; font-weight: 700; margin: 0 0 12px; }

.faq-item {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--store-radius);
    margin-bottom: 8px;
    background: #fff;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 500;
    font-size: 14px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--store-primary); font-size: 18px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid rgba(0, 0, 0, .06); }
.faq-item__answer { padding: 14px 16px; font-size: 14px; color: #555; }
.faq-item__answer > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- bildiri */

.notice-box {
    max-width: 560px;
    margin: 48px auto;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--store-radius);
    padding: 40px 24px;
    background: #fff;
}
.notice-box i { font-size: 44px; color: var(--store-primary); }
.notice-box h1 { font-size: 20px; font-weight: 700; margin: 14px 0 8px; }
.notice-box p { color: #666; font-size: 14px; margin-bottom: 20px; }

/* ------------------------------------------------------------- kirilimlar */

@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .blog-grid { grid-template-columns: 1fr; gap: 14px; }
    .content-head h1 { font-size: 21px; }
    .contact-map { height: 240px; }
}
