/* VOC Header & Footer – front-end styles */
.voc-hf-header, .voc-hf-footer {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}
.voc-hf-header *, .voc-hf-header *::before, .voc-hf-header *::after,
.voc-hf-footer *, .voc-hf-footer *::before, .voc-hf-footer *::after {
    box-sizing: border-box;
}

/* ─── HEADER ─── */
.voc-hf-header {
    background: #111;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: box-shadow .25s, background .25s, backdrop-filter .25s;
    will-change: transform;
}
.voc-hf-header.is-scrolled {
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
    background: rgba(17,17,17,.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom-color: #1a1a1a;
}

/* JS-driven fixed fallback (sticky bazı temalarda — özellikle mobilde — kırılıyor).
   Body'e voc-hf-pinned eklenince header fixed olur, body üst boşluk alır. */
body.voc-hf-pinned .voc-hf-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    width: 100% !important;
}
/* Admin bar varken altına yerleş */
body.admin-bar.voc-hf-pinned .voc-hf-header { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar.voc-hf-pinned .voc-hf-header { top: 46px; }
}
.voc-hf-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Support */
.voc-hf-support {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.voc-hf-support-icon { color: #FF6A00; font-size: 22px; }
.voc-hf-support-text { display: flex; flex-direction: column; }
.voc-hf-support-label {
    font-size: 9px; font-weight: 700; letter-spacing: 1px;
    color: #aaa; text-transform: uppercase;
}
.voc-hf-support-phone {
    font-size: 15px; font-weight: 700; color: #FF6A00;
    text-decoration: none;
}

/* Nav */
.voc-hf-nav { display: flex; align-items: center; gap: 4px; }
.voc-hf-nav-item { position: relative; }
.voc-hf-nav-item > a,
.voc-hf-nav-logo {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 6px 12px;
    white-space: nowrap;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.voc-hf-nav-item > a:hover { color: #FF6A00; }
.voc-hf-nav-item > a .fa-chevron-down { font-size: 9px; margin-left: 3px; }

/* Logo in nav */
.voc-hf-nav-logo {
    display: flex; align-items: center; gap: 6px;
    padding: 0 16px;
}
.voc-hf-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #FF6A00, #FF8C1A);
    border-radius: 50% 50% 50% 10%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #fff; flex-shrink: 0;
}
.voc-hf-logo-text {
    font-size: 22px; font-weight: 900; letter-spacing: 1px;
    color: #fff; text-transform: uppercase;
}
.voc-hf-logo-text span { color: #FF6A00; }

/* Submenu (dropdown) */
.voc-hf-submenu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    z-index: 9999;
}
.voc-hf-nav-item.has-children:hover > .voc-hf-submenu,
.voc-hf-nav-item.has-children:focus-within > .voc-hf-submenu { display: block; }
.voc-hf-submenu li { list-style: none; }
.voc-hf-submenu a {
    display: block;
    padding: 8px 16px;
    color: #ccc;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .15s, color .15s;
}
.voc-hf-submenu a:hover { background: #252525; color: #FF6A00; }

/* Language selector */
.voc-hf-lang-selector { position: relative; flex-shrink: 0; }
.voc-hf-lang-toggle {
    background: #1e1e1e;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s, background .2s;
    white-space: nowrap;
}
.voc-hf-lang-toggle:hover { border-color: #FF6A00; background: #252525; }
.voc-hf-lang-toggle .voc-hf-lang-label { text-transform: uppercase; }
.voc-hf-lang-toggle .fa-chevron-down {
    font-size: 9px; color: #FF6A00; transition: transform .2s;
}
.voc-hf-lang-selector.open .voc-hf-lang-toggle .fa-chevron-down { transform: rotate(180deg); }
.voc-hf-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    z-index: 9999;
}
.voc-hf-lang-selector.open .voc-hf-lang-dropdown { display: block; }
.voc-hf-lang-option {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    font-size: 13px; font-weight: 600;
    color: #ccc; cursor: pointer;
    transition: background .15s, color .15s;
    border: none; background: none; width: 100%; text-align: left;
}
.voc-hf-lang-option .voc-hf-flag { font-size: 17px; }
.voc-hf-lang-option:hover { background: #252525; color: #fff; }
.voc-hf-lang-option.active { color: #FF6A00; background: #1e1e1e; }
.voc-hf-lang-option.active::after { content: '✓'; margin-left: auto; color: #FF6A00; font-size: 12px; }

/* ─── FOOTER ─── */
.voc-hf-footer {
    background: #1a1a1a;
    border-top: 1px solid #2a2a2a;
}
.voc-hf-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.voc-hf-footer-col h4 {
    font-size: 13px; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.voc-hf-footer-contact-block { margin-bottom: 18px; }
.voc-hf-footer-contact-block p {
    font-size: 13px; color: #aaa; line-height: 1.7;
}
.voc-hf-footer-contact-block a {
    display: block; font-size: 13px; color: #FF6A00; font-weight: 700;
    text-decoration: none; transition: color .2s;
}
.voc-hf-footer-contact-block a:hover { color: #FF8C1A; }
.voc-hf-footer-hours p { font-size: 13px; color: #aaa; line-height: 1.7; }
.voc-hf-footer-hours span { color: #3DB834; font-weight: 700; }

.voc-hf-footer-brand-logo {
    display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.voc-hf-footer-brand-logo .voc-hf-logo-text { font-size: 28px; }
.voc-hf-footer-desc {
    font-size: 13px; color: #aaa; line-height: 1.8; margin-bottom: 20px;
}
.voc-hf-footer-phone {
    font-size: 26px; font-weight: 900; color: #FF6A00;
    margin-bottom: 22px; display: block;
}
.voc-hf-footer-social { display: flex; gap: 10px; }
.voc-hf-footer-social a {
    width: 36px; height: 36px;
    border: 1px solid #444; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #aaa; font-size: 13px; text-decoration: none;
    transition: border-color .2s, color .2s;
}
.voc-hf-footer-social a:hover { border-color: #FF6A00; color: #FF6A00; }

.voc-hf-footer-image-wrap {
    position: relative; border-radius: 6px; overflow: hidden;
    height: 100%; min-height: 280px;
}
.voc-hf-footer-image-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.voc-hf-footer-badge {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 130px; height: 130px;
}
.voc-hf-badge-outer {
    width: 130px; height: 130px;
    border-radius: 50%; border: 2px dashed #fff;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: voc-hf-spin 12s linear infinite;
}
.voc-hf-badge-center {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #FF6A00, #FF8C1A);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: voc-hf-counter-spin 12s linear infinite;
    font-size: 22px; color: #fff;
}
@keyframes voc-hf-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes voc-hf-counter-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

.voc-hf-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 24px;
    border-top: 1px solid #2a2a2a;
    font-size: 13px; color: #777;
}
.voc-hf-footer-bottom a { color: #FF6A00; text-decoration: none; }
.voc-hf-footer-bottom a:hover { color: #FF8C1A; }

/* Responsive */
@media (max-width: 992px) {
    .voc-hf-footer-main { grid-template-columns: 1fr; }

    /* Header layout: logo | (lang + burger) */
    .voc-hf-header-inner { height: 64px; padding: 0 16px; gap: 10px; }
    .voc-hf-support { display: none; }
    .voc-hf-mobile-logo {
        display: flex; align-items: center; gap: 8px;
        text-decoration: none; margin-right: auto;
    }
    .voc-hf-mobile-logo .voc-hf-logo-icon { width: 34px; height: 34px; font-size: 14px; }
    .voc-hf-mobile-logo .voc-hf-logo-text { font-size: 19px; }

    .voc-hf-header-right { display: flex; align-items: center; gap: 8px; }

    /* Burger button */
    .voc-hf-burger {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 38px; height: 38px; padding: 0 8px;
        background: transparent; border: 1px solid #2a2a2a; border-radius: 4px;
        cursor: pointer;
    }
    .voc-hf-burger span {
        display: block; width: 100%; height: 2px; background: #fff;
        transition: transform .25s, opacity .2s;
    }
    .voc-hf-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .voc-hf-burger.is-open span:nth-child(2) { opacity: 0; }
    .voc-hf-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Nav becomes slide-down panel */
    .voc-hf-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #111;
        border-top: 1px solid #2a2a2a;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        z-index: 9998;
    }
    .voc-hf-nav.is-open { display: flex; }

    .voc-hf-nav-item { width: 100%; }
    .voc-hf-nav-item > a {
        padding: 14px 20px; width: 100%;
        border-bottom: 1px solid #1d1d1d;
        justify-content: space-between;
    }
    /* Logo inside nav (desktop) gizlenir, mobilde üstte zaten var */
    .voc-hf-nav .voc-hf-nav-logo { display: none; }

    /* Submenu mobilde accordion gibi */
    .voc-hf-submenu {
        position: static;
        display: none;
        border: none; box-shadow: none;
        background: #0c0c0c;
        border-radius: 0;
        padding: 4px 0;
    }
    .voc-hf-nav-item.has-children:hover > .voc-hf-submenu,
    .voc-hf-nav-item.has-children:focus-within > .voc-hf-submenu { display: none; }
    .voc-hf-nav-item.is-open > .voc-hf-submenu { display: block; }
    .voc-hf-nav-item.has-children > a .fa-chevron-down { transition: transform .2s; }
    .voc-hf-nav-item.is-open > a .fa-chevron-down { transform: rotate(180deg); }
    .voc-hf-submenu a { padding-left: 36px; }
}

/* Mobile-only öğeleri masaüstünde gizle */
@media (min-width: 993px) {
    .voc-hf-mobile-logo,
    .voc-hf-burger,
    .voc-hf-header-right { /* desktop'ta header-right wrapper'sız davransın */ }
    .voc-hf-mobile-logo { display: none; }
    .voc-hf-burger { display: none; }
    .voc-hf-header-right { display: flex; align-items: center; }
}
