/*
Theme Name: Inspired Podcast Stories
Theme URI: https://inspiredstoriespodcast.com
Description: Custom child theme for Inspired Podcast Stories - Modern podcast design with custom styling
Author: Anthony Codispoti
Author URI: https://inspiredstoriespodcast.com
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inspired-podcast-child
*/

/* ==================================
   MODERN PODCAST THEME CUSTOMIZATION
   ================================== */

/* --- COLOR SCHEME --- */
:root {
  /* Primary Colors - Podcast Brand - Updated */
  --podcast-primary: #2c3e50; /* Deep Navy Blue */
  --podcast-secondary: #3498db; /* Bright Blue */
  --podcast-accent: #1abc9c; /* Teal/Turquoise */

  /* Neutral Colors */
  --podcast-dark: #1a1a2e; /* Almost Black */
  --podcast-light: #f4f4f9; /* Off White */
  --podcast-gray: #6c757d; /* Medium Gray */
  --podcast-white: #ffffff; /* Pure White */

  /* Gradient */
  --podcast-gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  --podcast-gradient-accent: linear-gradient(135deg, #3498db 0%, #1abc9c 100%);
  --podcast-gradient-dark: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
}

/* --- TYPOGRAPHY --- */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--podcast-dark);
  line-height: 1.7;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--podcast-dark);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}

/* --- HERO SECTION --- */
.podcast-hero {
  background: var(--podcast-gradient-dark);
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.podcast-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("assets/hero-pattern.svg") repeat;
  opacity: 0.1;
  z-index: 0;
}

.podcast-hero h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.podcast-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.podcast-hero .listen-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- PODCAST CARDS --- */
.podcast-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.podcast-card-image {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: var(--podcast-gradient);
}

.podcast-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-card-content {
  padding: 30px;
}

.podcast-card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--podcast-dark);
}

.podcast-card-excerpt {
  color: var(--podcast-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.podcast-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--podcast-gray);
  margin-bottom: 20px;
}

/* --- BUTTONS --- */
.btn-podcast {
  display: inline-block;
  padding: 15px 35px;
  background: var(--podcast-gradient);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-podcast:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
  color: white;
}

.btn-podcast-outline {
  background: transparent;
  color: var(--podcast-primary);
  border: 2px solid var(--podcast-primary);
}

.btn-podcast-outline:hover {
  background: var(--podcast-primary);
  color: white;
}

/* --- AUDIO PLAYER STYLING --- */
.podcast-player {
  background: var(--podcast-light);
  border-radius: 16px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.podcast-player audio {
  width: 100%;
  border-radius: 10px;
}

/* --- NAVIGATION --- */
/* Header styles are in assets/css/header.css */

.site-navigation a {
  color: var(--podcast-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-navigation a:hover {
  color: var(--podcast-primary);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--podcast-dark);
  /* color: rgba(255, 255, 255, 0.8); */
  padding: 60px 20px 30px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--podcast-accent);
}

/* --- SUBSCRIBE SECTION --- */
.subscribe-section {
  background: var(--podcast-gradient);
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.subscribe-section h2 {
  color: white;
  margin-bottom: 20px;
}

.subscribe-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
}

/* --- EPISODE GRID --- */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

/* --- CATEGORY BADGES --- */
.category-badge {
  display: inline-block;
  padding: 5px 15px;
  background: var(--podcast-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 10px;
}

/* --- PLAY BUTTON OVERLAY --- */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 53, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 107, 53, 1);
}

.play-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .podcast-hero h1 {
    font-size: 2.5rem;
  }

  .podcast-hero p {
    font-size: 1.2rem;
  }

  .episode-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* --- ACCESSIBILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--podcast-accent);
  outline-offset: 2px;
}
