/* Kaptan VIP — shared design tokens, buttons, header and footer */
:root {
    --kh-navy: #0b1a2e;
    --kh-navy-2: #12243d;
    --kh-gold: #e8b45a;
    --kh-gold-dark: #d49c3c;
    --kh-blue: #2f80c9;
    --kh-text: #0f1b2d;
    --kh-muted: #5b6b80;
    --kh-line: #e6ecf2;
    --kh-tint: #f2f7fc;
}

/* Buttons */
.kh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all .2s ease; border: 1.5px solid transparent; line-height: 1.2; white-space: nowrap; }
.kh-btn:hover { text-decoration: none; transform: translateY(-2px); }
.kh-btn-gold { background: var(--kh-gold); color: var(--kh-navy); }
.kh-btn-gold:hover { background: var(--kh-gold-dark); color: var(--kh-navy); }
.kh-btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.kh-btn-outline:hover { background: #fff; color: var(--kh-navy); }
.kh-btn-navy { background: var(--kh-navy); color: #fff; padding: 11px 22px; font-size: 14px; }
.kh-btn-navy:hover { background: var(--kh-blue); color: #fff; }

/* Logo */
.kh-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; }
.kh-logo:hover { text-decoration: none; }
.kh-logo-mark { font-size: 34px; font-weight: 900; line-height: 1; color: var(--kh-gold); font-style: italic; letter-spacing: -1px; }
.kh-logo-text { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.kh-logo-text b { color: var(--kh-gold); font-weight: 700; margin-left: 4px; }

/* Header */
.kh-header { position: fixed; top: 0; left: 0; right: 0; z-index: 999; background: var(--kh-navy); transition: background .3s ease, box-shadow .3s ease; }
.kh-header.is-transparent { background: transparent; }
.kh-header.is-scrolled { background: rgba(11,26,46,.97); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.kh-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .3s ease; }
.kh-header.is-scrolled .kh-header-inner { height: 72px; }
.kh-nav ul { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.kh-nav a { position: relative; display: block; padding: 8px 0; color: rgba(255,255,255,.88); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.kh-nav a:hover, .kh-nav a.is-active { color: var(--kh-gold); text-decoration: none; }
.kh-nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--kh-gold); }
.kh-header-actions { display: flex; align-items: center; gap: 22px; }
.kh-lang-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 6px 0; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.kh-lang-btn:focus { outline: none; }
.kh-lang-caret { font-size: 10px; opacity: .8; }
.kh-lang-menu { min-width: 150px; border: 0; border-radius: 10px; padding: 6px; box-shadow: 0 12px 30px rgba(15,27,45,.18); }
.kh-lang-menu .dropdown-item { border-radius: 6px; padding: 8px 12px; font-size: 14px; color: var(--kh-text); }
.kh-lang-menu .dropdown-item.active, .kh-lang-menu .dropdown-item:active { background: var(--kh-tint); color: var(--kh-blue); }
[dir="rtl"] .kh-lang-menu { text-align: right; }
.kh-header-cta { padding: 12px 24px; font-size: 14px; }
.kh-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: 0; cursor: pointer; }
.kh-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; }
.kh-burger:focus { outline: none; }

/* Mobile menu (uses the theme's .mobile-menu slide-in) */
.kh-mobile-menu .nav-logo { padding: 22px 20px; }
.kh-mobile-menu .kh-logo-text { color: var(--kh-navy); }
.kh-mobile-menu .navigation li.current > a { color: var(--kh-blue); font-weight: 600; }
[dir="rtl"].kh-mobile-menu .navigation li > a, [dir="rtl"].kh-mobile-menu .nav-logo { text-align: right; }
.kh-mobile-langs { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px; }
.kh-mobile-langs a { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--kh-line); color: var(--kh-text); font-size: 14px; text-decoration: none; }
.kh-mobile-langs a.is-active { background: var(--kh-navy); border-color: var(--kh-navy); color: #fff; }
.kh-mobile-cta { padding: 0 20px 30px; }
.kh-mobile-cta .kh-btn { width: 100%; }

/* Footer */
.kh-footer { background: var(--kh-navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.kh-footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.kh-footer-brand p { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.kh-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.kh-footer-nav a, .kh-footer-legal a { color: rgba(255,255,255,.85); font-size: 14px; text-decoration: none; transition: color .2s ease; }
.kh-footer-nav a:hover, .kh-footer-nav a.is-active, .kh-footer-legal a:hover { color: var(--kh-gold); text-decoration: none; }
.kh-footer-social { display: flex; justify-content: flex-end; gap: 12px; }
.kh-footer-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.08); font-size: 15px; transition: all .2s ease; }
.kh-footer-social a:hover { background: var(--kh-gold); color: var(--kh-navy); }
.kh-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 13px; }
.kh-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.kh-footer-legal a { font-size: 13px; }

@media (max-width: 1199px) {
    .kh-nav ul { gap: 26px; }
}
@media (max-width: 991px) {
    .kh-nav, .kh-header-cta { display: none; }
    .kh-burger { display: flex; }
    .kh-header-inner, .kh-header.is-scrolled .kh-header-inner { height: 72px; }
    .kh-footer-top { grid-template-columns: 1fr; text-align: center; }
    .kh-footer-social { justify-content: center; }
    .kh-footer-bottom { flex-direction: column; text-align: center; }
    .kh-footer-legal { justify-content: center; }
}
@media (max-width: 575px) {
    .kh-header-actions { gap: 12px; }
    .kh-logo-mark { font-size: 28px; }
    .kh-logo-text { font-size: 19px; }
}
