:root {
  --bg: #0f0d0b;
  --panel: #1a1612;
  --panel-2: #231d17;
  --line: #3a3024;
  --text: #e9e1d3;
  --muted: #a99a85;
  --gold: #d8b46a;
  --gold-2: #f0d18c;
  --red: #c2523d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gold-2); }
img { max-width: 100%; display: block; }

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 24px;
  position: relative;
  z-index: 1;
}
.nav a { color: var(--text); text-decoration: none; opacity: 0.85; }
.nav a:hover { opacity: 1; color: var(--gold-2); }
.logo {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif; font-weight: 700; font-size: 20px;
  letter-spacing: 0.08em; color: var(--gold-2) !important; opacity: 1 !important;
}

.hero {
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(15, 13, 11, 0.35) 0%, rgba(15, 13, 11, 0.75) 60%, var(--bg) 100%),
    url("img/camp.jpg") center / cover no-repeat;
}
.hero__content {
  margin: auto;
  padding: 40px 20px 80px;
  text-align: center;
  max-width: 880px;
}
h1 {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-weight: 900;
  font-size: clamp(52px, 11vw, 124px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin: 0;
  background: linear-gradient(180deg, #fff3cf 0%, #f0cf86 38%, #c8923f 70%, #8a5a22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #3a2510) drop-shadow(0 8px 26px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 18px rgba(240, 190, 100, 0.25));
}
.crest { width: 92px; height: 92px; margin: 0 auto 6px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); font-size: 18px; margin: 4px 0 10px; }
.ornament span { width: min(160px, 25vw); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
/* Cinzel draws lowercase as small capitals (a lowercase "i" loses its dot): uppercase them with
   the page's Turkish rules instead, so "i" becomes "İ". */
h2, h3, .btn__title { font-family: "Cinzel", Georgia, serif; text-transform: uppercase; }
h2 { letter-spacing: 0.02em; }
.tagline { font-size: clamp(17px, 2.4vw, 22px); color: var(--text); text-shadow: 0 2px 10px #000; }

.buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 34px 0 14px; }
.btn {
  display: flex;
  flex-direction: column;
  min-width: 250px;
  padding: 16px 26px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  background: rgba(26, 22, 18, 0.9);
  border: 1px solid var(--gold);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(216, 180, 106, 0.25); }
.btn--primary { background: linear-gradient(180deg, #e2c27a, #b88f45); color: #1b140a; border-color: #f3d898; }
.btn__title { font-size: 19px; font-weight: 700; }
.btn__meta { font-size: 13px; opacity: 0.8; }
.note { color: var(--muted); font-size: 14px; }
.live { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 18px; border-radius: 10px;
  background: rgba(15, 13, 11, 0.6); border: 1px solid var(--line); margin-top: 8px; }
.status { font-size: 15px; color: var(--text); margin: 0; }
.uptime { font-size: 13px; color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.uptime b { color: var(--gold-2); font-weight: 600; }
.status--up::before, .status--down::before { content: "● "; }
.status--up::before { color: #6ccf6c; }
.status--down::before { color: var(--red); }

.section { max-width: 1100px; margin: 0 auto; padding: 70px 20px; }
h2 { font-size: clamp(26px, 4vw, 36px); color: var(--gold-2); margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 760px; font-size: 18px; }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 30px 0; }
.region { padding: 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); border-top: 4px solid var(--c); }
.region h3 { margin: 0; font-size: 18px; }
.region span { color: var(--c); font-weight: 700; font-size: 14px; }
.region p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.region--meadow { --c: #7ccf5a; }
.region--forest { --c: #3f9a62; }
.region--desert { --c: #e2a94f; }
.region--snow { --c: #9fd2ff; }
.region--volcano { --c: #e0603f; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; color: var(--muted); font-size: 14px; }

.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 26px 0; }
.classes article, .install article { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.classes h3, .install h3 { margin: 0 0 6px; color: var(--gold); }
.classes p { margin: 0; color: var(--muted); }
.features { columns: 2 260px; padding-left: 20px; color: var(--text); }
.features li { margin: 6px 0; }

.install { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 20px; }
.install ol { padding-left: 20px; margin: 0; }
.install li { margin: 8px 0; }
code {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
}
.small { display: block; font-size: 13px; color: var(--muted); }
.center { text-align: center; margin-top: 24px; }

.project h2 { font-style: italic; }
.project__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.project__grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.project__grid h3 { margin: 0 0 6px; color: var(--gold); }
.project__grid p { margin: 0; color: var(--muted); }
.project__grid b { color: var(--text); }
.age-big { text-align: center; font-size: 20px; margin-top: 32px; color: var(--text); }
.age-big span { color: var(--gold-2); font-weight: 700; }

.footer { border-top: 1px solid var(--line); text-align: center; padding: 28px 20px; color: var(--muted); font-size: 13px; }

body { overflow-x: hidden; }

@media (max-width: 600px) {
  .nav { gap: 12px; padding: 14px 16px; font-size: 14px; }
  .logo { width: 100%; margin-right: 0; }
  h1 { font-size: 46px; letter-spacing: 0.02em; }
  .crest { width: 64px; height: 64px; }
  .btn { min-width: 0; width: 100%; }
  .hero__content { padding: 24px 16px 60px; }
}

.lang {
  font: 600 13px/1 "Cinzel", Georgia, serif;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  background: rgba(15, 13, 11, 0.55);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
}
.lang:hover { background: rgba(216, 180, 106, 0.18); }
