/* EagleCam.tv - Black dominant with green & grey accents */
:root {
  --black: #0a0a0a;
  --near-black: #111111;
  --dark-grey: #1a1a1a;
  --mid-grey: #2a2a2a;
  --light-grey: #a0a0a0;
  --green: #3d6b4f;
  --green-light: #5a8a6a;
  --green-dark: #1e3a28;
  --text: #e0e0e0;
  --cream: #f0f0f0;
  --muted: #888888;
  --card-bg: rgba(26, 26, 26, 0.92);
  --accent: #4a8c5e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
header {
  background: linear-gradient(180deg, var(--near-black) 0%, var(--black) 100%);
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span em {
  color: var(--green-light);
  font-style: normal;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--green-light);
}

/* Hero */
.hero {
  position: relative;
  height: 420px;
  background: url('assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.25rem;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--green-light);
}

.subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Nest grid */
.nest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.nest-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(61, 107, 79, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.nest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  border-color: var(--green);
}

.nest-card .card-img {
  height: 160px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.nest-card .card-body {
  padding: 1.25rem;
}

.nest-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--cream);
}

.nest-card .location {
  color: var(--green-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.nest-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Nest page styles */
.nest-header {
  background: linear-gradient(135deg, var(--near-black), var(--black));
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 2px solid var(--green);
}

.nest-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.nest-header .loc {
  color: var(--green-light);
  font-size: 1.1rem;
}

.stream-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.stream-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(61,107,79,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.stream-card h3 {
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.stream-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  background: var(--green);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--green-light);
  transform: scale(1.03);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green-light);
}

.btn-secondary:hover {
  background: var(--green);
  color: var(--cream);
}

/* Ad placeholder */
.ad-slot {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(61,107,79,0.45);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  margin: 2rem 0;
  font-size: 0.85rem;
}

.ad-slot strong {
  color: var(--green-light);
}

/* Footer */
footer {
  background: var(--near-black);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(61,107,79,0.3);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--green-light);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  nav a {
    margin: 0 0.75rem;
  }
  .hero {
    height: 320px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .stream-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
