:root {
    --ivory: #FBF8F2;
    --cream: #F1E7D4;
    --gold: #B8956A;
    --gold-deep: #7F6137;
    --espresso: #2A2420;
    --taupe: #5F564C;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --t0: 0.15s;
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .25 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.seen { --t0: 0.1s; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background: var(--espresso);
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--espresso);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- ARKA PLAN SLAYTLARI ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--espresso); }

.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1);
    transition: opacity 1.8s ease-in-out, transform 14s linear;
}
.slide:nth-child(2) { transform-origin: 30% 60%; }
.slide:nth-child(3) { transform-origin: 70% 40%; }
.slide.active { opacity: 1; transform: scale(1.1); }

.card-preview .slide { opacity: 0; }
.card-preview .slide.active { opacity: 1; }

/* Sıcak espresso gölgesi: başlık okunur, kartlar kremsi kalır */
.bg-overlay {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(80% 60% at 50% 48%, rgba(251, 240, 220, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(34, 26, 20, 0.66) 0%, rgba(52, 41, 32, 0.36) 46%, rgba(34, 26, 20, 0.70) 100%);
}
.bg-overlay::after {
    content: ''; position: absolute; inset: 0;
    background: var(--grain); opacity: 0.12; mix-blend-mode: soft-light;
}

/* ---------- AÇILIŞ PERDESİ: buzlu krem cam ---------- */
.veil {
    position: fixed; inset: 0; z-index: 50;
    display: grid; place-items: center;
    background: radial-gradient(120% 90% at 50% 38%, rgba(255, 251, 243, 0.92), rgba(236, 223, 200, 0.90));
    -webkit-backdrop-filter: blur(28px) saturate(1.2);
    backdrop-filter: blur(28px) saturate(1.2);
    animation: veilOut 0.65s cubic-bezier(0.7, 0, 0.2, 1) 0.15s forwards;
}
.veil::before {
    content: ''; position: absolute; inset: 0;
    background: var(--grain); opacity: 0.4; mix-blend-mode: multiply;
}
.seen .veil { display: none; }

.veil-mark { position: relative; width: 128px; height: 128px; display: grid; place-items: center; animation: mark-arrive 1.1s var(--ease) both; }
.veil-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.veil-mark circle {
    fill: none; stroke: var(--gold); stroke-width: 0.8;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
.veil-mark b {
    font-family: 'Cormorant Garamond', serif; font-weight: 500;
    font-size: 2.1rem; letter-spacing: 0.08em; color: var(--espresso);
    padding-left: 0.08em; animation: fade 1.2s ease 0.7s both;
}
.veil-name {
    position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%);
    white-space: nowrap; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.38em;
    text-transform: uppercase; color: var(--gold-deep);
    animation: fade 1.2s ease 1.1s both;
}

.veil-mark::after { content: ''; position: absolute; inset: -18px; border: 1px solid rgba(184, 149, 106, 0.22); border-radius: 50%; animation: halo 2.8s ease-out .25s both; }
@keyframes halo { 0% { transform: scale(.72); opacity: 0; } 35% { opacity: .8; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes mark-arrive { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes veilOut {
    0%   { opacity: 1; -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); transform: scale(1); }
    99%  { visibility: visible; }
    100% { opacity: 0; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transform: scale(1.04); visibility: hidden; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(34px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- SAYFA İSKELETİ ---------- */
.gateway {
    position: relative; z-index: 1;
    min-height: 100vh; min-height: 100dvh;
    display: grid; grid-template-rows: auto 1fr auto; align-items: center;
    padding: clamp(8px, 1.4vh, 18px) 24px 0;
}

.gateway-header { text-align: center; margin-bottom: clamp(18px, 3vh, 32px); animation: rise 1.5s var(--ease) var(--t0) both; display: flex; flex-direction: column; align-items: center; }

.group-logo {
    width: auto;
    max-width: 480px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 10px 48px rgba(20, 14, 9, 0.45));
}

.group-subtext {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font: 400 0.88rem 'Montserrat', system-ui, sans-serif;
    letter-spacing: 0.08em;
    color: #EBDDC3;
    text-shadow: 0 4px 30px rgba(20, 14, 9, 0.4);
}

.group-subtext h1 {
    font-size: 1.02rem;
    letter-spacing: 0.12em;
    font-weight: 500;
}

/* ---------- MARKA KARTLARI: şeffaf krem cam + doku ---------- */
.brands {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    width: 100%; max-width: 1440px; margin-inline: auto;
    align-self: end;
}

.card {
    --mx: 50%; --my: 0%;
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 0; padding: 12px 20px 0;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    text-decoration: none; color: var(--espresso);
    background: radial-gradient(140% 140% at 50% 0%, rgba(255, 250, 231, 0.32) 0%, rgba(250, 238, 209, 0.18) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(250, 235, 207, 0.42);
    border-radius: 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 236, 0.42),
        inset 0 -40px 60px -40px rgba(184, 149, 106, 0.08),
        0 26px 60px -20px rgba(18, 12, 8, 0.38);
    transition: transform 1s var(--ease), box-shadow 0.9s var(--ease), border-color 0.8s var(--ease), background 0.8s var(--ease), backdrop-filter 0.8s var(--ease), opacity 0.9s var(--ease), filter 0.9s var(--ease);
    animation: rise 1.3s var(--ease) calc(var(--t0) + 0.25s + var(--i) * 0.13s) backwards;
}

.liquid-card > * {
    position: relative;
    z-index: 1;
}

.card-lg {
    min-height: 0;
}

.card-logo {
    width: min(100%, 196px);
    max-width: 100%;
    height: 74px;
    object-fit: contain;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 18px rgba(20, 14, 9, 0.12));
}

.card-slogan-text {
    margin: 4px 0;
    color: var(--gold-deep);
    font: 500 0.58rem 'Montserrat', system-ui, sans-serif;
    letter-spacing: 0.22em;
    line-height: 1.35;
    text-transform: uppercase;
}

.card-media {
    position: relative;
    margin-top: 0;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    overflow: hidden;
    line-height: 0;
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-top: 1px solid rgba(214, 190, 150, 0.5);
    transition: transform 1.25s var(--ease);
}

.card:focus-visible .card-image {
    transform: scale(1.14);
}

.card-hotel-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(12px);
    opacity: 0;
    pointer-events: none;
    padding: 12px 28px;
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: blur(6px) saturate(1.2);
    -webkit-backdrop-filter: blur(6px) saturate(1.2);
    border: 1px solid rgba(184, 149, 106, 0.8);
    color: var(--espresso);
    font: 500 0.72rem 'Montserrat', system-ui, sans-serif;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    box-shadow: 0 18px 40px -16px rgba(18, 12, 8, 0.6);
    white-space: nowrap;
}

.card:focus-visible .card-hotel-btn {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}
/* Dokunun üzerine düşen ışık: imleci izler */
.card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.7), transparent 62%);
}
/* Kağıt / keten tanesi */
.card::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--grain); opacity: 0.16; mix-blend-mode: soft-light;
}
.card:focus-visible {
    transform: translateY(-14px);
    border-color: rgba(226, 199, 158, 0.72);
    background: radial-gradient(140% 140% at 50% 0%, rgba(255, 253, 242, 0.5) 0%, rgba(252, 241, 216, 0.32) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 236, 0.48),
        inset 0 -40px 60px -40px rgba(184, 149, 106, 0.18),
        0 38px 70px -22px rgba(18, 12, 8, 0.48);
}
.card:focus-visible::before { opacity: 1; }
.card:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.card.is-dimmed { opacity: .4; filter: saturate(.86); }

