/* Lumen Bay Hotel — v2 design system
   Rebrandable: change the 5 tokens in :root and the entire site shifts. */

:root {
  --ink: #14110d;
  --ink-soft: #4a4438;
  --paper: #f6f1e8;
  --paper-deep: #ede5d6;
  --accent: #b8633a;
  --accent-soft: #e8d5c4;
  --rule: #d9cdbb;

  /* Spacing scale — 8px baseline. Never use ad-hoc values. */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 40px;
  --s5: 64px; --s6: 96px; --s7: 128px;

  /* Type scale — only these four sizes */
  --t-display: clamp(2.25rem, 4.2vw, 3.25rem);
  --t-h2:      clamp(1.5rem, 2.2vw, 1.875rem);
  --t-body:    1.125rem;
  --t-small:   0.9375rem;

  --container: 1280px;
  --gutter: 32px;
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
}

/* ——— Reset / base ——— */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'kern', 'liga', 'ss01';
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ——— Typography ——— */
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-display);
  line-height: 1.05;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
}
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--t-h2);
  line-height: 1.15;
  font-weight: 400;
}
h3 {
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }
.small { font-size: var(--t-small); color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.eyebrow .num { color: var(--ink-soft); margin-right: var(--s1); }

/* ——— Layout primitives ——— */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--s6); padding-bottom: var(--s6); }
@media (max-width: 720px) { .section { padding-top: var(--s5); padding-bottom: var(--s5); } }
.section-head { max-width: 720px; margin-bottom: var(--s4); }
.section-head h2 { margin-bottom: var(--s2); }
.section-head p { color: var(--ink-soft); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ——— Header / nav ——— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s2) 0;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem; letter-spacing: 0.02em;
  font-weight: 500;
}
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: var(--s4); align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a { font-size: var(--t-small); color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: 10px var(--s3);
  border: 1px solid var(--ink);
  font-size: var(--t-small); font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 64px 0 0 0;
    background: var(--paper);
    flex-direction: column; gap: var(--s3);
    padding: var(--s5) var(--gutter);
    transform: translateX(100%);
    transition: transform .25s ease;
    border-top: 1px solid var(--rule);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; }
  .menu-toggle {
    display: block; width: 32px; height: 32px;
    position: relative; z-index: 60;
  }
  .menu-toggle span {
    position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--ink);
    transition: transform .2s, top .2s, opacity .2s;
  }
  .menu-toggle span:nth-child(1) { top: 10px; }
  .menu-toggle span:nth-child(2) { top: 16px; }
  .menu-toggle span:nth-child(3) { top: 22px; }
  .menu-toggle.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  height: clamp(560px, 92vh, 880px);
  overflow: hidden;
  background: var(--ink);
}
.hero video, .hero .hero-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,.15) 0%, rgba(20,17,13,.05) 40%, rgba(20,17,13,.55) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: var(--s6) 0;
  color: var(--paper);
  z-index: 2;
}
.hero-content .container { width: 100%; }
.hero h1 { color: var(--paper); max-width: 14ch; margin-bottom: var(--s3); }
.hero .eyebrow { color: var(--accent-soft); }
.hero p { max-width: 52ch; color: rgba(246,241,232,.85); margin-bottom: var(--s4); }
.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: 14px var(--s4);
  font-size: var(--t-small); font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid currentColor;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  height: clamp(360px, 50vh, 520px);
  overflow: hidden;
  background: var(--ink);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,.25), rgba(20,17,13,.6));
}
.page-hero .hero-content { padding-bottom: var(--s5); }

/* ——— Image standards (aspect ratios) ——— */
.media { display: block; overflow: hidden; background: var(--paper-deep); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.media-hero      { aspect-ratio: 21 / 9; }
.media-landscape { aspect-ratio: 3 / 2; }
.media-portrait  { aspect-ratio: 4 / 5; }
.media-square    { aspect-ratio: 1 / 1; }
.media-band      { aspect-ratio: 16 / 6; }

/* Polaroid frame — used on cards, NOT on hero/full-bleed */
.frame {
  padding: 8px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px var(--rule),
    0 24px 48px -28px rgba(20,17,13,.35);
  transition: box-shadow .3s, transform .3s;
}
.frame:hover { box-shadow: 0 0 0 1px var(--accent-soft), 0 32px 56px -28px rgba(20,17,13,.45); }
.frame:hover .media img { transform: scale(1.04); }

/* ——— Breadcrumbs ——— */
.crumbs {
  padding: var(--s3) 0; font-size: var(--t-small); color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.crumbs li + li::before { content: "/"; margin-right: var(--s1); color: var(--rule); }
.crumbs a:hover { color: var(--accent); }

/* ——— Grid utilities ——— */
.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ——— Card ——— */
.card { display: flex; flex-direction: column; gap: var(--s3); }
.card h3 { margin-top: var(--s1); }
.card p { font-size: var(--t-small); color: var(--ink-soft); margin: 0; }
.card .meta {
  display: flex; gap: var(--s2); font-size: 0.8125rem;
  color: var(--ink-soft); padding-top: var(--s1);
  border-top: 1px solid var(--rule);
}
.card .meta span + span::before { content: "·"; margin-right: var(--s2); color: var(--rule); }
.card-link { display: block; }
.card-link h3 { transition: color .2s; }
.card-link:hover h3 { color: var(--accent); }

/* ——— Split (text + image side by side) ——— */
.split {
  display: grid; gap: var(--s5);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--s4); }
  .split.reverse > :first-child { order: 0; }
}

