/*
Theme Name: On the Wildside with Alexander
Theme URI: https://example.com/on-the-wildside
Author: Built for Alexander
Description: A wilderness-inspired WordPress theme for the YouTube channel "On the Wildside with Alexander". Deep forest vibes, camping energy, built as a simple hub that sends people straight to YouTube.
Version: 1.1
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: on-the-wildside
Tags: custom-background, custom-logo, one-column, responsive-layout, kid-friendly
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: #e8f0e9;
  color: #1a2e1c;
  line-height: 1.65;
  font-size: 18px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2d6a4f;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #081c15;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #081c15;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(90deg, #081c15 0%, #1b4332 50%, #2d6a4f 100%);
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  border-bottom: 3px solid #40916c;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-title span {
  font-size: 1.7rem;
}

.site-title a {
  color: #fff;
}

.site-title a:hover {
  color: #95d5b2;
}

.header-nav a {
  color: #b7e4c7;
  font-weight: 600;
  margin-left: 22px;
  font-size: 0.95rem;
}

.header-nav a:hover {
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-color: #1b4332;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* dark overlay so text stays readable over the forest photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,21,0.55) 0%, rgba(27,67,50,0.4) 50%, rgba(232,240,233,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.35);
}

.hero .tagline {
  font-size: 1.2rem;
  color: #d8f3dc;
  max-width: 580px;
  margin: 0 auto 32px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.btn-primary {
  background: #e63946;
  color: #fff;
  box-shadow: 0 6px 20px rgba(230,57,70,0.35);
}

.btn-primary:hover {
  background: #d62828;
  color: #fff;
}

.btn-secondary {
  background: rgba(255,255,255,0.95);
  color: #081c15;
  border: 3px solid #95d5b2;
}

.btn-secondary:hover {
  background: #d8f3dc;
  color: #081c15;
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #52796f;
  margin-bottom: 42px;
  font-size: 1.1rem;
}

/* ===== ABOUT ===== */
.about {
  background: #f4f9f5;
}

.about-card {
  background: #fff;
  border-radius: 28px;
  padding: 44px 40px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  border: 4px solid #95d5b2;
  box-shadow: 0 16px 40px rgba(27,67,50,0.12);
  position: relative;
}

.about-card::before {
  content: "🌲";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  background: #f4f9f5;
  padding: 0 12px;
}

.about-emoji {
  font-size: 3.8rem;
  margin-bottom: 16px;
}

.about-card p {
  font-size: 1.15rem;
  color: #1a2e1c;
  margin-bottom: 14px;
}

.about-card strong {
  color: #081c15;
}

/* ===== ADVENTURES ===== */
.adventures {
  background: linear-gradient(180deg, #e8f0e9 0%, #d8e8db 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.video-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(8,28,21,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 3px solid transparent;
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: #40916c;
  box-shadow: 0 20px 40px rgba(8,28,21,0.18);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: #1b4332;
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.video-thumb::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e63946;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 5px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  z-index: 2;
}

.video-info {
  padding: 22px;
}

.video-info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.video-info p {
  font-size: 0.95rem;
  color: #52796f;
  margin-bottom: 16px;
}

.video-link {
  display: inline-block;
  font-weight: 700;
  color: #e63946;
  font-size: 0.95rem;
}

.video-link:hover {
  color: #d62828;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #081c15 0%, #1b4332 60%, #2d6a4f 100%);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: 
    radial-gradient(ellipse at 20% 100%, #081c15 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, #1b4332 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, #081c15 0%, transparent 50%);
  opacity: 0.6;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #081c15;
  color: #b7e4c7;
  padding: 45px 0 28px;
  text-align: center;
}

.footer-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-links {
  margin: 22px 0;
}

.footer-links a {
  color: #95d5b2;
  margin: 0 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 22px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .header-nav a {
    margin: 0 10px;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .about-card {
    padding: 36px 22px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}