/* =========================================================
   GLOBAL.CSS
   ========================================================= */


/* ---- Design Tokens ---- */

:root {
    --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --color-bg: #f5f1ee;
    --color-text: #1b1b1b;
    --color-muted: rgba(27, 27, 27, 0.45);
    --color-muted-2: rgba(27, 27, 27, 0.30);
    --color-accent: #b85b3e;
    --color-line: rgba(184, 91, 62, 0.55);
    --container: 1480px;
}


/* ---- Fonts ---- */

@font-face {
    font-family: 'Roslindale';
    src: url('Roslindale-TextRegular.woff2') format('woff2'), url('Roslindale-TextRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roslindale';
    src: url('Roslindale-TextMedium.woff2') format('woff2'), url('Roslindale-TextMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roslindale';
    src: url('Roslindale-TextBold.woff2') format('woff2'), url('Roslindale-TextBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---- Base Reset ---- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: var(--container);
    margin: 0px auto;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #f6f1ee;
}


/* ---------- HERO / MARQUEE ---------- */

.footer-hero {
    overflow: hidden;
    padding: 140px 0 60px;
}

.footer-marquee {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.footer-marquee span {
    font-family: "Roslindale", serif;
    font-size: 112px;
    /* FIGMA */
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    margin-right: 120px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .18);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* ---------- DIVIDER ---------- */

.footer-divider {
    width: 85%;
    height: 1px;
    background: rgba(184, 91, 62, .6);
    margin: 0 auto 90px;
}


/* ---------- MAIN GRID (5 COL) ---------- */

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 96px;
}


/* ---------- COLUMNS ---------- */

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-family: "Roslindale", serif;
    font-size: 16px;
    /* FIGMA */
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 18px;
}

.footer-col ul li a {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    /* FIGMA */
    letter-spacing: 0.14em;
    line-height: 1.9;
    text-transform: uppercase;
    color: #b85b3e;
}


/* ---------- INFO ROW ---------- */

.footer-info {
    max-width: var(--container);
    margin: 120px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 120px;
}

.footer-info-item span {
    font-size: 12px;
    /* FIGMA */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(27, 27, 27, .45);
    display: block;
    margin-bottom: 14px;
}

.footer-info-item a {
    font-size: 20px;
    /* FIGMA */
    color: #b85b3e;
}

.footer-location p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/* ---------- SOCIAL ---------- */

.footer-social {
    max-width: var(--container);
    margin: 80px auto 0;
    padding-bottom: 140px;
}

.footer-social span {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(27, 27, 27, .45);
}

.social-icons {
    margin-top: 22px;
    display: flex;
    gap: 28px;
}

.social-icons img {
    width: 22px;
    height: 22px;
    opacity: .9;
    transition: .2s;
}

.social-icons a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}


/* ---------- BOTTOM ---------- */

.footer-bottom {
    background: #ffffff;
}

.footer-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    /* FIGMA */
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(27, 27, 27, .45);
}

.footer-links {
    display: flex;
    gap: 40px;
}


/* =========================================================
   HEADER + OVERLAY MENU
   ========================================================= */


/* hidden attribute'ı CSS ezmesin */


/* =========================================================
   OVERLAY MENU (class-based)
   ========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: 1fr 520px;
    /* CLOSED STATE */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}


/* OPEN STATE */

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-header__top {
    max-width: var(--container);
    margin: 0px auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1200;
    background: transparent;
    color: #fff;
    transition: .3s all linear;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .96);
    color: #1b1b1b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    backdrop-filter: blur(10px);
}

header.is-scrolled .site-header__logo img {
    height: 42px;
    filter: invert(100);
}

.site-header.is-scrolled .booking-btn svg {
    filter: invert(100);
}

header.is-scrolled .site-header__top {
    padding: 10px 0;
}

.site-header__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px 0;
}

.site-header__left {
    justify-self: start;
}

.site-header__right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__logo {
    transition: .3s all linear;
}