/* ——— Amenity / feature list ——— */
.amenity-group { margin-bottom: var(--s4); }
.amenity-group:last-child { margin-bottom: 0; }
.amenity-group h3 {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  padding-bottom: var(--s2); margin-bottom: var(--s3);
  border-bottom: 1px solid var(--accent-soft);
}
.amenity-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2) var(--s4);
}
@media (max-width: 560px) { .amenity-list { grid-template-columns: 1fr; } }
.amenity-list li {
  display: flex; align-items: center; gap: var(--s2);
  font-size: var(--t-small);
}
.amenity-list .icon { flex: none; width: 20px; height: 20px; color: var(--accent); }
.amenity-list .missing { color: var(--ink-soft); text-decoration: line-through; opacity: .55; }
.amenity-list .missing .icon { color: var(--rule); }

/* Otel-geneli amenity blocks (icon-led, full grid) */
.amenity-block {
  border: 1px solid var(--rule);
  padding: var(--s4);
  background: var(--paper);
}
.amenity-block .icon-lg {
  width: 36px; height: 36px; color: var(--accent);
  margin-bottom: var(--s2);
}
.amenity-block h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem; font-weight: 400; margin-bottom: var(--s2);
}
.amenity-block ul { list-style: none; padding: 0; margin: 0; }
.amenity-block li {
  padding: 10px 0; font-size: var(--t-small);
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: var(--s2);
}
.amenity-block li:first-child { border-top: 0; padding-top: 0; }
.amenity-block li::before {
  content: ""; width: 4px; height: 4px; background: var(--accent); flex: none;
}

/* ——— Filter chips (gallery) ——— */
.filters {
  display: flex; flex-wrap: wrap; gap: var(--s1);
  margin-bottom: var(--s4);
  padding: var(--s3) 0;
  position: sticky; top: 64px; z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.chip {
  padding: 8px 18px;
  font-size: 0.8125rem; letter-spacing: 0.04em;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: all .2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

/* ——— Gallery grid ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
}
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery .media { cursor: zoom-in; }
.gallery .media:hover img { transform: scale(1.06); }
.gallery-item { transition: opacity .25s; }
.gallery-item.hide { display: none; }

/* ——— Lightbox ——— */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,17,13,.96);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--s4);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%; max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.lightbox-controls {
  position: absolute; inset: auto 0 var(--s3) 0;
  display: flex; justify-content: center; gap: var(--s4);
  color: var(--paper);
  font-size: var(--t-small); letter-spacing: 0.1em;
}
.lightbox-close, .lightbox-nav {
  position: absolute; color: var(--paper);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; line-height: 1;
  border: 1px solid rgba(246,241,232,.3);
  transition: background .2s, border-color .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(246,241,232,.1); border-color: var(--paper); }
.lightbox-close { top: var(--s3); right: var(--s3); }
.lightbox-prev { left: var(--s3); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--s3); top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
}
.lightbox-caption {
  position: absolute; top: var(--s3); left: var(--s3);
  color: var(--paper); font-size: var(--t-small); opacity: .7;
}

/* ——— Forms ——— */
.form { display: grid; gap: var(--s3); max-width: 640px; }
.form-row { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 0.8125rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: var(--s1);
  font-weight: 500;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px var(--s2);
  font: inherit; font-size: var(--t-small);
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.form textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note { font-size: 0.8125rem; color: var(--ink-soft); }
.form-note a { color: var(--accent); text-decoration: underline; }

/* ——— FAQ ——— */
.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: var(--s3) 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s3);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.125rem; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-size: 1.5rem; color: var(--accent);
  font-family: 'Inter', sans-serif; font-weight: 300;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin-top: var(--s2); color: var(--ink-soft); font-size: var(--t-small); }

/* ——— Fact table ——— */
.fact-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.fact-table th, .fact-table td {
  text-align: left; padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.fact-table th {
  font-weight: 500; color: var(--ink-soft);
  width: 35%; padding-right: var(--s3);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink); color: var(--paper);
  padding: var(--s6) 0 var(--s4);
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s5);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-soft); margin: 0 0 var(--s2);
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; font-size: var(--t-small); }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer .brand { color: var(--paper); margin-bottom: var(--s2); display: block; }
.site-footer .colophon {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2);
  padding-top: var(--s3); border-top: 1px solid rgba(246,241,232,.12);
  font-size: 0.8125rem; color: rgba(246,241,232,.55);
}

/* ——— Quote ——— */
.quote {
  border-left: 2px solid var(--accent);
  padding: var(--s2) 0 var(--s2) var(--s3);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 1.25rem; line-height: 1.45;
  color: var(--ink); max-width: 640px;
}
.quote cite {
  display: block; margin-top: var(--s2);
  font-family: 'Inter', sans-serif; font-style: normal;
  font-size: 0.8125rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ——— Skip link (a11y) ——— */
.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper); padding: var(--s2) var(--s3);
}
.skip:focus { left: var(--s2); top: var(--s2); z-index: 100; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