@media (hover: hover) and (pointer: fine) {
    .card:hover .card-image { transform: scale(1.14); }
    .card:hover .card-hotel-btn {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
    .card:hover {
        transform: translateY(-14px);
        border-color: rgba(226, 199, 158, 0.72);
        background: radial-gradient(140% 140% at 50% 0%, rgba(255, 253, 242, 0.5) 0%, rgba(252, 241, 216, 0.32) 100%);
        -webkit-backdrop-filter: blur(22px) saturate(1.5);
        backdrop-filter: blur(22px) saturate(1.5);
        box-shadow:
            inset 0 1px 0 rgba(255, 250, 236, 0.48),
            inset 0 -40px 60px -40px rgba(184, 149, 106, 0.18),
            0 38px 70px -22px rgba(18, 12, 8, 0.48);
    }
    .card:hover::before { opacity: 1; }
}

/* ---------- ALT ÇUBUK ---------- */
.footbar {
    position: relative; z-index: 2; width: calc(100% + 48px); max-width: none;
    margin: 0 -24px; padding: 4px 24px env(safe-area-inset-bottom, 0px);
    background: #F7F1E4; font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(42, 36, 32, 0.82);
    animation: fade 1.4s ease calc(var(--t0) + 0.9s) both;
}
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 8px 0; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 32px; }
.footer-block { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; line-height: 1.5; letter-spacing: .06em; }
.footer-label { color: rgba(42, 36, 32, .58); font-size: .62rem; font-weight: 600; letter-spacing: .18em; }
.footer-address, .footer-telephone a { color: inherit; text-decoration: none; }
.footer-address:hover, .footer-telephone a:hover { color: var(--gold-deep); }
.footer-social { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.social-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 14px; }
.social-link { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--espresso); text-decoration: none; }
.social-link:hover { color: var(--gold-deep); }
.social-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.social-link svg { box-sizing: content-box; width: 18px; height: 18px; padding: 8px; border: 1px solid rgba(235, 221, 195, .42); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.7; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.social-link[aria-label^="Facebook"] svg { color: #fff; border-color: transparent; background: #1877F2; }
.social-link:hover svg { border-color: var(--gold); filter: brightness(1.08); transform: translateY(-2px); }
.social-caption { max-width: 96px; color: rgba(42, 36, 32, .78); font-size: .58rem; line-height: 1.2; letter-spacing: .04em; text-align: center; white-space: nowrap; }
.social-link .facebook-mark { fill: currentColor; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.dots { display: flex; gap: 10px; }
.dot {
    width: 34px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.dot::before {
    content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px;
    background: rgba(42, 36, 32, 0.24); transition: background 0.5s ease;
}
.dot.on::before { background: var(--gold); }
.dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
    .brands { grid-template-columns: repeat(2, 1fr); max-width: 900px; gap: 22px; }
}
@media (max-width: 640px) {
    .gateway { display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 0; }
    .brands { grid-template-columns: 1fr; gap: 16px; }
    .card { min-height: 0; padding: 12px 16px 0; }
    .card-lg { min-height: 0; }
    .card-logo { width: min(100%, 180px); max-width: 100%; height: 68px; margin-bottom: 0; }
    .card-slogan-text { margin: 4px 0; font-size: 0.54rem; letter-spacing: 0.2em; }
    .group-logo { max-width: 380px; height: 110px; margin-bottom: 6px; }
    .group-subtext { font-size: 0.78rem; letter-spacing: 0.06em; }
    .group-subtext h1 { font-size: 0.92rem; letter-spacing: 0.1em; }
    .card-media { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; }
    .card-image { height: 210px; }
    .card-hotel-btn { padding: 10px 22px; font-size: 0.68rem; letter-spacing: 0.28em; }
    .footbar { margin: 0 -24px; padding: 4px 18px env(safe-area-inset-bottom, 0px); }
    .footer-main { grid-template-columns: 1fr; gap: 12px; text-align: center; }
    .footer-contact { justify-content: center; gap: 12px 20px; }
    .footer-social { align-items: center; }
    .footer-bottom { flex-direction: column-reverse; gap: 10px; }
}

/* ---------- HAREKET TERCİHİ ---------- */
@media (prefers-reduced-motion: reduce) {
    :root { --t0: 0s; }
    .veil { display: none; }
    .slide { transition: opacity 0.4s linear; transform: none !important; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; }
    .card { transition-duration: 0.01ms !important; }
}

/* ---------- ERİŞİLEBİLİRLİK + ÜST ÇUBUK ---------- */
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 4px; background: var(--ivory); color: var(--espresso); font-size: 0.8rem; text-decoration: none; transition: top 0.3s ease; }
.skip:focus { top: 16px; }
#brands:focus { outline: none; }

.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 3;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px clamp(20px, 4vw, 48px);
    animation: fade 1.4s ease calc(var(--t0) + 0.6s) both;
}
.contact a:focus-visible, .legal a:focus-visible, .footer-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.contact { display: flex; gap: 24px; }
.contact a {
    padding: 8px 0; border-bottom: 1px solid rgba(184, 149, 106, 0.55);
    font-size: 0.74rem; letter-spacing: 0.14em; color: #EBDDC3; text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.contact a:hover { color: #fff; border-color: var(--gold); }

.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 22px; }
.legal a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.legal a:hover { border-color: var(--gold); }

@media (max-width: 640px) {
    .topbar { position: static; flex-direction: column-reverse; align-items: center; gap: 6px; padding: 14px 24px 0; }
    .contact { gap: 20px; }
    .legal { justify-content: center; }
    .card { min-height: 0; padding: 12px 16px 0; }
    .card-lg { min-height: 0; }
    .card-logo { width: min(100%, 180px); max-width: 100%; height: 68px; margin-bottom: 0; }
    .card-slogan-text { font-size: 0.54rem; letter-spacing: 0.2em; }
    .group-logo { max-width: 360px; height: 104px; margin-bottom: 12px; }
    .card-image { width: 100%; height: 210px; margin: 0; }
}

/* Footer and slide preview refinements */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 22px; }
.footer-links a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.footer-credit { font-size: .58rem; letter-spacing: .04em; opacity: .72; }
.footer-credit { position: relative; }
.footer-phone-hint { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; padding: 6px 9px; border-radius: 3px; background: var(--espresso); color: var(--ivory); font-size: .68rem; letter-spacing: .04em; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.footer-credit:hover .footer-phone-hint, .footer-credit:focus-visible .footer-phone-hint { opacity: 1; visibility: visible; transform: translateY(0); }
.footer-links > span { color: rgba(42, 36, 32, .68); font-size: .62rem; letter-spacing: .035em; }
.footer-links a:hover { border-color: var(--gold); }
@media (max-width: 640px) { .footer-links { justify-content: center; } }
@media (hover: none) { .footer-phone-hint { display: none; } }
