/* ==========================================================================
   Yerleşim — duyuru bandı, üst menü, mobil menü, alt eylem çubuğu, alt bilgi
   ========================================================================== */

/* ---------- Duyuru bandı ---------- */
.announce {
    position: relative;
    z-index: calc(var(--z-header) + 1);
    background: var(--c-eucalyptus);
    color: #f5f1ea;
    font-size: var(--fs-sm);
}

.announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 42px;
    padding: 0.4rem 3rem;
    text-align: center;
}

.announce__inner a {
    color: #fff;
    font-weight: 700;
}

.announce__close {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    transform: translateY(-50%);
    cursor: pointer;
}

.announce__close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.announce.is-hidden {
    display: none;
}

/* ---------- Üst menü ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    transition:
        background var(--t-med),
        box-shadow var(--t-med),
        backdrop-filter var(--t-med);
}

.site-header.is-scrolled {
    background: rgba(251, 247, 241, 0.86);
    box-shadow: 0 1px 0 var(--c-mist), 0 10px 30px -20px rgba(43, 34, 29, 0.35);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.site-header .container-wide {
    max-width: 1440px;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--header-h);
}

/* Marka kilidi: zevo.dev logosu + "Masaj & Spa" */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex: none;
    color: var(--c-ink);
    text-decoration: none;
}

.brand img {
    width: auto;
    height: 26px;
}

.brand__tag {
    padding-left: 0.75rem;
    border-left: 1px solid var(--c-linen);
    font-family: var(--f-display);
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.05;
    color: var(--c-clay);
}

.brand:hover {
    color: var(--c-ink);
}

@media (min-width: 992px) {
    .brand img {
        height: 30px;
    }
}

/* Masaüstü gezinme */
.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    position: relative;
    display: block;
    padding: 0.55rem 0.8rem;
    border-radius: var(--r-pill);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--c-ink);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
}

.main-nav a:hover {
    background: rgba(180, 97, 58, 0.08);
    color: var(--c-clay-deep);
}

.main-nav a.is-active {
    color: var(--c-clay);
}

.main-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 0.6rem;
    color: var(--c-ink);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.header-phone i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-linen);
    border-radius: 50%;
    color: var(--c-clay);
}

.header-phone span {
    white-space: nowrap;
}

.header-phone small {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-ink-mute);
}

.header-book {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0 13px;
    border: 1px solid var(--c-linen);
    border-radius: 50%;
    background: var(--c-paper);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--c-ink);
    border-radius: 2px;
}

.nav-toggle span:nth-child(2) {
    width: 70%;
}

@media (min-width: 768px) {
    .header-book {
        display: inline-flex;
    }
}

@media (min-width: 1200px) {
    .main-nav {
        display: block;
    }

    .nav-toggle {
        display: none;
    }
}

@media (min-width: 1400px) {
    .header-phone {
        display: inline-flex;
    }
}

/* ---------- Mobil menü (Bootstrap offcanvas özelleştirmesi) ---------- */
.offcanvas.spa-drawer {
    --bs-offcanvas-width: min(420px, 100vw);
    --bs-offcanvas-bg: var(--c-stone);
    --bs-offcanvas-color: var(--c-sand);
    border-left: 0 !important;
}

.spa-drawer .offcanvas-header {
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--c-stone-line);
}

.spa-drawer .brand {
    color: var(--c-sand);
}

.spa-drawer .brand__tag {
    border-color: var(--c-stone-line);
    color: var(--c-brass);
}

.drawer-close {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--c-stone-line);
    border-radius: 50%;
    background: transparent;
    color: var(--c-sand);
    font-size: 1.1rem;
}

.spa-drawer .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.drawer-nav {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
    counter-reset: dnav;
}

.drawer-nav li {
    counter-increment: dnav;
    border-bottom: 1px solid var(--c-stone-line);
}

.drawer-nav a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    font-family: var(--f-display);
    font-size: 1.65rem;
    color: var(--c-sand);
    text-decoration: none;
}

.drawer-nav a::before {
    content: "0" counter(dnav);
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--c-brass);
}

.drawer-nav a:hover {
    color: var(--c-brass);
}

