/* =========================================================
   ALİBEYKÖY ADIYAMAN ÇİĞ KÖFTE
   HEADER
========================================================= */

.site-header,
.site-header * {
    box-sizing: border-box;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 990;
    width: 100%;
    border-bottom: 1px solid rgba(3, 44, 32, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 35px rgba(3, 44, 32, 0.045);
    font-family: "Inter", Arial, sans-serif;
    backdrop-filter: blur(18px);
    transition:
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 14px 38px rgba(3, 44, 32, 0.09);
}

.site-header__inner {
    position: relative;
    display: grid;
    width: min(calc(100% - 48px), 1450px);
    min-height: 94px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 38px;
    margin: 0 auto;
}

/* =========================================================
   LOGO VE MARKA
========================================================= */

.site-header__brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    color: #032c20;
    text-decoration: none;
}

.site-header__logo-frame {
    position: relative;
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(10, 82, 60, 0.13);
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 9px 22px rgba(3, 44, 32, 0.09),
        inset 0 0 0 4px rgba(234, 244, 239, 0.72);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.site-header__logo-frame::after {
    content: "";
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 7px;
    height: 7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #d7a938;
}

.site-header__logo {
    display: block;
    width: 53px;
    height: 53px;
    object-fit: contain;
}

.site-header__brand:hover .site-header__logo-frame {
    box-shadow:
        0 13px 27px rgba(3, 44, 32, 0.13),
        inset 0 0 0 4px rgba(234, 244, 239, 0.78);
    transform: translateY(-2px);
}

.site-header__brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.site-header__brand-copy strong {
    color: #032c20;
    font-family: "Bricolage Grotesque", "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    white-space: nowrap;
}

.site-header__brand-copy small {
    color: #788b83;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.19em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* =========================================================
   MASAÜSTÜ MENÜ
========================================================= */

.site-navigation {
    min-width: 0;
}

.site-navigation__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation__item {
    margin: 0;
    padding: 0;
}

.site-navigation__link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 12px;
    color: #53675f;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.site-navigation__link::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c99220, #f0d17a);
    opacity: 0;
    transform: scaleX(0.25);
    transition:
        opacity 0.2s ease,
        transform 0.25s ease;
}

.site-navigation__link:hover {
    background: #f3f7f5;
    color: #032c20;
}

.site-navigation__link:hover::after,
.site-navigation__link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-navigation__link.is-active {
    background: #eef5f1;
    color: #032c20;
}

/* =========================================================
   SAĞ İŞLEM ALANI
========================================================= */

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
}

.site-header__status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 17px;
    border-right: 1px solid #dce7e2;
}

.site-header__status-dot {
    position: relative;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #1da56f;
    box-shadow: 0 0 0 5px rgba(29, 165, 111, 0.1);
}

.site-header__status-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(29, 165, 111, 0.4);
    border-radius: inherit;
    animation: headerStatusPulse 2.2s ease-out infinite;
}

.site-header__status-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-header__status-copy small {
    color: #788b83;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
}

.site-header__status-copy strong {
    color: #032c20;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

/* SİPARİŞ BUTONU */

.site-header__order-button {
    position: relative;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid rgba(215, 169, 56, 0.45);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            #0a523c 0%,
            #032c20 100%
        );
    box-shadow:
        0 12px 25px rgba(3, 44, 32, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.site-header__order-button::before {
    content: "";
    position: absolute;
    top: -90%;
    left: -35%;
    width: 42px;
    height: 145px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.23),
            transparent
        );
    opacity: 0;
    transform: rotate(24deg);
    transition:
        left 0.55s ease,
        opacity 0.2s ease;
}

