
/* ===== Family Guy Guys — Base Styles ===== */

:root {
  --stormy-teal: #0d5c63;
  --amber-glow: #f89b22;
  --night-bordeaux: #49111c;
  --pale-sky: #c0d8e0;
  --frozen-lake: #63d2ff;

  --bg-light: #fdfdfb;
  --text-dark: #1c1c1c;
  --text-muted: #5a5a5a;

  --font-display: 'FamilyGuyFont', cursive;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --max-width: 1160px;
}

@font-face {
  font-family: 'FamilyGuyFont';
  src: url('/fonts/family-guy-font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

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

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

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Nav ===== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--night-bordeaux);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: transform 0.15s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--amber-glow);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ===== Hero ===== */

.hero {
  background: var(--pale-sky);
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero-logo {
  max-width: 420px;
  margin: 0 auto 28px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--night-bordeaux);
  max-width: 560px;
  margin: 0 auto 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--amber-glow);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: var(--stormy-teal);
  transform: translateY(-3px);
}

/* ===== Section headings (Family Guy font moments) ===== */

.section-heading {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--night-bordeaux);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  max-width: 520px;
  margin: 0 auto 48px;
}

/* ===== Episodes ===== */

.episodes-section {
  padding: 90px 0;
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.episode-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.episode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.episode-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-countdown {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--night-bordeaux);
  color: var(--amber-glow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
}

.episode-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.episode-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--stormy-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.episode-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.episode-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.episode-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.episode-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber-glow);
}

.view-all-wrap {
  text-align: center;
  margin-top: 52px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--night-bordeaux);
  color: var(--night-bordeaux);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--night-bordeaux);
  color: #fff;
}

/* ===== About ===== */

.about-section {
  background: #fff;
  padding: 90px 0;
}

.about-intro {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.host-card {
  text-align: center;
}

.host-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 4px solid var(--pale-sky);
}

.host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.host-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--night-bordeaux);
  color: #fff;
  padding: 56px 0 32px;
  text-align: center;
}

.footer-logo {
  height: 48px;
  margin: 0 auto 20px;
  opacity: 0.95;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  list-style: none;
}

.social-links a {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.social-links a:hover { opacity: 1; color: var(--amber-glow); }

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

/* ===== Episodes archive page ===== */

.archive-header {
  padding: 60px 0 20px;
  text-align: center;
}

/* ===== Responsive ===== */

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section-heading { font-size: 2rem; }
  .hero { padding: 64px 0 48px; }
}
