/* =========================================================
   CALISTA — House of Beauty  |  Theme
   Renkler logodan: koyu mor + parlak mor + gri.
   (Tarihsel sebeple accent değişkeni hâlâ "--gold" adını taşıyor
    ama MOR değeri tutuyor — Book/Account/My sayfaları kullanıyor.)
   ========================================================= */
:root {
    --night: #1f0a2b;         /* hero / galeri zemini */
    --purple-deep: #4a1063;   /* koyu mor */
    --gold: #7b1fa2;          /* ana mor (accent) */
    --gold-soft: #b24bd1;     /* açık mor */
    --blush: #f4dcec;         /* pudra pembe vurgu */
    --grey: #959595;          /* logodaki gri */
    --ink: #2a1330;
    --ink-soft: #6a5872;
    --cream: #fbf8fc;         /* sayfa zemini */
    --cream-2: #f4ecf7;
    --white: #ffffff;
    --line: #e9ddf0;
    --shadow: 0 18px 50px rgba(74, 16, 99, .14);
    --radius: 16px;
    --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 76px; }  /* kaydırmayı site.js yapar */

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    margin: 0;
    line-height: 1.65;
    font-size: 1rem;
}

h1, h2, h3, h4, .menu-name, .menu-price, .contact-addr { font-family: var(--font-head); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container-x { width: min(1180px, 92%); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }

/* Book/Account sayfalarındaki küçük başlık etiketi */
.eyebrow { font-size: .85rem; font-weight: 600; color: var(--gold); margin-bottom: .6rem; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--alt { background: var(--cream-2); }
.section--blush { background: var(--blush); }
.section--plum { background: var(--night); color: #fff; }
.section-head { max-width: 620px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 .8rem; }
.section-head p { color: var(--ink-soft); margin: 0; }
.section--plum .section-head p { color: rgba(255,255,255,.72); }

/* ---------- Buttons ---------- */
.btn-x {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .95rem 1.9rem; border-radius: 999px;
    font-weight: 700; font-size: .95rem;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 26px rgba(123,31,162,.28); }
.btn-gold:hover { background: var(--purple-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(74,16,99,.38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--blush); color: var(--night); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Navbar ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,248,252,.68);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.site-nav .container-x { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; display: block; }
.brand--text { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; letter-spacing: .08em; color: var(--grey); }
.brand--text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.btn-gold, .nav-links a.btn-gold:hover { color: #fff; }
.nav-links .btn-x { padding: .7rem 1.4rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 960px) {
    .nav-links {
        position: absolute; top: 76px; left: 0; right: 0;
        flex-direction: column; gap: 0; background: var(--cream);
        border-bottom: 1px solid var(--line); padding: .5rem 0;
        max-height: 0; overflow: hidden; transition: max-height .3s ease; visibility: hidden;
    }
    .nav-links.open { max-height: 520px; visibility: visible; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: .9rem 0; }
    .nav-links .btn-x { margin: .6rem auto; display: inline-flex; }
    .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg::before {
    content: ""; position: absolute; inset: -16px;
    background: url('https://images.unsplash.com/photo-1600948836101-f9ffda59d250?auto=format&fit=crop&w=1800&q=70') center/cover;
    filter: blur(6px);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 620px at 78% 42%, rgba(178,75,209,.38), transparent 70%),
        linear-gradient(100deg, rgba(31,10,43,.96) 0%, rgba(42,15,58,.84) 45%, rgba(74,16,99,.66) 100%);
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); padding-block: clamp(1.5rem, 4vh, 3.5rem);
}
.hero-copy { max-width: 540px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); margin: 0 0 1.4rem; font-weight: 500; line-height: .98; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 460px; margin: 0 0 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-where { margin: 2.4rem 0 0; color: rgba(255,255,255,.62); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.hero-where a { color: inherit; text-decoration: none; transition: color .2s; }
.hero-where a:hover { color: #fff; }

.hero-art { position: relative; justify-self: center; width: min(100%, 600px, calc((100svh - 76px - 4rem) * 600 / 760)); aspect-ratio: 600 / 760; --mx: 0; --my: 0; }
.pic { position: absolute; translate: calc(var(--mx) * var(--d, 10) * 1px) calc(var(--my) * var(--d, 10) * 1px); transition: translate .25s ease-out; }
.pic-in { width: 100%; height: 100%; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); background: var(--purple-deep); animation: float 9s ease-in-out infinite; }
.pic-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic-a { left: 24%; top: 3%; width: 50%; height: 68%; }
.pic-a .pic-in { border-radius: 999px 999px 24px 24px; }
.pic-b { right: 1%; top: 33%; width: 27%; height: 30%; }
.pic-b .pic-in { border-radius: 999px 999px 18px 18px; animation-delay: -3s; animation-duration: 7.5s; }
.pic-c { left: 2%; bottom: 8%; width: 36%; aspect-ratio: 1; }
.pic-c .pic-in { border-radius: 50%; animation-delay: -5s; animation-duration: 8.5s; border: 4px solid rgba(244,220,236,.85); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.chip {
    position: absolute; z-index: 4; translate: calc(var(--mx) * var(--d, 10) * 1px) calc(var(--my) * var(--d, 10) * 1px); transition: translate .25s ease-out;
    padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip-1 { left: 6%; top: 24%; }
.chip-2 { right: 0; top: 12%; }
.chip-3 { left: 40%; bottom: 3%; }
.chip-4 { right: 3%; bottom: 20%; }

.badge { position: absolute; left: 4%; top: 2%; width: 22%; translate: calc(var(--mx) * var(--d, 10) * 1px) calc(var(--my) * var(--d, 10) * 1px); transition: translate .25s ease-out; }
.badge-text { font-family: var(--font-body); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; fill: #f4dcec; transform-origin: 60px 60px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.ribbon path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .ribbon .rb-glow { animation: draw 2.4s cubic-bezier(.65,0,.25,1) .25s both; }
.js .ribbon .rb-1 { animation: draw 2.4s cubic-bezier(.65,0,.25,1) .25s both; }
.js .ribbon .rb-2 { animation: draw 2.8s cubic-bezier(.65,0,.25,1) .55s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Parıltılar */
.spark { position: absolute; z-index: -1; width: 18px; height: 18px; background: #f4dcec; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .8; animation: twinkle 3.6s ease-in-out infinite; }
.spark-1 { left: 47%; top: 14%; }
.spark-2 { left: 56%; top: 78%; width: 12px; height: 12px; animation-delay: -1.2s; }
.spark-3 { right: 5%; top: 9%; width: 14px; height: 14px; animation-delay: -2.1s; }
.spark-4 { left: 8%; bottom: 10%; width: 10px; height: 10px; animation-delay: -.6s; }
.spark-5 { left: 3%; top: 16%; width: 16px; height: 16px; animation-delay: -2.8s; animation-duration: 4.4s; }
.spark-6 { left: 31%; top: 9%; width: 9px; height: 9px; animation-delay: -.3s; animation-duration: 3s; }
.spark-7 { left: 41%; top: 47%; width: 11px; height: 11px; animation-delay: -1.7s; }
.spark-8 { left: 22%; bottom: 7%; width: 20px; height: 20px; animation-delay: -3.1s; animation-duration: 5s; }
.spark-9 { left: 63%; top: 6%; width: 10px; height: 10px; animation-delay: -.9s; animation-duration: 3.3s; }
.spark-10 { right: 2%; top: 44%; width: 18px; height: 18px; animation-delay: -2.4s; animation-duration: 4.8s; }
.spark-11 { right: 9%; bottom: 8%; width: 12px; height: 12px; animation-delay: -1.4s; }
.spark-12 { left: 49%; bottom: 5%; width: 9px; height: 9px; animation-delay: -3.6s; animation-duration: 3.1s; }
.spark-13 { left: 14%; top: 56%; width: 8px; height: 8px; animation-delay: -.2s; animation-duration: 2.8s; }
.spark-14 { right: 24%; top: 3%; width: 14px; height: 14px; animation-delay: -2.0s; animation-duration: 4.2s; }
.spark-15 { left: 36%; top: 82%; width: 14px; height: 14px; animation-delay: -1.0s; animation-duration: 4.6s; }
.spark-16 { right: 14%; top: 66%; width: 8px; height: 8px; animation-delay: -3.3s; animation-duration: 3.4s; }
@keyframes twinkle { 0%, 100% { transform: scale(.5); opacity: .25; } 50% { transform: scale(1.15); opacity: .95; } }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 2rem 3rem; }
    .hero-art { width: min(92%, 420px); order: -1; }
    .hero-copy { max-width: none; }
    .chip { font-size: .72rem; padding: .35rem .75rem; }
    .chip-3, .chip-4 { display: none; }
}

/* ---------- Orkide (hizmetler bölümü süsü) ---------- */
.section--orchid { position: relative; overflow: hidden; }
.section--orchid > .container-x { position: relative; z-index: 1; }
.orchid {
    position: absolute; z-index: 0; right: -1vw; top: 5rem; bottom: 0;
    width: clamp(260px, 21vw, 380px); height: calc(100% - 5rem);
    pointer-events: none; user-select: none; transform-origin: 88% 100%;
    animation: sway 9s ease-in-out infinite;
}
.orchid-left {
    right: auto; left: -1vw; top: auto; bottom: 0; width: clamp(180px, 14.5vw, 270px); height: min(72%, 620px);
    scale: -1 1; transform-origin: 50% 100%; opacity: .92; animation-duration: 11s; animation-delay: -4s;
}
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg); } }
@media (max-width: 1300px) { .orchid { display: none; } }

/* Randevu sayfası: pudra zemin + orkideler (dar ekranda soluk, kartın arkasından görünür) */
.book-section {
    background:
        radial-gradient(700px 520px at 92% 8%, rgba(244,220,236,.85), transparent 70%),
        radial-gradient(640px 480px at 4% 96%, rgba(232,205,246,.7), transparent 70%),
        var(--cream);
}
.book-section .book-card { position: relative; z-index: 1; }
@media (max-width: 1300px) {
    .book-section .orchid { display: block; opacity: .2; width: clamp(150px, 34vw, 230px); animation: none; }
    .book-section .orchid-left { display: none; }
}

/* ---------- Ценовник (services menu) ---------- */
.menu { max-width: 860px; margin: 0 auto; }
.menu-tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.menu-tab {
    font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
    padding: .65rem 1.3rem; border-radius: 999px;
    background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line);
    transition: all .2s ease;
}
.menu-tab:hover { border-color: var(--gold); color: var(--gold); }
.menu-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 10px 26px rgba(123,31,162,.28); }
.menu-tab.active:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }

.menu-cat { display: none; }
.js .menu-panel { display: none; }
.js .menu-panel.active { display: block; animation: menuIn .35s ease both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* JS yoksa tüm paneller alt alta ve başlıklı görünür */
html:not(.js) .menu-cat { display: block; font-size: 1.8rem; margin: 2.2rem 0 .5rem; }
html:not(.js) .menu-tabs { display: none; }

.menu-row {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.menu-main { flex: 1; min-width: 0; }
.menu-line { display: flex; align-items: baseline; gap: .7rem; }
.menu-name { font-family: var(--font-head); font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
.menu-dots { flex: 1; border-bottom: 2px dotted #cdb8d9; transform: translateY(-.3em); min-width: 20px; }
.menu-price { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.menu-meta { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin-top: .15rem; color: var(--ink-soft); font-size: .9rem; }
.menu-dur { color: var(--grey); }
.menu-book {
    flex: none; font-weight: 700; font-size: .85rem; color: var(--gold);
    border: 1.5px solid var(--gold); border-radius: 999px; padding: .5rem 1.1rem;
    transition: all .2s ease;
}
.menu-book:hover { background: var(--gold); color: #fff; }

@media (max-width: 560px) {
    .menu-row { align-items: flex-start; flex-direction: column; gap: .7rem; }
    .menu-main { width: 100%; }
    .menu-name, .menu-price { font-size: 1.35rem; }
}

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.about-photo img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
    border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow);
}
.about-copy h2 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0 0 1.1rem; }
.about-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 520px; margin: 0 0 1.6rem; }
.about-list { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 520px; }
.about-list li { padding: .9rem 0; border-top: 1px solid rgba(74,16,99,.18); color: var(--ink-soft); }
.about-list li:last-child { border-bottom: 1px solid rgba(74,16,99,.18); }
.about-list strong { color: var(--ink); display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }

/* ---------- Fotoğraflı bölüm zemini (Team) ---------- */
.section--photo { position: relative; isolation: isolate; }
.section--photo::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url('https://images.unsplash.com/photo-1487530811176-3780de880c2d?auto=format&fit=crop&w=1800&q=70') center/cover no-repeat;
    opacity: .27;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 80%, transparent 100%);
}
.section--photo::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(1000px 520px at 50% 45%, rgba(251,248,252,.9), rgba(251,248,252,.55) 60%, transparent 85%);
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem 1.2rem; max-width: 1000px; margin: 0 auto; }
.team-card { margin: 0; text-align: center; }
.team-photo { overflow: hidden; border-radius: 999px 999px 18px 18px; aspect-ratio: 3 / 4; background: var(--cream-2); margin-bottom: 1.1rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h4 { margin: 0; font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 600; }
.team-card span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Before / After slider ---------- */
.ba-carousel { position: relative; }
.ba-grid {
    display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: .25rem .25rem 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ba-grid::-webkit-scrollbar { display: none; }
.ba-card { flex: 0 0 min(360px, 84%); scroll-snap-align: start; }
.ba-arrow {
    position: absolute; top: calc(50% - 1.6rem); z-index: 5; width: 52px; height: 52px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.55); background: rgba(31,10,43,.72); color: #fff;
    font: 400 2rem/1 var(--font-body); padding: 0 0 .25rem; cursor: pointer;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: background .2s ease, opacity .2s ease, transform .2s ease;
}
.ba-arrow:hover:not(:disabled) { background: var(--gold); transform: scale(1.06); }
.ba-arrow:disabled { opacity: .3; cursor: default; }
.ba-prev { left: -.6rem; }
.ba-next { right: -.6rem; }
.ba-carousel.ba-fits .ba-arrow { display: none; }
@media (max-width: 560px) { .ba-arrow { width: 44px; height: 44px; font-size: 1.7rem; } .ba-prev { left: -.2rem; } .ba-next { right: -.2rem; } }
.compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #000; --pos: 50%; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
    position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none;
}
.compare-handle::after {
    content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--gold);
    display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-tag {
    position: absolute; bottom: 14px; padding: .3rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
    background: rgba(31,10,43,.78); color: #fff; pointer-events: none;
}
.compare-tag--l { left: 14px; }
.compare-tag--r { right: 14px; background: var(--gold); }
.ba-title { padding: 1rem 0 0; font-family: var(--font-head); font-size: 1.4rem; text-align: center; }

/* ---------- Salon fotoğraflı zemin (Contact) ---------- */
.section--salon { position: relative; isolation: isolate; overflow: hidden; }
.section--salon::before {
    content: ""; position: absolute; inset: -10px; z-index: -2;
    background: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1800&q=70') center/cover no-repeat;
    filter: blur(2px) saturate(1.05);
}
.section--salon::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(251,248,252,.97) 0%, rgba(251,248,252,.9) 42%, rgba(251,248,252,.5) 100%);
}
.section--salon .contact-hours {
    background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow);
}
@media (max-width: 820px) {
    .section--salon::after { background: rgba(251,248,252,.9); }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0 0 1.2rem; }
