/* =============================================
   WILDLIFE EXPLORER PH — CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --bg: #faf8f4;
  --bg-2: #f0ebe3;
  --card: #ffffff;
  --card-2: #f7f3ed;
  --line: #e0d8cc;
  --primary: #2d6a4f;
  --primary-2: #40916c;
  --primary-dark: #1b4332;
  --accent: #c9952a;
  --accent-light: #f0c040;
  --text: #1a1a1a;
  --muted: #6b6359;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
  --radius: 10px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(45,106,79,0.3);
}
.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45,106,79,0.35);
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.nav-toggle svg { width: 22px; height: 22px; }

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image: var(--img-hero);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,67,50,0.55) 0%,
    rgba(27,67,50,0.75) 60%,
    rgba(27,67,50,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* =============================================
   INTRO
   ============================================= */
.intro {
  padding: 80px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.intro-text p {
  font-size: 0.975rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-image img { height: 280px; }
}

/* =============================================
   ARTICLE GRID
   ============================================= */
.articles {
  padding: 80px 0;
  background: var(--bg-2);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.article-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.article-img-wrap {
  overflow: hidden;
  height: 220px;
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.04);
}

.article-body {
  padding: 24px;
}

.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.article-body > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.article-toggle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.article-toggle:hover { color: var(--primary-dark); }

.article-full {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-full.open { display: block; }

.article-full p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* =============================================
   VISITOR TIPS
   ============================================= */
.tips {
  padding: 80px 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tip-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.tip-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.tip-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
}

.tip-icon svg { width: 22px; height: 22px; }

.tip-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .tips-grid { grid-template-columns: 1fr; }
}

/* =============================================
   SEASONAL GUIDE
   ============================================= */
.seasonal {
  padding: 80px 0;
  background: var(--bg-2);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.season-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.season-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 0;
}

.season-header svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.season-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.season-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 24px;
}

.season-dry .season-header { color: #c95a00; }
.season-dry { border-top: 3px solid #c95a00; }

.season-wet .season-header { color: #1b4965; }
.season-wet { border-top: 3px solid #1b4965; }

.season-peak .season-header { color: #7f4f24; }
.season-peak { border-top: 3px solid #7f4f24; }

.season-bird .season-header { color: #2d6a4f; }
.season-bird { border-top: 3px solid #2d6a4f; }

.season-tips {
  padding: 12px 24px 24px;
}

.season-tips li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.season-tips li::before {
  content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9952a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  top: 8px;
}

@media (max-width: 768px) {
  .season-grid { grid-template-columns: 1fr; }
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter {
  padding: 80px 0;
}

.newsletter-box {
  background: var(--primary-dark);
  border-radius: var(--radius);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.newsletter-text h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.newsletter-text p {
  font-size: 0.925rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 20px;
}

.newsletter-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-perks li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  padding-left: 22px;
  position: relative;
}

.newsletter-perks li::before {
  content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0c040' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  top: 1px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.form-group input[type="text"],
.form-group input[type="email"] {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 0.925rem;
  font-family: var(--font-body);
  color: var(--white);
  transition: border-color 0.2s;
}

.form-group input::placeholder { color: rgba(255,255,255,0.45); }
.form-group input:focus { outline: none; border-color: var(--accent-light); }

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.form-check label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.newsletter-form .btn { align-self: flex-start; }

.newsletter-success {
  font-size: 0.9rem;
  color: #8fd9a8;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 32px;
  }
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  padding: 80px 0;
  background: var(--bg-2);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--card-2); }

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.25s;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-col { }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =============================================
   SCROLL-REVEAL (progressive enhancement)
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}