/* =========================================================
   LENUS HOTEL — STİL DOSYASI
   Renkleri ve yazı tiplerini sadece aşağıdaki :root'tan değiştirin.
   ========================================================= */
:root {
  --sand: #F4EEE6;
  --paper: #FBF8F3;
  --ink: #1F1B17;
  --ink-soft: #5B534B;
  --line: #E2D8CB;
  --accent: #8C3F2B;       /* terrakota */
  --accent-dark: #6E3020;
  --gold: #B3925E;
  --ok: #3F6B4A;
  --no: #9A3B32;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;

  --max: 1200px;
  --pad: clamp(16px, 5vw, 64px);
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
h3 { font-size: 26px; }
em { font-style: italic; color: var(--gold); }
.muted { color: var(--ink-soft); }
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-weight: 600; }

/* Butonlar */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); padding: 14px 26px; font: 600 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); transition: background .2s; }
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-small { padding: 11px 18px; font-size: 12px; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* Görsel yer tutucu: görsel yüklenene kadar desenli zemin + etiket */
.img { position: relative; background-color: #D9CBB8; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 2px, transparent 2px 14px); background-size: cover; background-position: center; }
.img::after { content: attr(data-label); position: absolute; inset-block-end: 10px; inset-inline-end: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(31,27,23,.5); }
.img.loaded { background-size: cover; }
.img.loaded::after { display: none; }

/* Menü */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--pad); color: #fff; transition: background .3s, padding .3s, color .3s; }
.nav.solid { background: rgba(251,248,243,.96); color: var(--ink); padding-block: 12px; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.logo { font-family: var(--serif); font-size: 24px; letter-spacing: .28em; font-weight: 600; }
.logo span { font-family: var(--sans); font-size: 10px; letter-spacing: .4em; margin-left: 8px; opacity: .8; font-weight: 500; }
.nav-links { display: flex; gap: 30px; font-size: 14px; }
.nav-links a { opacity: .85; } .nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 14px; }
/* Dil seçici */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid currentColor; border-color: rgba(127,127,127,.45); color: inherit; font: 600 12px var(--sans); letter-spacing: .12em; padding: 9px 12px; cursor: pointer; border-radius: var(--radius); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; list-style: none; background: var(--paper); color: var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.16); border: 1px solid var(--line); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s; z-index: 60; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { width: 100%; display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 10px 12px; font: 500 14px var(--sans); color: inherit; cursor: pointer; text-align: start; }
.lang-menu button:hover, .lang-menu button[aria-selected="true"] { background: var(--sand); }
.lang-menu button[aria-selected="true"] { color: var(--accent); }
.lang-code { font-size: 11px; letter-spacing: .12em; font-weight: 600; width: 22px; color: var(--ink-soft); font-family: var(--sans); }
.lang-menu [lang="ar"] { font-family: "Noto Sans Arabic", var(--sans); }
.burger { display: none; background: none; border: 0; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.burger span { height: 1.5px; background: currentColor; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--pad) 40px; color: #fff; }
.hero-media { position: absolute; inset: 0; background-color: #3A2F27; }
.hero-media::after { color: rgba(255,255,255,.35); inset-block: 90px auto; inset-inline: var(--pad) auto; }
.hero-shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,12,10,.82) 0%, rgba(16,12,10,.55) 38%, rgba(16,12,10,.1) 70%),
    linear-gradient(180deg, rgba(16,12,10,.45) 0%, rgba(16,12,10,0) 30%, rgba(16,12,10,.55) 100%); }
[dir="rtl"] .hero-shade { background:
    linear-gradient(270deg, rgba(16,12,10,.82) 0%, rgba(16,12,10,.55) 38%, rgba(16,12,10,.1) 70%),
    linear-gradient(180deg, rgba(16,12,10,.45) 0%, rgba(16,12,10,0) 30%, rgba(16,12,10,.55) 100%); }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
@media (max-width: 760px) { .hero-shade, [dir="rtl"] .hero-shade { background: linear-gradient(180deg, rgba(16,12,10,.5) 0%, rgba(16,12,10,.35) 35%, rgba(16,12,10,.85) 100%); } }
.hero-content { position: relative; max-width: 760px; margin-bottom: 48px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(44px, 7.5vw, 92px); margin-bottom: 22px; }
.hero-sub { font-size: 18px; max-width: 540px; opacity: .9; }

/* Müsaitlik barı */
.booking-bar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; background: var(--paper); color: var(--ink); max-width: var(--max); width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.booking-bar label { display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); border-inline-end: 1px solid var(--line); font-weight: 600; }
.booking-bar input, .booking-bar select { border: 0; background: none; font: 500 16px var(--sans); color: var(--ink); letter-spacing: 0; text-transform: none; outline: none; padding: 2px 0; }
.booking-bar .btn { border-radius: 0; padding-inline: 34px; }

