/* ==========================================================================
   baskentogrenciyurdu.com — "Fortuna" ilhamlı tema
   Krem + taba/altın + zeytin-deniz yeşili aksan · Marcellus (serif) + Mukta (sans)
   ========================================================================== */

:root {
  --c-cream: #F7F3EC;        /* ana açık zemin */
  --c-cream-2: #EFE8DB;      /* kart/ayraç zemini */
  --c-tan: #A9855A;          /* taba/altın — birincil buton, aksan */
  --c-tan-2: #8E6E45;        /* koyu taba (hover) */
  --c-olive: #4F6155;        /* zeytin-deniz yeşili — etiket/aksan (fark) */
  --c-olive-2: #3C4C42;
  --c-dark: #201D18;         /* koyu warm — olanak kartları */
  --c-ink: #2A2620;          /* krem üstünde ana metin */
  --c-muted: #857A6B;        /* ikincil metin */
  --c-line: rgba(42,38,32,.12);
  --c-white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px rgba(42,38,32,.07);
  --shadow-md: 0 18px 50px rgba(42,38,32,.12);
  --font-display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--c-ink);
  --bs-body-bg: var(--c-cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cream);
  margin: 0;
  line-height: 1.65;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--c-tan-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--c-ink); line-height: 1.2; margin: 0 0 .6rem; }
.section { padding-block: 5.5rem; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--c-ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 2000; }

/* ---------- Eyebrow / bölüm etiketi ---------- */
.fx-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--c-olive); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: .75rem;
}
.fx-eyebrow::before { content: "+"; font-weight: 700; }
.fx-section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.fx-section-sub { color: var(--c-muted); max-width: 60ch; }
.text-center .fx-eyebrow { justify-content: center; }

/* ---------- Butonlar ---------- */
.fx-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.6rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.fx-btn svg { width: 15px; height: 15px; }
.fx-btn-primary { background: var(--c-tan); color: #fff; }
.fx-btn-primary:hover { background: var(--c-tan-2); transform: translateY(-1px); color: #fff; }
.fx-btn-olive { background: var(--c-olive); color: #fff; }
.fx-btn-olive:hover { background: var(--c-olive-2); transform: translateY(-1px); color: #fff; }
.fx-btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-tan); }
.fx-btn-outline:hover { background: var(--c-tan); color: #fff; }
.fx-btn-light { background: #fff; color: var(--c-ink); }
.fx-btn-light:hover { background: var(--c-cream-2); }

/* ---------- Header / Nav ---------- */
.fx-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(247,243,236,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.fx-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; position: relative; }
.fx-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.fx-brand:hover { text-decoration: none; }
.fx-brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-olive); color: #fff;
}
.fx-brand-mark svg { width: 22px; height: 22px; }
.fx-brand-text { font-family: var(--font-display); font-size: 1.08rem; color: var(--c-ink); letter-spacing: .01em; line-height: 1.05; white-space: nowrap; }
.fx-brand-text small { display: block; font-family: var(--font-body); font-size: .56rem; letter-spacing: .24em; color: var(--c-tan-2); text-transform: uppercase; margin-top: 3px; }

.fx-menu { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.fx-menu a { color: var(--c-ink); font-weight: 500; font-size: .9rem; padding: .4rem .55rem; border-radius: 8px; text-decoration: none; display: block; white-space: nowrap; }
.fx-menu a:hover, .fx-menu a.active { color: var(--c-tan-2); background: rgba(169,133,90,.1); text-decoration: none; }
.fx-nav-right { display: flex; align-items: center; gap: .7rem; }
.fx-nav-phone { color: var(--c-ink); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.fx-nav-right .fx-btn { padding: .5rem 1.05rem; font-size: .9rem; white-space: nowrap; }
.fx-nav-phone svg { width: 15px; height: 15px; color: var(--c-tan); }
.fx-nav-toggle { display: none; background: none; border: 1.5px solid var(--c-line); border-radius: 10px; padding: .45rem .55rem; cursor: pointer; color: var(--c-ink); }
.fx-nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.fx-hero { padding: 1.25rem 0 0; }
.fx-hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 560px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.fx-hero-frame > svg, .fx-hero-frame > .fx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,.28) 0%, rgba(20,17,13,.15) 45%, rgba(20,17,13,.55) 100%); }
.fx-hero-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 3rem 1.5rem; max-width: 760px; }
.fx-hero-emblem { width: 72px; height: 72px; margin: 0 auto 1.25rem; color: #fff; }
.fx-hero-title { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; margin-bottom: .4rem; }
.fx-hero-sub { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 1.75rem; }

/* Rezervasyon çubuğu */
.fx-bookbar {
  position: relative; z-index: 5; margin: -3.5rem auto 0; max-width: 980px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.fx-bookbar-field { flex: 1 1 160px; min-width: 140px; padding-right: 1.25rem; border-right: 1px solid var(--c-line); }
.fx-bookbar-field:last-of-type { border-right: none; }
.fx-bookbar-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-olive); font-weight: 600; margin-bottom: .2rem; }
.fx-bookbar-value { font-size: .98rem; color: var(--c-ink); font-weight: 600; }
.fx-bookbar-cta { flex: 0 0 auto; margin-left: auto; }
.fx-bookbar-note { text-align: center; color: var(--c-muted); font-size: .8rem; margin-top: .9rem; }

