/* Hermak Çelik Kapı teması — Bootstrap 5 üzerine ince tasarım katmanı */
:root { --hk-blue: #0b3a8f; --hk-nav: #0080ff; --hk-accent: #e28f27; --hk-dark: #14213d; --hk-bg: #f5f7fb; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #232a36; background: #fff; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--hk-dark); }
a { color: var(--hk-nav); }
.btn-accent { background: var(--hk-accent); border-color: var(--hk-accent); color: #fff; font-weight: 600; }
.btn-accent:hover, .btn-accent:focus { background: #c97a18; border-color: #c97a18; color: #fff; }

.topbar { background: var(--hk-dark); color: #cfd6e4; font-size: .85rem; padding: .4rem 0; }
.topbar a { color: #fff; text-decoration: none; margin-left: 1rem; }
.site-header { background: #fff; box-shadow: 0 .25rem 1rem -.5rem rgba(0,0,0,.25); z-index: 1030; }
.site-logo img { height: 50px; width: auto; }
.site-header .nav-link { color: var(--hk-dark); font-weight: 600; padding: .9rem .9rem; }
.site-header .nav-link:hover, .site-header .nav-link:focus, .site-header .nav-link.show { color: var(--hk-nav); }
.site-header .dropdown-menu { border: 0; border-top: 3px solid var(--hk-accent); border-radius: 0; box-shadow: 0 1rem 2rem -1rem rgba(0,0,0,.4); }
.site-header .dropdown-item { padding: .55rem 1.2rem; }
@media (min-width: 992px) { .site-header .dropdown:hover > .dropdown-menu { display: block; } }
.lang-switcher .is-current { color: var(--hk-accent); }

.hero-slider .hero-img { width: 100%; height: min(62vh, 560px); min-height: 320px; object-fit: cover; }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(10,25,60,.78), rgba(10,25,60,.1)); color: #fff; }
.hero-caption h1, .hero-caption h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 3rem); max-width: 18ch; }
.hero-caption p { max-width: 52ch; font-size: 1.05rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.intro { background: var(--hk-bg); }
.intro-lead { max-width: 70ch; }
.feature-box { display: flex; flex-direction: column; gap: .35rem; height: 100%; background: #fff; border-bottom: 3px solid var(--hk-accent); padding: 1.4rem; text-decoration: none; color: #4a5568; box-shadow: 0 .5rem 1.5rem -1rem rgba(0,0,0,.35); transition: transform .2s; }
.feature-box:hover { transform: translateY(-4px); }
.feature-box strong { color: var(--hk-blue); font-size: 1.1rem; }
.series-card { display: block; position: relative; overflow: hidden; background: #fff; text-decoration: none; box-shadow: 0 .5rem 1.5rem -1rem rgba(0,0,0,.4); }
.series-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform .35s; }
.series-card:hover img { transform: scale(1.05); }
.series-card span { position: absolute; inset: auto 0 0; padding: .8rem 1rem; background: linear-gradient(0deg, rgba(10,25,60,.9), transparent); color: #fff; font-weight: 700; }

.page-header { background: var(--hk-dark) center / cover no-repeat; color: #fff; text-align: center; padding: 3.5rem 0; position: relative; }
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(10,25,60,.6); }
.page-header .container { position: relative; }
.page-header h1 { color: #fff; margin-bottom: .6rem; }
.page-header .breadcrumb a, .page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: #dbe4f5; }
.article-body img { max-width: 100%; height: auto; }
.article-body h3, .article-body h4 { margin-top: 1.4rem; color: var(--hk-blue); }

.model-thumb { display: block; background: var(--hk-bg); overflow: hidden; border: 1px solid #e3e8f0; }
.model-thumb img { width: 100%; aspect-ratio: 3 / 5; object-fit: contain; background: #fff; display: block; transition: transform .3s; }
.model-thumb:hover img { transform: scale(1.04); }
.side-box { background: var(--hk-bg); padding: 1.2rem; margin-bottom: 1.2rem; border-top: 3px solid var(--hk-accent); }
.side-title { font-size: 1.1rem; }
.side-nav a { display: block; padding: .45rem 0; border-bottom: 1px solid #dde3ee; text-decoration: none; color: var(--hk-dark); }
.side-nav a:hover { color: var(--hk-nav); }
.map-frame iframe { border: 0; }

.site-footer { background: var(--hk-dark); color: #cfd6e4; padding: 3rem 0 1rem; margin-top: 2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--hk-accent); }
.footer-title { font-family: inherit; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer-nav a { display: block; padding: .2rem 0; }
.footer-contact { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }
.footer-cookie { background: none; border: 0; color: #fff; text-decoration: underline; padding: 0; cursor: pointer; }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5,10,25,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: .75rem 1rem; }
.lightbox-close { top: .5rem; right: .75rem; }
.lightbox-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: .5rem; top: 50%; transform: translateY(-50%); }

.site-form { margin-top: 1.5rem; }
.form-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-item { display: flex; flex-direction: column; flex-grow: 1; min-width: 200px; }
.form-item label, .form-item span { font-size: .9rem; margin-bottom: .25rem; }
.form-item input, .form-item textarea, .form-item select {
    padding: .5rem .75rem; border: 1px solid #ced4da; border-radius: .375rem; font: inherit;
}
.form-choice { display: block; font-weight: 400; }
.form-error { color: #dc3545; font-size: .8rem; margin-top: .25rem; }
.form-success { background: #d1e7dd; color: #0f5132; padding: .75rem 1rem; border-radius: .375rem; }
.form-submit {
    margin-top: 1rem; padding: .5rem 1.5rem; background: #0d6efd; color: #fff;
    border: 0; border-radius: .375rem; cursor: pointer; font: inherit;
}

/* Çerez Tercih Merkezi (zorunlu bileşen — docs/00-project-rules.md).
   Yeni temalar bu bloğu kendi tasarım diliyle yeniden yazar; sınıf adları ve
   data-* kancaları aynı kalır ki theme.js'teki mantık çalışsın. */
.cookie-consent { position: fixed; inset: auto 0 0; z-index: 1080; }
.cookie-consent[hidden] { display: none; }
.cc-banner { max-width: 1140px; margin: 0 auto 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: #fff; border: 1px solid #dee2e6; border-radius: .75rem; box-shadow: 0 1rem 2.5rem -1rem rgba(0,0,0,.4); padding: 1.25rem; }
.cc-banner[hidden] { display: none; }
.cc-banner-body { flex: 1 1 380px; }
.cc-title { display: block; font-size: 1rem; }
.cc-text { margin: .35rem 0 0; font-size: .875rem; color: #495057; }
.cc-banner-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.cc-btn { min-height: 42px; padding: .6rem 1.25rem; border: 1px solid #dee2e6; border-radius: 2rem; background: #fff; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.cc-btn:hover { border-color: #212529; }
.cc-btn-accept { background: #212529; border-color: #212529; color: #fff; }
.cc-modal { position: fixed; inset: 0; z-index: 1090; display: grid; place-items: center; padding: 1rem; }
.cc-modal[hidden] { display: none; }
.cc-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.cc-modal-panel { position: relative; width: min(620px, 100%); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: .75rem; padding: 1.75rem; }
.cc-modal-close { position: absolute; top: .75rem; right: .75rem; width: 38px; height: 38px; border: 1px solid #dee2e6; border-radius: 50%; background: #fff; cursor: pointer; }
.cc-modal-title { margin: 0 0 .5rem; font-size: 1.25rem; }
.cc-modal-lead { font-size: .875rem; color: #495057; }
.cc-cat { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid #e9ecef; }
.cc-cat-info strong { display: block; }
.cc-cat-info span { font-size: .8rem; color: #6c757d; }
.cc-always { font-size: .75rem; font-weight: 600; background: #f1f3f5; border-radius: 2rem; padding: .35rem .75rem; }
.cc-switch { position: relative; width: 48px; height: 26px; flex: 0 0 auto; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; border-radius: 2rem; background: #ced4da; transition: background-color .2s ease; }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.cc-switch input:checked + .cc-slider { background: #212529; }
.cc-switch input:checked + .cc-slider::after { transform: translateX(22px); }
.cc-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.cc-modal-policy { display: inline-block; margin-top: 1rem; font-size: .8rem; }
.footer-cookie { border: 0; background: none; padding: 0; font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }
@media (max-width: 767.98px) {
    .cc-banner { margin: 0; border-radius: .75rem .75rem 0 0; }
    .cc-banner-actions { margin-left: 0; width: 100%; }
    .cc-banner-actions .cc-btn { flex: 1 1 120px; }
}
.footer-legal a { margin-right: 1rem; }