/* Bölümler */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--pad); }
.section-head { margin-bottom: 48px; max-width: 640px; }

/* Hakkımızda */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.about-text p + p { margin-top: 14px; }
.about-text p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.about-stats div { padding: 28px 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-stats strong { display: block; font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--accent); line-height: 1; }
.about-stats span { font-size: 13px; color: var(--ink-soft); }

/* Odalar */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.room { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.room-img { aspect-ratio: 4 / 3; border: 0; width: 100%; cursor: zoom-in; display: block; padding: 0; font: inherit; }
.room-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-meta { font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.room-body > p:not(.room-meta) { color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 4px; }
.tags li { font-size: 12px; padding: 4px 10px; background: var(--sand); }
.room-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--serif); font-size: 26px; }
.price small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; color: #fff; font-weight: 600; z-index: 1; }
.badge.ok { background: var(--ok); } .badge.no { background: var(--no); }

/* Olanaklar */
.amenities-wrap { max-width: none; background: var(--sand); }
.amenities-wrap > * { max-width: var(--max); margin-inline: auto; }
.amenities { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.amenities li { padding: 26px 20px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.amenities b { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.amenities span { font-size: 13px; color: var(--ink-soft); }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.g1 { grid-column: span 2; grid-row: span 2; } .g4 { grid-column: span 2; }

/* Konum */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.address { font-size: 17px; margin-bottom: 30px; color: var(--ink-soft); }
.distances { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.distances h3 { font-size: 20px; margin-bottom: 10px; }
.distances ul { list-style: none; }
.distances li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.distances b { color: var(--accent); font-weight: 600; }
.map { aspect-ratio: 1 / 1; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }

/* Bilgi */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 56px; }
.info-grid h3 { font-size: 22px; margin-bottom: 8px; }
.info-grid p { color: var(--ink-soft); font-size: 15px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--serif); font-size: 22px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); max-width: 680px; }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); }
.contact-list { list-style: none; margin-top: 20px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; font-size: 15px; }
.contact-list span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.contact-form, .dialog-inner { display: flex; flex-direction: column; gap: 12px; }
input, textarea, select { font: inherit; }
.contact-form input, .contact-form textarea, .dialog-inner input { border: 1px solid var(--line); background: #fff; padding: 14px 16px; border-radius: var(--radius); outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .dialog-inner input:focus { border-color: var(--accent); }
.contact-form .btn { align-self: flex-start; }
.form-msg { font-size: 14px; color: var(--ok); min-height: 1.4em; }

/* Footer */
.footer { background: var(--ink); color: #E9E1D6; padding: 56px var(--pad); display: grid; grid-template-columns: 1fr auto auto auto; gap: 32px; align-items: center; font-size: 13px; }
.footer .muted { color: #9E948A; }
.footer nav { display: flex; gap: 22px; }

/* Rezervasyon penceresi */
.dialog { border: 0; padding: 0; max-width: 440px; width: calc(100% - 32px); margin: auto; background: var(--paper); }
.dialog::backdrop { background: rgba(20,15,12,.55); }
.dialog-inner { padding: 40px 32px 32px; position: relative; }
.dialog-inner h3 { font-size: 32px; }
.dialog-close { position: absolute; top: 12px; inset-inline-end: 16px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink-soft); }

/* Tablet */
@media (max-width: 1000px) {
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .location, .contact { grid-template-columns: 1fr; gap: 48px; }
  .footer { grid-template-columns: 1fr 1fr; }
}

/* Mobil */
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); padding: 8px var(--pad) 20px; transform: translateY(-120%); transition: transform .3s; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { transform: none; }
  .nav.open { background: var(--paper); color: var(--ink); }
  .burger { display: flex; }
  .lang-btn { padding: 8px 10px; }
  .nav-right .btn-small { display: none; }
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-bar label:nth-child(2) { border-inline-end: 0; }
  .booking-bar label:nth-child(3) { grid-column: span 2; border-inline-end: 0; border-top: 1px solid var(--line); }
  .booking-bar .btn { grid-column: span 2; padding-block: 18px; }
  .rooms { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g4 { grid-column: span 2; }
  .info-grid, .distances { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer nav { flex-wrap: wrap; }
}

/* =========================================================
   ARAPÇA (sağdan sola)
   ========================================================= */
html[lang="ar"] { --serif: "Noto Naskh Arabic", "Cormorant Garamond", serif; --sans: "Noto Sans Arabic", "Manrope", system-ui, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] h1 { font-size: clamp(38px, 6.2vw, 76px); }
html[lang="ar"] .eyebrow, html[lang="ar"] .booking-bar label, html[lang="ar"] .btn,
html[lang="ar"] .badge, html[lang="ar"] .price small, html[lang="ar"] .contact-list span,
html[lang="ar"] .img::after { letter-spacing: 0; text-transform: none; }
html[lang="ar"] em { font-style: normal; }
html[lang="ar"] body { line-height: 1.8; }
.logo { direction: ltr; unicode-bidi: isolate; }

/* Ayasofya vurgusu */
.about-stats .stat-hl { background: var(--ink); color: #F4EEE6; }
.about-stats .stat-hl strong { color: var(--gold); }
.about-stats .stat-hl span { color: #CFC5B8; }
.distances li.hl { font-weight: 600; color: var(--ink); background: var(--sand); padding-inline: 10px; margin-inline: -10px; }

/* Misafir puanı */
.rating { margin-top: 26px; padding-block: 16px; padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); display: flex; flex-direction: column; gap: 4px; }
.rating strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.rating span { font-size: 14px; color: var(--ink-soft); }

/* Fotoğraf sayısı rozeti */
.photo-count { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(20,15,12,.7); color: #fff; font-size: 12px; padding: 5px 10px; letter-spacing: .04em; z-index: 1; }
.room-img:hover .photo-count { background: var(--accent); }
.room-img:not(.loaded) .photo-count { display: none; }
.gallery .img { cursor: zoom-in; transition: filter .2s; }
.gallery .img:hover { filter: brightness(1.06); }
.gallery-all { margin-top: 24px; }

/* Fotoğraf penceresi */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(12,10,8,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 140px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; display: block; }
.lightbox figcaption { color: #CFC5B8; font-size: 13px; letter-spacing: .1em; }
.lb-nav, .lb-close { position: fixed; background: none; border: 0; color: #fff; cursor: pointer; opacity: .75; font-family: var(--sans); }
.lb-nav:hover, .lb-close:hover { opacity: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 56px; width: 64px; height: 96px; }
.lb-prev { inset-inline-start: 8px; } .lb-next { inset-inline-end: 8px; }
[dir="rtl"] .lb-nav { transform: translateY(-50%) scaleX(-1); }
.lb-close { top: 14px; inset-inline-end: 20px; font-size: 38px; }
@media (max-width: 760px) {
  .lightbox figure { max-width: 100vw; }
  .lb-nav { font-size: 40px; width: 44px; background: rgba(0,0,0,.25); }
}

/* =========================================================
   HUKUKİ SAYFALAR (legal.html)
   ========================================================= */
.page-legal .nav { position: sticky; }
.legal { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad); display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.legal-side { position: sticky; top: 96px; }
.legal-nav { display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); }
.legal-nav a { padding: 10px 16px; font-size: 14px; color: var(--ink-soft); margin-inline-start: -1px; border-inline-start: 2px solid transparent; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.active { color: var(--accent); border-inline-start-color: var(--accent); font-weight: 600; }
.legal-body { max-width: 720px; }
.legal-body h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 20px; }
.legal-body h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 16px; }
.legal-body ul { padding-inline-start: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-intro { font-size: 18px !important; color: var(--ink) !important; }
.legal-draft { background: #FFF6D6; color: #6B5400 !important; font-size: 13px !important; padding: 10px 14px; border-inline-start: 3px solid #D9A400; margin-bottom: 28px; }
.legal-body .filled { color: var(--ink); font-weight: 500; }
mark.todo { background: #FFE27A; color: #4A3A00; padding: 1px 6px; font-size: .85em; font-weight: 600; letter-spacing: .02em; border-radius: 2px; }
.legal-back { margin-top: 48px; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 28px; }
  .legal-side { position: static; }
  .legal-nav { flex-direction: row; flex-wrap: wrap; border: 0; gap: 8px; }
  .legal-nav a { border: 1px solid var(--line); margin: 0; }
  .legal-nav a.active { border-color: var(--accent); }
}

/* Giriş: rezervasyon butonu */
.hero-cta { position: relative; }
.btn-large { padding: 20px 44px; font-size: 14px; }
.room-foot { justify-content: flex-end; }

/* WhatsApp */
.btn-wa { background: #1F8F4E; border-color: #1F8F4E; }
.btn-wa:hover { background: #18733F; border-color: #18733F; }
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 8px;
  background: #1F8F4E; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  font: 600 14px var(--sans); text-decoration: none; transition: transform .2s, background .2s; }
.wa-float:hover { background: #18733F; transform: translateY(-2px); }
@media (max-width: 760px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Boş bilgiler (örn. e-posta girilmemişse) gizlenir */
[hidden] { display: none !important; }
