/* =========================================================
   MASAÜSTÜ HAMBURGER PANELİ – SAĞDAN AÇILAN YAN PANEL
   Tüm sınıf ve keyframe adları "hmb-" öneklidir.
   ========================================================= */

/* --- ARKA PLAN KARARTMA --- */
.hmb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(6, 26, 58, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.hmb-overlay.hmb-open {
    opacity: 1;
    visibility: visible;
}

/* --- PANEL --- */
.hmb-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: clamp(400px, 42vw, 560px);
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 36px 0 0 36px;
    box-shadow: -20px 0 60px rgba(10, 43, 94, 0.25);
    overflow: hidden;
    font-family: var(--font-main, 'Jost', sans-serif);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.215, 0.61, 0.355, 1), visibility 0.55s;
}

.hmb-panel.hmb-open {
    transform: translateX(0);
    visibility: visible;
}

/* Sol kenarda turuncu → lacivert vurgu çizgisi */
.hmb-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--c-orange, #FF6B00), var(--c-blue, #0A2B5E));
    z-index: 3;
}

/* --- SÜS: SES DALGALARI --- */
.hmb-deco {
    position: absolute;
    right: -140px;
    bottom: 90px;
    width: 340px;
    height: 340px;
    pointer-events: none;
    z-index: 0;
}

.hmb-deco-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 107, 0, 0.18);
    animation: hmbRing 5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hmb-deco-ring-2 { animation-delay: 1.6s; border-color: rgba(10, 43, 94, 0.12); }
.hmb-deco-ring-3 { animation-delay: 3.2s; }

@keyframes hmbRing {
    0%   { transform: scale(0.35); opacity: 1; }
    100% { transform: scale(1.1);  opacity: 0; }
}

/* --- ÜST: LOGO + KAPAT --- */
.hmb-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 30px 20px 34px;
    border-bottom: 1px solid #EEF2F6;
}

.hmb-logo { display: inline-flex; }

.hmb-logo img {
    display: block;
    max-height: 58px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hmb-close {
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    color: var(--c-blue, #0A2B5E);
    border: 0;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease;
}

.hmb-close:hover {
    background: var(--c-orange, #FF6B00);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.hmb-close:focus-visible,
.hmb-cta:focus-visible,
.hmb-wa:focus-visible,
.hmb-social-link:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.55);
    outline-offset: 3px;
}

/* --- İÇERİK --- */
.hmb-body {
    position: relative;
    z-index: 2;
    flex: 1;
    overflow-y: auto;
    padding: 24px 30px 24px 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}

/* Sırayla belirme animasyonu */
.hmb-reveal {
    opacity: 0;
    transform: translateY(14px);
}

.hmb-panel.hmb-open .hmb-reveal {
    animation: hmbReveal 0.5s calc(0.25s + var(--i, 0) * 0.07s) ease forwards;
}

@keyframes hmbReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Giriş yazısı + ses dalgası göstergesi */
.hmb-intro {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0 6px;
}

.hmb-intro p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #64748B;
}

.hmb-eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    flex-shrink: 0;
}