/* Küçük çizgi ikonlar (maske) — adres / telefon / e-posta satırlarının önünde */
.ico { display: inline-block; flex: none; width: 1.15em; height: 1.15em; background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E"); }
.ico-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.7 4.3-2.2 1.4a11 11 0 0 0 6.3 6.3l1.4-2.2L20 15.5V19a2 2 0 0 1-2.2 2A16 16 0 0 1 3 6.2 2 2 0 0 1 5 4z'/%3E%3C/svg%3E"); }
.ico-mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6.5L20.5 7'/%3E%3C/svg%3E"); }
.contact-list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .85rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; color: var(--ink-soft); font-size: 1.05rem; }
.contact-list li .ico { color: var(--gold); width: 1.35em; height: 1.35em; }
.contact-list li.contact-addr { font-family: var(--font-head); font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.3; color: inherit; align-items: flex-start; }
.contact-list li.contact-addr .ico { margin-top: .12em; }
.contact-list a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }
.f-ico { display: flex; align-items: flex-start; gap: .6rem; }
.f-ico .ico { margin-top: .2em; opacity: .75; }
.contact-lines { color: var(--ink-soft); margin: 0 0 1.8rem; }
.contact-lines a:hover { color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.contact-hours h3 { font-size: 1.7rem; margin: 0 0 .8rem; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.hours-list .day { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; }
.site-footer .brand--text { color: #fff; font-size: 1.8rem; }
.site-footer .brand--text span { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer a:hover { color: var(--blush); }
.site-footer h5 { color: #fff; margin: 0 0 1rem; font-family: var(--font-body); font-size: .95rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .3rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; text-align: center; font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobil sabit "Закажи термин" çubuğu ---------- */
.book-bar { display: none; }
@media (max-width: 760px) {
    .book-bar {
        display: flex; align-items: center; justify-content: center;
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
        padding: .95rem 1rem; border-radius: 999px;
        background: var(--gold); color: #fff; font-weight: 700;
        box-shadow: 0 12px 30px rgba(31,10,43,.4);
    }
    body { padding-bottom: 76px; }
    .install-hint { bottom: 80px; }
}

/* ---------- Booking page ---------- */
.book-wrap { max-width: 720px; margin: 0 auto; }
.book-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: .95rem; background: var(--cream); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.alert-ok { background: #edf7ed; border: 1px solid #bfe3bf; color: #2f6f33; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; }

/* Slot seçimi */
.slots-box { min-height: 48px; }
.slots-hint { color: var(--ink-soft); font-size: .9rem; margin: .3rem 0; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .55rem; margin-top: .3rem; }
.slot-chip {
    padding: .6rem .4rem; border: 1.5px solid var(--line); border-radius: 10px;
    background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 500;
    cursor: pointer; transition: all .15s;
}
.slot-chip:hover { border-color: var(--gold); color: var(--gold); }
.slot-chip.selected { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(123,31,162,.3); }
.slot-chip.taken {
    background: #fbe3e3; border-color: #f0c4c4; color: #c0504d;
    cursor: not-allowed; text-decoration: line-through; opacity: .85;
}
.slot-chip.taken:hover { border-color: #f0c4c4; color: #c0504d; }
.slot-chip.past {
    background: #f0f0f0; border-color: #e2e2e2; color: #aaa;
    cursor: not-allowed; opacity: .7;
}
.slot-chip.past:hover { border-color: #e2e2e2; color: #aaa; }

/* ---------- Reveal (Book/Account sayfaları için) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* PWA install hint */
.install-hint { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px;
    box-shadow: var(--shadow); display: none; gap: .8rem; align-items: center; z-index: 80; font-size: .9rem; }
.install-hint.show { display: flex; }
.install-hint button { background: var(--gold); border: 0; color: #fff; padding: .4rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ba-grid { scroll-behavior: auto; }
    .js .ribbon path, .pic-in, .badge-text, .spark, .orchid { animation: none; }
    .pic, .chip, .badge { transition: none; }
    .js .menu-panel.active { animation: none; }
    .js .reveal { transition: none; opacity: 1; transform: none; }
    .team-photo img, .btn-x { transition: none; }
}

/* ---------- Menü: aktif bölüm çizgisi, ilerleme çubuğu, varış animasyonu, sayfa geçişi ---------- */
.nav-links li > a:not(.btn-x) { position: relative; padding-block: .35rem; }
.nav-links li > a:not(.btn-x)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold));
    transform: scaleX(0); transform-origin: left center;
    transition: transform .45s cubic-bezier(.65, 0, .25, 1);
}
.nav-links li > a:not(.btn-x):hover::after,
.nav-links li > a.is-active::after { transform: scaleX(1); }
.nav-links li > a.is-active { color: var(--gold); }

.nav-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, #e9b6f5, var(--gold));
    transform: scaleX(var(--p, 0)); transform-origin: left center;
}

/* Menüden bir bölüme gidilince: içerik sırayla yükselir (kayma sürerken görünür hâle gelir) */
@keyframes arriveIn {
    from { opacity: .15; transform: translateY(28px); filter: blur(5px); }
    to   { opacity: 1;   transform: none;             filter: none; }
}
.is-arriving > .container-x > * { animation: arriveIn .85s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .3s; }
.is-arriving > .container-x > *:nth-child(2) { animation-delay: .42s; }
.is-arriving > .container-x > *:nth-child(3) { animation-delay: .54s; }

/* Sayfalar arası geçiş (Chrome/Edge): menü sabit kalır, içerik yumuşakça değişir */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    .site-nav { view-transition-name: sitenav; }
    @keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
    @keyframes vtIn  { from { opacity: 0; transform: translateY(18px); } }
    ::view-transition-old(root) { animation: .22s ease both vtOut; }
    ::view-transition-new(root) { animation: .42s cubic-bezier(.2, .7, .2, 1) .08s both vtIn; }
}
@media (prefers-reduced-motion: reduce) {
    .is-arriving > .container-x > * { animation: none; }
    .nav-links li > a:not(.btn-x)::after { transition: none; }
}

/* ---------- Müşteri profili: paketlerim ---------- */
.my-pkgs { max-width: 760px; margin: 0 auto 2.6rem; }
.pkg-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.pkg-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.pkg-card-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; }
.pkg-card-left { color: var(--ink-soft); font-size: .9rem; }
.pkg-card-left b { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); font-weight: 600; margin-right: .2rem; }
.pkg-card-bar { height: 10px; border-radius: 999px; background: var(--cream-2); overflow: hidden; margin: .8rem 0 .7rem; }
.pkg-card-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.pkg-card.low .pkg-card-bar i { background: linear-gradient(90deg, #f0b44c, #e0793a); }
.pkg-card.low .pkg-card-left b { color: #c8621f; }
.pkg-card-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--ink-soft); font-size: .86rem; }
.pkg-card-hist { margin-top: .9rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.pkg-card-hist summary, .pkg-ended summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--gold); }
.pkg-card-hist ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.pkg-card-hist li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--ink-soft); }
.pkg-card-hist li b { color: var(--ink); }
.pkg-ended { margin-top: 1.2rem; }
.pkg-card.ended { box-shadow: none; opacity: .8; margin-top: .8rem; }
.pkg-card.ended .pkg-card-name { font-size: 1.2rem; }
