/* Theme presentation; shared page layout lives in /css/inner-pages.css. */
/* Ana sayfa ve iç sayfalar için ortak menü geometrisi. */
.sm-h-chrome {
    --h-red: var(--color-primary, #c9192e);
    --h-deep: var(--color-secondary, #8d1022);
    --h-accent: var(--color-accent, #e7384d);
    --h-ink: var(--color-text, #231b1d);
    --h-white: var(--color-background, #fff);
    --h-line: var(--theme-soft);
    --h-soft: var(--theme-soft);
    --h-gutter: clamp(20px, 4.5vw, 84px);
    background: var(--h-white);
    color: var(--h-ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    font-size: 16px;
}
.sm-h-chrome *, .sm-h-chrome *::before, .sm-h-chrome *::after { box-sizing: border-box; }
.sm-h-chrome a { text-decoration: none; color: inherit; }
.sm-h-chrome img { display: block; max-width: 100%; }
.sm-h-chrome button { font: inherit; cursor: pointer; }
.sm-h-chrome :is(a, button):focus-visible { outline: 3px solid var(--h-accent); outline-offset: 5px; }
.sm-h-topline { display: flex; justify-content: space-between; gap: 20px; padding: 12px var(--h-gutter); background: var(--h-red); color: var(--theme-surface-text); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.sm-h-topline a { letter-spacing: 0; font-size: 11px; }
.sm-h-topline i { margin-left: 14px; }
.sm-h-header { position: relative; z-index: 30; display: flex; align-items: center; gap: 32px; min-height: 100px; padding: 18px var(--h-gutter); border-bottom: 1px solid var(--h-line); background: var(--h-white); }
.sm-h-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sm-h-brand img { width: 58px; height: 62px; object-fit: contain; }
.sm-h-brand span { font-size: 20px; font-weight: 900; text-transform: uppercase; line-height: 1.2; max-width: 240px; }
.sm-h-brand small { display: block; margin-top: 7px; font-size: 9px; letter-spacing: .26em; font-weight: 700; color: var(--theme-link); }
.sm-h-menu-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; min-width: 0; }
.sm-h-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); margin-inline: auto; }
.sm-h-nav>a, .sm-h-nav-group>a { position: relative; padding-block: 20px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.sm-h-nav>a::after { content: ""; position: absolute; inset: auto 0 9px; height: 2px; background: var(--h-red); transform: scaleX(0); transition: transform .2s; }
.sm-h-nav>a:is(:hover,.is-active)::after { transform: scaleX(1); }
.sm-h-nav-group { position: relative; display: flex; align-items: center; gap: 4px; }
.sm-h-submenu-toggle { border: 0; background: transparent; color: var(--h-red); padding: 8px; font-size: 9px !important; }
.sm-h-submenu { position: absolute; top: 100%; left: -16px; display: none; min-width: 210px; padding: 10px; background: var(--theme-surface); box-shadow: 0 15px 35px color-mix(in srgb, var(--color-secondary) 9.41176%, transparent); border: 1px solid var(--h-line); }
.sm-h-nav-group:is(:hover,:focus-within,.is-submenu-open) .sm-h-submenu { display: grid; }
.sm-h-submenu a { padding: 12px; font-size: 12px; font-weight: 700; }
.sm-h-submenu a:hover { background: var(--h-soft); color: var(--h-red); }
.sm-h-menu-toggle { display: none; }
.sm-h-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 15px 22px; background: var(--h-red); color: var(--theme-on-action) !important; font-size: 12px; font-weight: 800; transition: background .2s, transform .2s; }
.sm-h-button:hover { background: var(--h-deep); transform: translateY(-2px); }
.sm-h-nav-group>a.is-active { color: var(--h-red); }
@media (max-width: 1350px) { .sm-h-header { gap: 22px; } }
@media (max-width: 1100px) {
    .sm-h-header { min-height: 88px; justify-content: space-between; }
    .sm-h-menu-toggle { display: grid; gap: 5px; border: 1px solid var(--h-line); padding: 12px; background: var(--theme-surface); }
    .sm-h-menu-toggle span { width: 23px; height: 2px; background: var(--h-red); }
    .sm-h-menu-panel { display: none; position: absolute; top: 100%; left: var(--h-gutter); right: var(--h-gutter); padding: 20px; background: var(--theme-surface); box-shadow: 0 15px 35px color-mix(in srgb, var(--color-secondary) 9.41176%, transparent); border: 1px solid var(--h-line); }
    .sm-h-header.is-menu-open .sm-h-menu-panel { display: grid; }
    .sm-h-nav { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
    .sm-h-nav>a, .sm-h-nav-group>a { padding: 14px 0; }
    .sm-h-nav-group { flex-wrap: wrap; justify-content: space-between; }
    .sm-h-submenu-toggle { padding: 14px; }
    .sm-h-submenu { position: static; box-shadow: none; border: 0; width: 100%; background: var(--h-soft); }
    .sm-h-nav-group:is(:hover,:focus-within) .sm-h-submenu { display: none; }
    .sm-h-nav-group.is-submenu-open .sm-h-submenu { display: grid; }
}
@media (max-width: 700px) {
    .sm-h-topline { justify-content: center; font-size: 8px; letter-spacing: .08em; }
    .sm-h-topline a { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sm-h-chrome * { transition: none !important; } }