.site-header__logo img {
    height: 84px;
    width: auto;
    transition: .3s all linear;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .12));
}


/* menu toggle */

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 10px 12px;
}

.menu-toggle__label {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    opacity: .9;
}

.menu-toggle__icon {
    width: 18px;
    height: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle__icon span {
    display: block;
    height: 1px;
    background: currentColor;
    opacity: .9;
}


/* booking button */

.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .55);
    color: inherit;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.site-header.is-scrolled .booking-btn {
    border-color: rgba(27, 27, 27, .25);
}

.booking-btn:hover {
    background: rgba(255, 255, 255, .12);
}

.site-header.is-scrolled .booking-btn:hover {
    background: rgba(184, 91, 62, .08);
    border-color: rgba(184, 91, 62, .55);
}


/* bottom nav row */

.site-header__nav {
    border-top: 1px solid rgba(255, 255, 255, .20);
    padding: 14px 0;
}

.site-header.is-scrolled .site-header__nav {
    border-top-color: rgba(27, 27, 27, .10);
}

.site-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 56px;
}

.site-nav a {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: inherit;
    opacity: .9;
}

.site-nav a:hover {
    opacity: 1;
}

/* Active page link */
.site-nav a.is-active {
    color: var(--color-accent, #b85b3e);
    opacity: 1;
}

.site-header.is-scrolled .site-nav a.is-active {
    color: var(--color-accent, #b85b3e);
}


/* =========================================================
   OVERLAY MENU
   ========================================================= */

.menu-overlay__left {
    position: relative;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .65) 100%), var(--menu-bg);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 46px 70px;
}

.menu-close {
    position: absolute;
    top: 34px;
    left: 34px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close span {
    font-size: 22px;
    line-height: 1;
}

.menu-overlay__nav {
    height: 100%;
    display: grid;
    grid-template-columns: 420px 360px;
    align-items: center;
    gap: 80px;
}


/* primary big list */

.menu-primary {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.menu-primary__item {
    font-family: "Roslindale", serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.1;
    color: rgba(255, 255, 255, .90);
    width: fit-content;
}

.menu-primary__item.is-active {
    text-decoration: underline;
    text-underline-offset: 10px;
}

.menu-primary__small {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-primary__small a {
    font-family: "Roslindale", serif;
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, .75);
}


/* secondary list */

.menu-secondary {
    display: grid;
    align-content: center;
    gap: 10px;
}

.menu-secondary__group {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.menu-secondary__group.is-active {
    display: flex;
}

.menu-secondary__group a {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .80);
    position: relative;
    width: fit-content;
}

.menu-secondary__group a:hover {
    color: #fff;
}

.menu-secondary__group a.is-current {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.menu-secondary__arrow {
    display: inline-block;
    margin-right: 10px;
    opacity: .85;
}


/* right orange panel */

.menu-overlay__right {
    background: #b85b3e;
    color: #fff;
    padding: 60px 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-brand {
    text-align: center;
    margin-top: 20px;
}

.menu-brand__mark {
    height: 100px;
    margin: 0 auto 14px;
}

.menu-brand__name {
    font-family: "Roslindale", serif;
    font-size: 22px;
    letter-spacing: 0.06em;
}

.menu-brand__place {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    margin-top: 6px;
    opacity: .9;
}

.menu-brand__line {
    width: 170px;
    height: 1px;
    background: rgba(255, 255, 255, .55);
    margin: 16px auto 10px;
}

.menu-brand__sub {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    opacity: .95;
}

.menu-info {
    text-align: center;
    display: grid;
    gap: 34px;
    margin-top: 40px;
}

.menu-info__label {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: 10px;
}

.menu-info__value {
    font-family: "Roslindale", serif;
    font-size: 18px;
    line-height: 1.45;
}

.menu-info__link {
    color: #fff;
}

.menu-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}

.menu-social img {
    width: 18px;
    height: 18px;
    display: block;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
}

.menu-social a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}