.hmb-eq span {
    display: block;
    width: 4px;
    height: 100%;
    border-radius: 4px;
    background: var(--c-orange, #FF6B00);
    transform-origin: bottom;
    animation: hmbEq 1.1s ease-in-out infinite;
}
.hmb-eq span:nth-child(2) { background: var(--c-blue, #0A2B5E); animation-delay: -0.35s; }
.hmb-eq span:nth-child(3) { animation-delay: -0.7s; }
.hmb-eq span:nth-child(4) { background: var(--c-blue, #0A2B5E); animation-delay: -0.15s; }

@keyframes hmbEq {
    0%, 100% { transform: scaleY(0.3); }
    50%      { transform: scaleY(1); }
}

/* --- BİLGİ KARTLARI --- */
.hmb-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    background: #F8FAFC;
    border: 1px solid #EEF2F6;
    border-radius: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hmb-block:hover {
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 10px 26px rgba(10, 43, 94, 0.08);
}

.hmb-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--c-orange, #FF6B00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.hmb-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.hmb-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94A3B8;
}

.hmb-value {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--c-blue, #0A2B5E);
    text-decoration: none;
    overflow-wrap: anywhere;
}

a.hmb-value-link:hover { color: var(--c-orange, #FF6B00); }

.hmb-link {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--c-orange, #FF6B00);
    text-decoration: none;
}

.hmb-link i { transition: transform 0.3s ease; }
.hmb-link:hover i { transform: translateX(5px); }

/* --- WHATSAPP KARTI --- */
.hmb-wa {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(105deg, #25D366 0%, #1EBE5A 100%);
    color: #FFFFFF;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hmb-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
    color: #FFFFFF;
}

.hmb-wa-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hmb-wa-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.hmb-wa-text strong { font-size: 1rem; font-weight: 800; }
.hmb-wa-text small  { font-size: 0.82rem; opacity: 0.9; font-weight: 600; }
.hmb-wa-arrow { transition: transform 0.3s ease; }
.hmb-wa:hover .hmb-wa-arrow { transform: translateX(5px); }

/* --- ÇALIŞMA SAATLERİ --- */
.hmb-hours {
    padding: 16px 18px;
    background: #F8FAFC;
    border: 1px solid #EEF2F6;
    border-radius: 20px;
}

.hmb-hours-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.hmb-hours-head .hmb-label { display: inline-flex; align-items: center; gap: 7px; }
.hmb-hours-head .hmb-label i { color: var(--c-orange, #FF6B00); }

.hmb-status {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hmb-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.hmb-status.is-open   { color: #15803D; background: #DCFCE7; }
.hmb-status.is-closed { color: #B91C1C; background: #FEE2E2; }

.hmb-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hmb-hours-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.hmb-hours-list li.is-today {
    background: #FFFFFF;
    color: var(--c-blue, #0A2B5E);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(10, 43, 94, 0.06), inset 3px 0 0 var(--c-orange, #FF6B00);
}

/* --- SOSYAL MEDYA --- */
.hmb-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 0;
}

.hmb-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hmb-social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    color: var(--c-blue, #0A2B5E);
    border-radius: 50%;
    font-size: 1.15rem;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.hmb-social-link:hover {
    color: #FFFFFF;
    transform: translateY(-4px) scale(1.08);
}

.hmb-instagram:hover { background: linear-gradient(45deg, #F9A825 0%, #E1306C 50%, #833AB4 100%); box-shadow: 0 8px 18px rgba(225, 48, 108, 0.4); }
.hmb-youtube:hover   { background: #FF0000; box-shadow: 0 8px 18px rgba(255, 0, 0, 0.35); }
.hmb-facebook:hover  { background: #1877F2; box-shadow: 0 8px 18px rgba(24, 119, 242, 0.4); }
.hmb-x:hover         { background: #0F1419; box-shadow: 0 8px 18px rgba(15, 20, 25, 0.35); }
.hmb-tiktok:hover    { background: #010101; box-shadow: -2px 6px 0 rgba(37, 244, 238, 0.7), 2px 8px 0 rgba(254, 44, 85, 0.6); }

/* --- ALT: RANDEVU BUTONU --- */
.hmb-foot {
    position: relative;
    z-index: 2;
    padding: 18px 30px 26px 34px;
    border-top: 1px solid #EEF2F6;
    background: #FFFFFF;
}

.hmb-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: var(--c-orange, #FF6B00);
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.35);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hmb-cta:hover {
    background: var(--c-blue, #0A2B5E);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(10, 43, 94, 0.3);
}

/* Düşük yükseklikli ekranlar */
@media (max-height: 760px) {
    .hmb-top  { padding-top: 18px; padding-bottom: 14px; }
    .hmb-body { padding-top: 16px; gap: 10px; }
    .hmb-intro { display: none; }
}

/* Panel yalnızca masaüstünde açılır; mobilde hiç görünmesin */
@media (max-width: 992px) {
    .hmb-panel, .hmb-overlay { display: none; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .hmb-panel, .hmb-overlay { transition: none; }
    .hmb-reveal { opacity: 1; transform: none; }
    .hmb-panel.hmb-open .hmb-reveal { animation: none; }
    .hmb-deco-ring, .hmb-eq span { animation: none; }
}