/* ==========================================================================
   bilkentogrenciyurdu.com — "Unisuite" ilhamlı tema
   Koyu zümrüt + krem + hardal/altın · Cormorant Garamond (serif) + Jost (sans)
   ========================================================================== */

:root {
  --c-emerald: #0E4B44;
  --c-emerald-2: #0A3A34;
  --c-cream: #F7F1E6;
  --c-cream-2: #F6E9C6;      /* buttery panel */
  --c-gold: #E4B95B;
  --c-gold-2: #C99B3B;
  --c-ink: #143029;          /* koyu zümrüt-ink metin */
  --c-muted: #5C6B63;
  --c-line: rgba(20,48,41,.12);
  --c-white: #FFFFFF;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 24px rgba(14,75,68,.08);
  --shadow-md: 0 22px 60px rgba(14,75,68,.16);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 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-emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--c-emerald); line-height: 1.12; margin: 0 0 .6rem; letter-spacing: .01em; }
.section { padding-block: 5.5rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--c-emerald); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 2000; }

/* eyebrow */
.un-eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-gold-2); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: .7rem; font-family: var(--font-body); }
.un-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--c-gold-2); }
.text-center .un-eyebrow { justify-content: center; }
.un-title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.un-sub { color: var(--c-muted); max-width: 62ch; }

/* butonlar */
.un-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.7rem; 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, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.un-btn svg { width: 15px; height: 15px; }
.un-btn-primary { background: var(--c-emerald); color: #fff; }
.un-btn-primary:hover { background: var(--c-emerald-2); transform: translateY(-1px); color: #fff; }
.un-btn-gold { background: var(--c-gold); color: var(--c-emerald-2); }
.un-btn-gold:hover { background: var(--c-gold-2); transform: translateY(-1px); color: var(--c-emerald-2); }
.un-btn-outline { background: transparent; color: var(--c-emerald); border-color: var(--c-emerald); }
.un-btn-outline:hover { background: var(--c-emerald); color: #fff; }
.un-btn-light { background: #fff; color: var(--c-emerald); }
.un-btn-light:hover { background: var(--c-cream-2); }

/* header / nav */
.un-header { position: sticky; top: 0; z-index: 1030; background: rgba(247,241,230,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line); }
.un-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; position: relative; }
.un-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.un-brand:hover { text-decoration: none; }
.un-brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--c-emerald); color: var(--c-gold); display: inline-flex; align-items: center; justify-content: center; }
.un-brand-mark svg { width: 20px; height: 20px; }
.un-brand-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--c-emerald); line-height: 1; }
.un-menu { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.un-menu a { color: var(--c-ink); font-weight: 500; font-size: .95rem; padding: .45rem .8rem; border-radius: 8px; text-decoration: none; display: block; }
.un-menu a:hover, .un-menu a.active { color: var(--c-emerald); background: rgba(14,75,68,.07); text-decoration: none; }
.un-nav-right { display: flex; align-items: center; gap: .8rem; }
.un-nav-phone { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-pill); padding: .5rem 1rem; color: var(--c-emerald); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.un-nav-phone svg { width: 14px; height: 14px; color: var(--c-gold-2); }
.un-nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-emerald); border: none; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.un-nav-toggle svg { width: 20px; height: 20px; }

/* HERO (fan) */
.un-hero { padding-top: 3rem; text-align: center; }
.un-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 16ch; margin-inline: auto; }
.un-hero-fan { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 2.5rem; }
.un-fan-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); flex: 0 0 auto; }
.un-fan-item svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.un-fan-item.s1 { width: 120px; height: 150px; }
.un-fan-item.s2 { width: 170px; height: 230px; }
.un-fan-item.s3 { width: 240px; height: 330px; }

