:root {
  /* Core Desert Palette */
  --bg: #f5e9d8;
  --card: #fff7eb;
  --text: #4a2c12;
  --muted: #9c6a3a;
  --line: rgba(164, 108, 46, 0.25);

  /* Accent Colors */
  --accent: #e67e22;
  --accent-soft: #f3a55c;
  --danger: #c94c2a;
  --ok: #3d8b5c;

  --sun-glow: rgba(230, 126, 34, 0.25);
}

/* Reset */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Sticky Footer Layout */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 80% 10%, var(--sun-glow), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 247, 235, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
}

/* Navigation */
.nav {
  display: none;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.nav a:hover {
  background: rgba(230, 126, 34, 0.1);
}

.nav a.active,
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: #fff;
}

/* Mobile Nav Button */
.nav-toggle {
  background: rgba(230, 126, 34, 0.15);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

/* Main Content */
.main-content {
  padding: 30px 0 48px;
  flex: 1;
}

/* Hero */
.hero {
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(230, 126, 34, 0.18), rgba(255, 247, 235, 0.8));
  border-radius: 18px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.lead {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Grid */
.grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

/* Cards */
.card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 4px 14px rgba(164,108,46,0.12);
}

.card h2 { margin-top: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  transition: 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.btn-outline:hover {
  background: rgba(230, 126, 34, 0.12);
}

/* Forms */
.form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--text);
}

.fieldset {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 12px;
  display: none;
}

.fieldset legend {
  color: var(--muted);
  padding: 0 6px;
}

/* Alerts */
small.error {
  color: var(--danger);
  display: block;
  margin-top: 6px;
}

.alert {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.alert.success {
  border-color: rgba(61,139,92,0.4);
  background: rgba(61,139,92,0.12);
}

.alert.error {
  border-color: rgba(201,76,42,0.4);
  background: rgba(201,76,42,0.12);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.gallery-item {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.small { font-size: 0.9rem; }

/* Responsive */
@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
