/*
Theme Name: JetHesapla
Theme URI: http://jethesapla.localhost
Author: JetHesapla
Description: Jet hızında hesaplama araçları teması.
Version: 1.2.4
Text Domain: jethesapla
*/

:root {
    --brand: #027abb;
    --brand-dark: #015ea0;
    --brand-deep: #04589a;
    --orange: #f3921f;
    --orange-2: #f59e0b;
    --orange-3: #d97706;
    --bg: #f6fefc;
    --paper: #ffffff;
    --ink: #181818;
    --ink-soft: #3f3f46;
    --line: #e4e4e7;
    --font: Inter, "Open Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #e8eaed;
    line-height: 1.65;
    font-size: 16px;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.site-shell {
    max-width: 1230px;
    width: min(1230px, calc(100% - 24px));
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 1px 7px rgba(171, 171, 171, .5);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 16px 0; flex-wrap: wrap;
}
.site-branding { display: flex; align-items: center; min-height: 48px; }
.custom-logo-link { display: flex; align-items: center; line-height: 0; }
.custom-logo-link img,
.custom-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(260px, 70vw);
    object-fit: contain;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px;
    color: var(--brand) !important;
}
.mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-size: 16px; font-weight: 700;
    box-shadow: 0 4px 10px rgba(2, 122, 187, .25);
}
.menu-primary { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.menu-primary > li { position: relative; }
.menu-primary a {
    color: #1f1f32;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}
.menu-primary a:hover,
.menu-primary .current-menu-item > a { color: var(--brand); background: #eef7fc; }
.menu-primary .sub-menu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 30;
    min-width: 240px; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px rgba(2, 122, 187, .12);
    list-style: none; margin: 0;
}
.menu-primary > li:hover > .sub-menu { display: block; }
.menu-primary .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.menu-primary .sub-menu a:hover { background: #eef7fc; color: var(--brand); }
.hero { padding: 28px 0 20px; text-align: center; }
.hero h1, .page-title, .entry-title, h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: -.3px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--ink);
}
.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
    padding: 26px 36px 22px;
    background: linear-gradient(180deg, #f59e0b 0%, #e8890c 100%);
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(217, 119, 6, .22);
}
.hero-banner h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 3.4vw, 1.85rem);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.hero-clock {
    width: 34px;
    height: 34px;
    border: 3px solid #fff;
    border-radius: 50%;
    position: relative;
    opacity: .95;
}
.hero-clock::before,
.hero-clock::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 2px;
    left: 50%;
    top: 50%;
}
.hero-clock::before {
    width: 2px;
    height: 8px;
    margin-left: -1px;
    margin-top: -8px;
}
.hero-clock::after {
    width: 2px;
    height: 11px;
    margin-left: -1px;
    margin-top: -2px;
    transform: rotate(110deg);
    transform-origin: 1px 1px;
}
.page-title, .entry-title { font-size: clamp(1.5rem, 3vw, 1.9rem); color: #1e293b; text-align: left; }
.lead, .entry-summary { color: var(--ink-soft); max-width: 62ch; font-size: 16px; }
.site-main { padding: 10px 0 64px; flex: 1; }
.entry-content { font-size: 16px; text-align: left; }
.entry-content h2 {
    font-size: 1.28rem;
    margin: 28px 0 10px;
    text-align: left;
}
.entry-content h3 {
    font-size: 1.05rem;
    margin: 20px 0 8px;
    text-align: left;
}
.entry-content p { margin: 0 0 14px; }
body.home .site-main > p,
body.home .site-main > h2,
body.home .site-main > ul {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 24px 0 36px;
    color: var(--ink-soft);
    font-size: 14px;
    text-align: left;
}
.btn {
    display: inline-flex; align-items: center; border-radius: 10px;
    padding: 11px 18px; background: var(--brand); color: #fff !important; font-weight: 600;
}
.btn:hover { background: var(--brand-dark); color: #fff !important; }
.sub-menu { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; }
@media (max-width: 800px) {
    .site-shell { width: 100%; box-shadow: none; }
}
