/* ==========================================================================
   hacettepeogrenciyurdu.com — "Sessiz lüks / editoryel"
   Renk: TEK koyu ton (derin lacivert #141A26) + bej kâğıt. Altın yalnızca vurgu.
   Tipografi: Playfair Display (başlık) + Source Sans 3 (gövde)
   Kart yok, gölge yok, köşe yarıçapı yok. Boşluk ve ince çizgi taşır.
   ========================================================================== */

:root {
  --ink:        #141A26;
  --ink-70:     rgba(20, 26, 38, .72);
  --ink-45:     rgba(20, 26, 38, .48);
  --paper:      #EAE5DB;
  --paper-2:    #F2EFE8;
  --gold:       #8A7550;
  --gold-light: #C6B58F;
  --line:       rgba(20, 26, 38, .18);
  --line-soft:  rgba(20, 26, 38, .10);

  --display: 'Playfair Display', Georgia, serif;
  --body:    'Source Sans 3', system-ui, -apple-system, sans-serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  /* Bootstrap ezmeleri */
  --bs-body-font-family: var(--body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-border-color: var(--line);
  --bs-border-radius: 0;
  --bs-link-color: var(--ink);
  --bs-link-hover-color: var(--gold);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 2000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

.kicker {
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.6rem;
}
.lede { font-size: 1.2rem; line-height: 1.65; color: var(--ink-70); max-width: var(--measure); }
p { color: var(--ink-70); max-width: var(--measure); }
.small { font-size: .92rem; color: var(--ink-45); }

/* ---------- Iskele ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.band--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink h1, .band--ink h2, .band--ink h3 { color: var(--paper); }
.band--ink p, .band--ink .lede { color: rgba(234, 229, 219, .72); }
.band--ink .kicker { color: var(--gold-light); }
.band--ink .rule { background: rgba(234, 229, 219, .22); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--gold { height: 1px; background: var(--gold); width: 3.5rem; margin: 0 0 2.2rem; }

/* ---------- Navigasyon: ortalanmış marka, altında ince menü ---------- */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.masthead__inner { display: flex; flex-direction: column; align-items: center; padding-block: 1.1rem .75rem; }
.masthead__brand img { height: 44px; width: auto; }
.masthead__nav { display: flex; gap: 2.1rem; margin-top: .9rem; }
.masthead__nav a {
  font-size: .74rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--ink-70); padding-bottom: .3rem; border-bottom: 1px solid transparent;
}
.masthead__nav a:hover, .masthead__nav a[aria-current] { color: var(--ink); border-bottom-color: var(--gold); }
.masthead__tel { position: absolute; right: var(--gutter); top: 1.6rem; font-size: .8rem; letter-spacing: .06em; color: var(--ink-70); }
.masthead .wrap { position: relative; }
.navtoggle { display: none; position: absolute; left: var(--gutter); top: 1.4rem; background: none; border: 0; padding: .4rem; color: var(--ink); }
.navtoggle svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .masthead__nav { display: none; }
  .masthead__tel { display: none; }
  .navtoggle { display: block; }
  .masthead.is-open .masthead__nav {
    display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
    width: 100%; padding: 1.6rem 0 .6rem; border-top: 1px solid var(--line); margin-top: 1rem;
  }
}

/* ---------- Hero: tam genişlik fotoğraf, başlık ALTINDA (üstüne binmez) ---------- */
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); }
.hero__head { max-width: 22ch; }
.hero__lede { margin-top: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.6rem; align-items: center; }
.hero__figure { margin-top: clamp(3rem, 6vw, 5rem); }
.hero__figure img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.hero__caption {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-top: .8rem; border-top: 1px solid var(--line); margin-top: .9rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45);
}

/* ---------- Bağlantı ve düğmeler: kutu değil, çizgi ---------- */
.link {
  font-family: var(--body); font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: .35rem;
  transition: border-color .2s, color .2s;
}
.link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.link--gold { color: var(--gold); border-bottom-color: var(--gold); }
.band--ink .link { color: var(--paper); border-bottom-color: rgba(234,229,219,.5); }
.band--ink .link:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

/* ---------- Bölüm başlığı: sola dayalı, geniş sağ boşluk ---------- */
.sechead { max-width: 30ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Yerleşke girdileri: kart değil, tam genişlik editoryel satır ---------- */
.entry { display: grid; grid-template-columns: 12rem 1fr 16rem; gap: clamp(1.5rem, 4vw, 3.5rem);
         padding-block: clamp(2.2rem, 4vw, 3.4rem); border-top: 1px solid var(--line); align-items: start; }
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry__label { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding-top: .55rem; }
.entry__title { margin-bottom: .7rem; }
.entry__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 900px) {
  .entry { grid-template-columns: 1fr; gap: 1.2rem; }
  .entry__figure { order: -1; }
}