/* ---------- Odalar (alternating) ---------- */
.fx-rooms .fx-head { text-align: left; margin-bottom: 2.5rem; max-width: 640px; }
.fx-room {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.fx-room--reverse .fx-room-figure { order: 2; }
.fx-room-figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.fx-room-figure svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-room-body { padding: .5rem 1rem; }
.fx-room-body h3 { font-size: 1.7rem; }
.fx-room-body > p:not(.fx-room-price) { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-room-list { list-style: none; padding: 0; margin: .6rem 0 1.1rem; }
.fx-room-list li { position: relative; padding-left: 1.2rem; color: var(--c-muted); margin-bottom: .3rem; }
.fx-room-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-tan); }
.fx-room-price { font-family: var(--font-display); font-size: 1.05rem; color: var(--c-olive); margin-bottom: 1rem; }
.fx-room-price a { color: var(--c-tan-2); font-weight: 600; }
.fx-room-cta { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Olanak şeridi (koyu kartlar) ---------- */
.fx-amenities { padding-block: 1rem 5.5rem; }
.fx-amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.fx-amenity-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--c-dark); color: #fff; padding: 1.6rem; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fx-amenity-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0%, rgba(169,133,90,.35), transparent 60%); }
.fx-amenity-card > * { position: relative; z-index: 1; }
.fx-amenity-icon { width: 30px; height: 30px; color: var(--c-tan); margin-bottom: .75rem; }
.fx-amenity-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .25rem; }
.fx-amenity-card p { color: rgba(255,255,255,.72); font-size: .9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Hakkında ---------- */
.fx-about { background: var(--c-cream-2); }
.fx-about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.fx-about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.fx-about-lead { color: var(--c-ink); font-weight: 600; margin-bottom: .75rem; }
.fx-about-text p { color: var(--c-muted); }
.fx-about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.fx-about-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Hizmet/rehber kartları ---------- */
.fx-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.fx-service-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.fx-service-figure { aspect-ratio: 16/10; overflow: hidden; }
.fx-service-figure svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-service-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fx-service-body h3 { font-size: 1.25rem; }
.fx-service-body p { color: var(--c-muted); font-size: .92rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-service-link { color: var(--c-tan-2); font-weight: 600; font-size: .92rem; margin-top: .6rem; }

/* ---------- Süreç (3 adım) ---------- */
.fx-process { background: var(--c-olive-2); color: #fff; }
.fx-process h2, .fx-process .fx-section-sub { color: #fff; }
.fx-process .fx-eyebrow { color: #D9C9A6; }
.fx-process .fx-section-sub { opacity: .85; }
.fx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.fx-step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.75rem; }
.fx-step-no { font-family: var(--font-display); font-size: 2rem; color: var(--c-tan); line-height: 1; margin-bottom: .5rem; }
.fx-step h3 { color: #fff; font-size: 1.3rem; }
.fx-step p { color: rgba(255,255,255,.8); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-step a { color: #D9C9A6; font-weight: 600; font-size: .9rem; }

/* ---------- Galeri ---------- */
.fx-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 2.5rem; }
.fx-gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.fx-gallery-item svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }

/* ---------- SSS ---------- */
.fx-faq { background: var(--c-cream-2); }
.fx-faq-wrap { max-width: 820px; margin-inline: auto; margin-top: 2rem; }
.fx-faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; }
.fx-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.15rem 1.3rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--c-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fx-faq-q::after { content: "+"; font-size: 1.4rem; color: var(--c-tan); flex-shrink: 0; }
.fx-faq-item.open .fx-faq-q::after { content: "-"; }
.fx-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.fx-faq-item.open .fx-faq-a { max-height: 600px; }
.fx-faq-a p { padding: 0 1.3rem 1.3rem; color: var(--c-muted); margin: 0; }

/* ---------- CTA banner ---------- */
.fx-cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; padding: 3.5rem 2rem; text-align: center; }
.fx-cta-banner svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.fx-cta-banner::after { content: ""; position: absolute; inset: 0; background: rgba(20,17,13,.55); z-index: 1; }
.fx-cta-banner > * { position: relative; z-index: 2; }
.fx-cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.fx-cta-banner p { color: rgba(255,255,255,.85); max-width: 52ch; margin: .5rem auto 1.5rem; }

/* ---------- Footer ---------- */
.fx-footer { background: var(--c-tan); color: #fff; padding-block: 3.5rem 2rem; margin-top: 4rem; }
.fx-footer a { color: rgba(255,255,255,.85); }
.fx-footer a:hover { color: #fff; }
.fx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.fx-footer-brand .fx-brand-text { color: #fff; }
.fx-footer-brand .fx-brand-mark { background: rgba(255,255,255,.18); }
.fx-footer-brand p { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: .9rem; }
.fx-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: .9rem; }
.fx-footer ul { list-style: none; padding: 0; margin: 0; }
.fx-footer li { margin-bottom: .45rem; font-size: .92rem; }
.fx-footer-contact p { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0 0 .4rem; }
.fx-footer-social { display: flex; gap: .6rem; margin-top: .9rem; }
.fx-footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; }
.fx-footer-social svg { width: 16px; height: 16px; }
.fx-footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.8); }
.fx-legal { background: var(--c-olive-2); color: rgba(255,255,255,.8); font-size: .82rem; padding: 1.25rem 0; }
.fx-legal .container { text-align: center; }

/* ---------- Placeholder caption ---------- */
.fx-cap { font-size: .72rem; color: var(--c-muted); font-style: italic; margin-top: .4rem; }

/* ---------- Erişilebilirlik ---------- */
a:focus-visible, button:focus-visible { outline: 3px solid var(--c-olive); outline-offset: 2px; }

/* ---------- İç sayfa (page.php / blog.php) ---------- */
.fx-page-hero { background: var(--c-cream-2); padding-block: 3rem; border-bottom: 1px solid var(--c-line); }
.fx-page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.fx-breadcrumb { font-size: .85rem; color: var(--c-muted); margin-bottom: .5rem; }
.fx-breadcrumb a { color: var(--c-tan-2); }
.fx-prose { max-width: 760px; }
.fx-prose p { color: var(--c-ink); margin-bottom: 1.1rem; }
.fx-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.fx-blog-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.fx-blog-card h3 { font-size: 1.15rem; }
.fx-blog-card p { color: var(--c-muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .fx-menu, .fx-nav-phone { display: none; }
  .fx-nav-toggle { display: inline-flex; }
  .fx-header.open .fx-menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-cream); border-bottom: 1px solid var(--c-line);
    padding: 1rem 1.25rem; gap: .2rem; box-shadow: var(--shadow-md);
  }
  .fx-room { grid-template-columns: 1fr; gap: 1.25rem; }
  .fx-room--reverse .fx-room-figure { order: 0; }
  .fx-about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .fx-footer-grid { grid-template-columns: 1fr 1fr; }
  .fx-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-gallery-item.wide { grid-column: span 2; }
  .fx-hero-frame { min-height: 460px; }
  .fx-bookbar { margin-top: 1.25rem; }
  .fx-bookbar-field { border-right: none; border-bottom: 1px solid var(--c-line); padding-bottom: .75rem; padding-right: 0; flex-basis: 100%; }
  .fx-bookbar-cta { margin-left: 0; width: 100%; }
  .fx-bookbar-cta .fx-btn { width: 100%; justify-content: center; }
}
@media (max-width: 1199.98px) {
  .fx-menu, .fx-nav-phone { display: none; }
  .fx-nav-toggle { display: inline-flex; }
  .fx-header.open .fx-menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-cream); border-bottom: 1px solid var(--c-line);
    padding: 1rem 1.25rem; gap: .2rem; box-shadow: var(--shadow-md); z-index: 50;
  }
  .fx-header.open .fx-menu a { white-space: normal; }
}
@media (max-width: 575.98px) {
  .section { padding-block: 3.5rem; }
  .fx-footer-grid { grid-template-columns: 1fr; }
}

/* Mobilde bootstrap g-5 satır gutter taşmasını önle (yatay scroll fix) */
@media (max-width: 991.98px) {
  .row { --bs-gutter-x: 1.5rem; }
}

html { overflow-x: clip; }

/* Navbar CTA butonunu mobil/tablette gizle (hamburger görünürken) */
@media (max-width: 991.98px){ .d-none-mobile { display: none !important; } }

/* Hamburger toggle mobilde ezilmesin (44px korunur) + marka daralabilsin */
.fx-nav-toggle { flex-shrink: 0; }
.fx-brand { min-width: 0; }

/* Marka mobilde toggle ile üst üste binmesin: overflow clip + dar ekranda font küçült */
.fx-brand { overflow: hidden; } .fx-brand-mark { flex-shrink: 0; }
@media (max-width: 480px){ .fx-brand-text { font-size: .92rem; } .fx-brand-text small { font-size: .5rem; } .fx-nav { gap: .5rem; } }