/* STAT PANEL */
.un-stats { display: grid; grid-template-columns: 360px 1fr; min-height: 340px; }
.un-stats-dark { background: var(--c-emerald); color: #fff; padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.un-stat-icon { width: 30px; height: 30px; color: var(--c-gold); margin-bottom: .5rem; }
.un-stat-num { font-family: var(--font-display); font-size: 2.8rem; color: #fff; line-height: 1; }
.un-stat-label { color: rgba(255,255,255,.78); font-size: .95rem; }
.un-stats-light { background: var(--c-cream-2); padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.un-stats-light h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.un-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 1.75rem; }
.un-mini-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1rem 1.1rem; display: flex; align-items: center; gap: .9rem; }
.un-mini-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(228,185,91,.16); color: var(--c-gold-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.un-mini-ic svg { width: 22px; height: 22px; }
.un-mini-body h3 { font-size: 1.1rem; margin: 0 0 .05rem; }
.un-mini-body span { color: var(--c-gold-2); font-size: .8rem; font-weight: 600; }

/* GALERİ (grid) */
.un-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.un-gallery-card { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.un-gallery-card .fig { aspect-ratio: 4/3; }
.un-gallery-card .fig svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.un-gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(10,58,52,.86)); color: #fff; padding: 1.5rem 1.1rem .9rem; }
.un-gallery-cap h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.un-gallery-cap p { color: rgba(255,255,255,.82); font-size: .85rem; margin: .15rem 0 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* KONUM avantajı */
.un-loc { background: var(--c-emerald); color: #fff; }
.un-loc h2, .un-loc .un-title { color: #fff; }
.un-loc .un-eyebrow { color: var(--c-gold); }
.un-loc .un-eyebrow::before { background: var(--c-gold); }
.un-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.un-loc-points { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.un-loc-points li { position: relative; padding-left: 1.6rem; margin-bottom: .8rem; color: rgba(255,255,255,.86); }
.un-loc-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--c-gold); }
.un-loc-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.un-loc-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FEATURES (kart) */
.un-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.un-feature-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.un-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(228,185,91,.16); color: var(--c-gold-2); margin-bottom: .8rem; }
.un-feature-icon svg { width: 24px; height: 24px; }
.un-feature-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.un-feature-card p { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.un-feature-fig { aspect-ratio: 5/4; border-radius: 12px; overflow: hidden; }
.un-feature-fig svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SSS */
.un-faq { background: var(--c-cream-2); }
.un-faq-wrap { max-width: 820px; margin-inline: auto; margin-top: 2rem; }
.un-faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; }
.un-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-emerald); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.un-faq-q::after { content: "+"; font-size: 1.4rem; color: var(--c-gold-2); flex-shrink: 0; }
.un-faq-item.open .un-faq-q::after { content: "-"; }
.un-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.un-faq-item.open .un-faq-a { max-height: 600px; }
.un-faq-a p { padding: 0 1.3rem 1.3rem; color: var(--c-muted); margin: 0; }

/* CTA */
.un-cta { text-align: center; }
.un-cta .un-brand-mark { margin: 0 auto 1rem; }
.un-cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.un-cta p { color: var(--c-muted); max-width: 52ch; margin: .5rem auto 1.5rem; }

/* Footer */
.un-footer { background: var(--c-cream-2); border-top: 1px solid var(--c-line); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.un-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.un-footer h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-gold-2); margin-bottom: .9rem; }
.un-footer ul { list-style: none; padding: 0; margin: 0; }
.un-footer li { margin-bottom: .45rem; font-size: .92rem; }
.un-footer a { color: var(--c-ink); }
.un-footer a:hover { color: var(--c-emerald); }
.un-footer-brand p { color: var(--c-muted); font-size: .9rem; margin-top: .8rem; }
.un-footer-contact p { color: var(--c-ink); font-size: .9rem; margin: 0 0 .5rem; display: flex; gap: .5rem; }
.un-footer-bottom { border-top: 1px solid var(--c-line); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--c-muted); }
.un-legal { background: var(--c-emerald-2); color: rgba(255,255,255,.8); font-size: .82rem; padding: 1.25rem 0; }
.un-legal .container { text-align: center; }

/* iç sayfa */
.un-page-hero { background: var(--c-emerald); color: #fff; padding-block: 3.5rem; }
.un-page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.un-breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: .5rem; }
.un-breadcrumb a { color: var(--c-gold); }
.un-page-hero .un-sub { color: rgba(255,255,255,.85); }
.un-prose { max-width: 760px; }
.un-prose p { color: var(--c-ink); margin-bottom: 1.1rem; }
.un-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.un-blog-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); display: block; }
.un-blog-card h3 { font-size: 1.3rem; }
.un-blog-card p { color: var(--c-muted); font-size: .9rem; }
.un-link { color: var(--c-gold-2); font-weight: 600; font-size: .92rem; }

/* responsive */
@media (max-width: 991.98px) {
  .un-menu, .un-nav-phone { display: none; }
  .un-nav-toggle { display: inline-flex; }
  .un-header.open .un-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); }
  .un-stats { grid-template-columns: 1fr; }
  .un-stats-dark { flex-direction: row; flex-wrap: wrap; gap: 1.25rem 2rem; padding: 2rem 1.5rem; }
  .un-stats-dark > div { flex: 1 1 40%; }
  .un-stats-light { padding: 2rem 1.5rem; }
  .un-loc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .un-features-grid { grid-template-columns: repeat(2, 1fr); }
  .un-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .un-footer-grid { grid-template-columns: 1fr 1fr; }
  .un-fan-item.s1 { display: none; }
}
@media (max-width: 575.98px) {
  .section { padding-block: 3.5rem; }
  .un-features-grid, .un-gallery-grid, .un-footer-grid, .un-mini-grid { grid-template-columns: 1fr; }
  .un-hero-fan { gap: .5rem; }
  .un-fan-item.s2 { width: 110px; height: 150px; }
  .un-fan-item.s3 { width: 150px; height: 210px; }
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }

/* 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; }

.un-hero-fan { overflow: hidden; }

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

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