/* Birds of Uganda — nature/birding theme */
:root {
  --forest: #1d3b2a;
  --forest-light: #2e5741;
  --cream: #f4f1ea;
  --parchment: #faf8f2;
  --gold: #c9a227;
  --sunbird: #d95f2b;   /* accent: sunbird orange */
  --ink: #2b2b26;
  --muted: #6d6a5e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, 'Times New Roman', serif; background: var(--cream); color: var(--ink); line-height: 1.6; }
a { color: var(--forest); }
img { max-width: 100%; }

/* Header */
.site-header { background: var(--forest); color: var(--cream); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.site-logo { max-height: 56px; }
.site-title { font-size: 1.5rem; font-weight: bold; color: var(--gold); letter-spacing: .5px; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.main-nav a { color: var(--cream); text-decoration: none; padding: 8px 12px; border-radius: 4px; font-size: .95rem; }
.main-nav a:hover { background: var(--forest-light); }
.btn-book { background: var(--sunbird); font-weight: bold; }
.btn-book:hover { background: #b84e20 !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--cream); color: var(--cream); font-size: 1.3rem; padding: 4px 10px; border-radius: 4px; cursor: pointer; }
.site-statement { text-align: center; background: var(--forest-light); color: var(--gold); font-style: italic; padding: 6px 16px; font-size: .95rem; }

/* Layout */
.site-main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 48px; min-height: 60vh; }
.page-title { color: var(--forest); margin-bottom: 16px; border-bottom: 3px solid var(--gold); display: inline-block; padding-bottom: 4px; }

/* Bird showcase (front page) */
.showcase { background: var(--parchment); border: 1px solid #e2ddcf; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.slide-stage { position: relative; background: #10241a; text-align: center; }
.slide-stage img { display: none; max-height: 62vh; width: auto; max-width: 100%; margin: 0 auto; }
.slide-stage img.active { display: inline-block; }
.slide-controls { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.slide-controls button { background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; padding: 8px 16px; cursor: pointer; font-size: .9rem; }
.slide-controls button:hover { background: var(--sunbird); }
.photo-dots { position: absolute; top: 12px; right: 16px; color: #fff; background: rgba(0,0,0,.45); padding: 3px 10px; border-radius: 12px; font-size: .8rem; }
.no-photo { padding: 80px 20px; color: var(--cream); font-style: italic; }

.bird-details { padding: 22px 26px; }
.bird-details h2 { color: var(--forest); font-size: 1.7rem; }
.bird-details .sci { font-style: italic; color: var(--muted); margin-bottom: 10px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; margin: 12px 0; }
.detail-grid .label { font-weight: bold; color: var(--forest); font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.commentary { background: var(--cream); border-left: 4px solid var(--gold); padding: 12px 16px; margin-top: 14px; border-radius: 0 6px 6px 0; }
.commentary .who { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.preline { white-space: pre-line; }

/* Testimonials */
.testimonials-section { margin-top: 40px; }
.testimonial-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.testimonial-card { background: var(--parchment); border: 1px solid #e2ddcf; border-radius: 10px; padding: 18px; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card .who { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* Ads */
.ad-space { margin-top: 40px; background: #fff; border: 2px dashed #d5cfc0; border-radius: 10px; padding: 20px; text-align: center; }

/* Forms */
.form-card { background: var(--parchment); border: 1px solid #e2ddcf; border-radius: 10px; padding: 26px; max-width: 640px; }
.form-card label { display: block; font-weight: bold; color: var(--forest); margin: 14px 0 4px; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=date],
.form-card select, .form-card textarea {
  width: 100%; padding: 10px; border: 1px solid #cfc9b8; border-radius: 6px;
  font-family: inherit; font-size: 1rem; background: #fff;
}
.form-card textarea { min-height: 120px; }
.btn { display: inline-block; background: var(--forest); color: #fff; border: none; padding: 12px 26px; border-radius: 6px; font-size: 1rem; cursor: pointer; margin-top: 18px; text-decoration: none; }
.btn:hover { background: var(--forest-light); }
.btn-orange { background: var(--sunbird); }
.btn-orange:hover { background: #b84e20; }
.g-recaptcha { margin-top: 16px; }

.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.alert-success { background: #e5f2e5; border: 1px solid #9dc79d; color: #205020; }
.alert-error { background: #f8e5e0; border: 1px solid #d9a08c; color: #7a2e12; }

/* Ticket thread */
.thread { max-width: 720px; }
.msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 12px; }
.msg-user { background: #fff; border: 1px solid #e2ddcf; }
.msg-admin { background: #e8f0e8; border: 1px solid #bcd3bc; }
.msg .meta { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.status-pill { display: inline-block; padding: 2px 12px; border-radius: 12px; font-size: .8rem; color: #fff; }
.status-open { background: #2e7d32; }
.status-closed { background: #9e3b1e; }

/* Diary */
.diary-post { background: var(--parchment); border: 1px solid #e2ddcf; border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.diary-post h2 { color: var(--forest); }
.diary-post .date { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--forest); color: var(--cream); text-align: center; padding: 24px 16px; }
.social-row { display: flex; justify-content: center; gap: 18px; margin-bottom: 12px; }
.social-link { color: var(--gold); }
.social-link:hover { color: var(--sunbird); }

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; border-top: 1px solid var(--forest-light); }
  .slide-stage img { max-height: 48vh; }
  .bird-details { padding: 16px; }
}