.site-header__order-button:hover {
    box-shadow:
        0 16px 32px rgba(3, 44, 32, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.site-header__order-button:hover::before {
    left: 120%;
    opacity: 1;
}

.site-header__order-button .ph-whatsapp-logo {
    position: relative;
    z-index: 1;
    font-size: 20px;
}

.site-header__order-button .ph-arrow-up-right {
    position: relative;
    z-index: 1;
    color: #f0d17a;
    font-size: 15px;
}

.site-header__order-button span {
    position: relative;
    z-index: 1;
}

/* =========================================================
   MOBİL MENÜ BUTONU
========================================================= */

.site-header__menu-button {
    display: none;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid #ccdbd5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(3, 44, 32, 0.07);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.site-header__menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #032c20;
    transition:
        transform 0.28s ease,
        opacity 0.2s ease;
}

.site-header__menu-button:hover {
    border-color: #d7a938;
    background: #fffdf8;
}

.site-header__menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-header__menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBİL MENÜ PANELİ
========================================================= */

.mobile-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    background: rgba(255, 255, 255, 0.99);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
        max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.35s ease,
        border-color 0.25s ease;
    backdrop-filter: blur(20px);
}

.site-header.is-menu-open .mobile-navigation {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-top-color: #dce7e2;
    box-shadow: 0 22px 42px rgba(3, 44, 32, 0.14);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-navigation__inner {
    width: min(calc(100% - 32px), 760px);
    margin: 0 auto;
    padding: 22px 0 28px;
}

.mobile-navigation__list {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-navigation__link {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #42584f;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        padding 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.mobile-navigation__link i {
    color: #c99220;
    font-size: 17px;
}

.mobile-navigation__link:hover,
.mobile-navigation__link.is-active {
    padding-right: 17px;
    padding-left: 17px;
    border-color: #dce7e2;
    background: #f3f7f5;
    color: #032c20;
}

.mobile-navigation__contact {
    margin-top: 20px;
    padding: 19px;
    border: 1px solid rgba(10, 82, 60, 0.12);
    border-radius: 19px;
    background:
        linear-gradient(
            135deg,
            #f4f8f6 0%,
            #ffffff 100%
        );
}

.mobile-navigation__contact p {
    max-width: 480px;
    margin: 0 0 15px;
    color: #60746c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.mobile-navigation__contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.mobile-navigation__contact-button {
    display: inline-flex;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #c5d7cf;
    border-radius: 12px;
    background: #ffffff;
    color: #032c20;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-navigation__contact-button i {
    font-size: 18px;
}

.mobile-navigation__contact-button--primary {
    border-color: #0a523c;
    background: #0a523c;
    color: #ffffff;
}

.mobile-navigation__location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #60746c;
    font-size: 11px;
    font-weight: 700;
}

.mobile-navigation__location i {
    color: #c99220;
    font-size: 17px;
}

/* =========================================================
   KLAVYE ODAĞI
========================================================= */

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid rgba(215, 169, 56, 0.36);
    outline-offset: 3px;
}

/* =========================================================
   ANİMASYON
========================================================= */

@keyframes headerStatusPulse {
    0% {
        opacity: 0.75;
        transform: scale(0.65);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}

/* =========================================================
   KÜÇÜK MASAÜSTÜ
========================================================= */

@media (max-width: 1250px) {
    .site-header__inner {
        gap: 24px;
    }

    .site-navigation__link {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }

    .site-header__status {
        display: none;
    }
}

/* =========================================================
   TABLET VE MOBİL MENÜ
========================================================= */

@media (max-width: 1040px) {
    .site-header__inner {
        min-height: 84px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-navigation {
        display: none;
    }

    .site-header__menu-button {
        display: flex;
    }
}

/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 640px) {
    .site-header__inner {
        width: calc(100% - 24px);
        min-height: 76px;
        gap: 10px;
    }

    .site-header__brand {
        gap: 9px;
    }

    .site-header__logo-frame {
        width: 51px;
        height: 51px;
        flex-basis: 51px;
        border-radius: 15px;
    }

    .site-header__logo {
        width: 42px;
        height: 42px;
    }

    .site-header__logo-frame::after {
        right: 4px;
        bottom: 4px;
        width: 6px;
        height: 6px;
    }

    .site-header__brand-copy {
        gap: 1px;
    }

    .site-header__brand-copy strong {
        max-width: 142px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header__brand-copy small {
        font-size: 8px;
        letter-spacing: 0.15em;
    }

    .site-header__actions {
        gap: 7px;
    }

    .site-header__order-button {
        width: 47px;
        min-height: 47px;
        padding: 0;
        border-radius: 13px;
    }

    .site-header__order-button span,
    .site-header__order-button .ph-arrow-up-right {
        display: none;
    }

    .site-header__order-button .ph-whatsapp-logo {
        font-size: 22px;
    }

    .site-header__menu-button {
        width: 47px;
        height: 47px;
        flex-basis: 47px;
        border-radius: 13px;
    }

    .mobile-navigation__inner {
        width: calc(100% - 24px);
        padding-top: 16px;
    }

    .mobile-navigation__link {
        min-height: 49px;
        padding: 0 12px;
        font-size: 13px;
    }

    .mobile-navigation__contact {
        padding: 16px;
    }

    .mobile-navigation__contact-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mobile-navigation__contact-button {
        width: 100%;
        padding: 0 10px;
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .site-header__brand-copy strong {
        max-width: 116px;
        font-size: 11px;
    }

    .site-header__brand-copy small {
        font-size: 7.5px;
    }

    .site-header__logo-frame {
        width: 47px;
        height: 47px;
        flex-basis: 47px;
    }

    .site-header__logo {
        width: 39px;
        height: 39px;
    }

    .site-header__order-button,
    .site-header__menu-button {
        width: 44px;
        min-height: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .mobile-navigation__contact-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   HAREKET AZALTMA TERCİHİ
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header *::before,
    .site-header *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}