/* ---------- Oda girdileri: dönüşümlü, geniş, çerçevesiz ---------- */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
        padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.room:last-of-type { border-bottom: 1px solid var(--line); }
.room:nth-of-type(even) .room__figure { order: 2; }
.room__figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.room__label { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.room__title { margin: .8rem 0 1rem; }
.speclist { list-style: none; padding: 0; margin: 1.8rem 0 0; column-count: 2; column-gap: 2rem; }
.speclist li { font-size: .93rem; color: var(--ink-70); padding: .42rem 0; border-top: 1px solid var(--line-soft); break-inside: avoid; }
@media (max-width: 900px) { .room { grid-template-columns: 1fr; } .room:nth-of-type(even) .room__figure { order: 0; } .speclist { column-count: 1; } }

/* ---------- Hizmet dizini: ikon yok, isim + açıklama, hairline ---------- */
.index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); }
.index__item { padding-block: 1.5rem; border-top: 1px solid rgba(234,229,219,.20); }
.index__item h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.index__item p { font-size: .95rem; margin: 0; }
@media (max-width: 700px) { .index { grid-template-columns: 1fr; } }

/* ---------- Rakamlar ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.figures div { padding: 2rem 1rem 0; border-left: 1px solid var(--line); }
.figures div:first-child { border-left: 0; padding-left: 0; }
.figures dt { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1; }
.figures dd { margin: .6rem 0 0; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45); }
@media (max-width: 700px) { .figures { grid-template-columns: repeat(2, 1fr); } .figures div:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- Tam genişlik fotoğraf bandı ---------- */
.plate img { width: 100%; aspect-ratio: 21/8; object-fit: cover; }
@media (max-width: 700px) { .plate img { aspect-ratio: 4/3; } }

/* ---------- Sorular: akordeon kutusu değil, hairline <details> ---------- */
.qa { max-width: 46rem; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--display); font-size: 1.22rem; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.95rem; width: 13px; height: 1px; background: var(--ink);
}
.qa summary::before {
  content: ""; position: absolute; right: 6.35px; top: 1.35rem; width: 1px; height: 13px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.qa details[open] summary::before { opacity: 0; transform: rotate(90deg); }
.qa .qa__body { padding: 0 3rem 1.6rem 0; }
.qa .qa__body p { margin: 0; }

/* ---------- Kapanış ---------- */
.closing { text-align: center; }
.closing img.mark { height: 58px; width: auto; margin: 0 auto 2.4rem; }
.closing h2 { max-width: 18ch; margin-inline: auto; }
.closing p { margin-inline: auto; text-align: center; }
.closing .hero__actions { justify-content: center; }

/* ---------- Alt bilgi ---------- */
.foot { background: var(--ink); color: rgba(234,229,219,.72); padding-block: 4.5rem 2rem; }
.foot a { color: rgba(234,229,219,.72); }
.foot a:hover { color: var(--gold-light); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); }
.foot img.mark { height: 52px; width: auto; margin-bottom: 1.4rem; }
.foot h4 { font-family: var(--body); font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .5rem; font-size: .93rem; }
.foot p { color: rgba(234,229,219,.62); font-size: .93rem; max-width: 40ch; }
.foot__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(234,229,219,.16); margin-top: 3rem; padding-top: 1.4rem; font-size: .8rem; color: rgba(234,229,219,.5); }
.legal { background: var(--ink); color: rgba(234,229,219,.42); font-size: .78rem; line-height: 1.7; padding-bottom: 3rem; }
.legal .wrap { max-width: 62rem; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- İç sayfalar ---------- */
.pagehead { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.crumb { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 1.6rem; }
.crumb a:hover { color: var(--gold); }
.prose { max-width: 40rem; }
.prose p { font-size: 1.08rem; margin-bottom: 1.4rem; }
.aside { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.aside h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li { padding-block: .55rem; border-top: 1px solid var(--line-soft); font-size: .95rem; }
.aside li:first-child { border-top: 0; }
.postlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); }
.postlist a { display: block; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.postlist a:hover h3 { color: var(--gold); }
.postlist h3 { font-size: 1.35rem; margin-bottom: .4rem; transition: color .2s; }
.postlist p { font-size: .95rem; margin: 0; }
@media (max-width: 800px) { .postlist { grid-template-columns: 1fr; } }

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