.drawer-meta {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: rgba(243, 234, 223, 0.7);
}

.drawer-meta a {
    color: var(--c-sand);
}

/* ---------- Mobil alt eylem çubuğu ---------- */
.mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-mobilebar);
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(42, 34, 29, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform var(--t-med) var(--ease-out);
}

.mobile-bar.is-visible {
    transform: none;
}

.mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-sand);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.07);
}

.mobile-bar a.is-primary {
    background: var(--c-clay);
    color: #fff;
}

.mobile-bar .bi-whatsapp {
    color: #6fd391;
}

@media (min-width: 768px) {
    .mobile-bar {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

/* ---------- Yukarı çık + kaydırma ilerlemesi ---------- */
.to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: var(--z-mobilebar);
    display: none;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--c-paper);
    color: var(--c-ink);
    box-shadow: var(--sh-lift);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
    cursor: pointer;
}

.to-top svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.to-top circle {
    fill: none;
    stroke: var(--c-clay);
    stroke-width: 2;
    stroke-linecap: round;
}

.to-top.is-visible {
    opacity: 1;
    transform: none;
}

@media (min-width: 768px) {
    .to-top {
        display: grid;
    }
}

/* ---------- Alt bilgi ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--c-stone);
    color: rgba(243, 234, 223, 0.72);
    font-size: var(--fs-sm);
}

.site-footer a {
    color: rgba(243, 234, 223, 0.85);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--c-brass);
}

.footer-cta {
    display: grid;
    gap: 2rem;
    padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
    border-bottom: 1px solid var(--c-stone-line);
}

.footer-cta h2 {
    max-width: 14ch;
    margin: 0;
    color: var(--c-sand);
    font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.8rem);
}

.footer-cta h2 em {
    color: var(--c-brass);
}

.footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-self: end;
}

@media (min-width: 992px) {
    .footer-cta {
        grid-template-columns: 1.4fr 1fr;
        align-items: end;
    }

    .footer-cta__actions {
        justify-content: flex-end;
    }
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-block: 3.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    }
}

.footer-title {
    margin-bottom: 1.1rem;
    font-family: var(--f-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-brass);
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-hours {
    display: grid;
    gap: 0.5rem;
    margin: 0;
}

.footer-hours div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--c-stone-line);
}

.footer-hours dt {
    font-weight: 500;
}

.footer-hours dd {
    margin: 0;
    color: var(--c-sand);
}

.newsletter {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.35rem;
    border: 1px solid var(--c-stone-line);
    border-radius: var(--r-pill);
}

.newsletter input {
    flex: 1;
    min-width: 0;
    padding: 0 0.9rem;
    border: 0;
    background: transparent;
    color: var(--c-sand);
    font: inherit;
    font-size: 1rem;
}

.newsletter input::placeholder {
    color: rgba(243, 234, 223, 0.45);
}

.newsletter input:focus {
    outline: none;
}

.newsletter button {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--c-clay);
    color: #fff;
}

.social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--c-stone-line);
    border-radius: 50%;
    font-size: 1rem;
}

.social a:hover {
    border-color: var(--c-brass);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--c-stone-line);
    font-size: var(--fs-xs);
}

.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-credit img {
    width: auto;
    height: 16px;
    opacity: 0.8;
}

/* Alt bilgideki dev silik yazı */
.footer-watermark {
    margin: 0;
    padding-bottom: 0.5rem;
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 15vw, 13rem);
    font-style: italic;
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-align: center;
    white-space: nowrap;
    color: rgba(243, 234, 223, 0.05);
    user-select: none;
}

/* ---------- Çerez bildirimi ---------- */
.cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: var(--z-cookie);
    display: none;
    max-width: 440px;
    padding: 1.25rem;
    border-radius: var(--r-lg);
    background: var(--c-paper);
    box-shadow: var(--sh-lift);
    font-size: var(--fs-sm);
}

.cookie.is-visible {
    display: block;
    animation: rise var(--t-med) var(--ease-out);
}

.cookie p {
    margin-bottom: 1rem;
    color: var(--c-ink-soft);
}

.cookie__actions {
    display: flex;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .cookie {
        left: 1.5rem;
        right: auto;
        bottom: 1.5rem;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
