/*
Theme Name: KBHR570 Northern Radio
Theme URI: https://www.kbhr570.com
Description: A custom child theme for KBHR 570 AM - Cicely, Alaska's internet radio station. Inspired by Northern Exposure with a rustic Alaska aesthetic featuring warm earth tones, aurora-inspired accents, and vintage radio charm.
Author: KBHR570
Author URI: https://www.kbhr570.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: radio, broadcasting, alaska, northern-exposure, vintage
Text Domain: kbhr570-child
*/

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Alaska Color Palette - Inspired by Northern Lights & Wilderness */
    --kbhr-forest-deep: #2c4236;
    --kbhr-forest-pine: #3d5a45;
    --kbhr-aurora-teal: #4a8b8b;
    --kbhr-aurora-blue: #5b9aa9;
    --kbhr-mountain-slate: #5d6d7e;
    --kbhr-snow-white: #f5f7f5;
    --kbhr-birch-cream: #f4efe8;
    --kbhr-cabin-wood: #8b6f47;
    --kbhr-cabin-rust: #a65e3f;
    --kbhr-aurora-green: #7fc49d;
    --kbhr-moose-brown: #4a3e35;
    --kbhr-gold-accent: #d4af37;
    
    /* Typography */
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Cabin', 'Trebuchet MS', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-soft: 0 2px 8px rgba(44, 66, 54, 0.15);
    --shadow-medium: 0 4px 16px rgba(44, 66, 54, 0.2);
    --shadow-strong: 0 8px 24px rgba(44, 66, 54, 0.25);
}

/* ============================================
   IMPORT GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Source+Sans+Pro:wght@300;400;600;700&family=Cabin:wght@400;500;600;700&display=swap');

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    font-family: var(--font-body);
    color: var(--kbhr-moose-brown);
    background-color: var(--kbhr-birch-cream);
    background-image: 
        linear-gradient(135deg, rgba(123, 159, 133, 0.03) 0%, transparent 50%),
        repeating-linear-group(90deg, transparent, transparent 2px, rgba(93, 109, 126, 0.02) 2px, rgba(93, 109, 126, 0.02) 4px);
    line-height: 1.7;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    background: linear-gradient(180deg, var(--kbhr-forest-deep) 0%, var(--kbhr-forest-pine) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--kbhr-gold-accent);
    position: relative;
}

/* Add subtle northern lights effect to header */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(127, 196, 157, 0.1) 20%,
        rgba(74, 139, 139, 0.15) 50%,
        rgba(91, 154, 169, 0.1) 80%,
        transparent 100%);
    opacity: 0.6;
    pointer-events: none;
}

.site-logo {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.main-navigation a {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--kbhr-birch-cream);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--kbhr-aurora-green);
    text-shadow: 0 0 8px rgba(127, 196, 157, 0.5);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--kbhr-gold-accent);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* ============================================
   HERO / WELCOME SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--kbhr-aurora-blue) 0%, var(--kbhr-aurora-teal) 100%);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) auto;
    max-width: 1200px;
}

/* Aurora effect overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(127, 196, 157, 0.3) 0%,
        transparent 70%);
    animation: aurora-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aurora-pulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(10%, 10%) scale(1.1); opacity: 0.5; }
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--kbhr-snow-white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--kbhr-birch-cream);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   AUDIO PLAYER STYLES
   ============================================ */
.radio-player-container {
    background: var(--kbhr-forest-deep);
    border: 3px solid var(--kbhr-cabin-wood);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) auto;
    max-width: 900px;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.radio-player-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.radio-player-container h2 {
    font-family: var(--font-heading);
    color: var(--kbhr-gold-accent);
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.player-btn {
    background: linear-gradient(135deg, var(--kbhr-cabin-rust) 0%, var(--kbhr-cabin-wood) 100%);
    color: var(--kbhr-snow-white);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, var(--kbhr-gold-accent) 0%, var(--kbhr-cabin-wood) 100%);
}

.player-btn:active {
    transform: translateY(0);
}

.now-playing {
    background: rgba(245, 247, 245, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    text-align: center;
    color: var(--kbhr-birch-cream);
    font-family: var(--font-body);
}

/* ============================================
   DJ SHOWCASE SECTION
   ============================================ */
.dj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.dj-card {
    background: var(--kbhr-snow-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dj-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--kbhr-aurora-teal);
}

.dj-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--kbhr-mountain-slate) 0%, var(--kbhr-forest-pine) 100%);
}

.dj-info {
    padding: var(--spacing-md);
}

.dj-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--kbhr-forest-deep);
    margin-bottom: var(--spacing-xs);
}

.dj-show {
    font-family: var(--font-accent);
    color: var(--kbhr-aurora-teal);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.dj-bio {
    font-family: var(--font-body);
    color: var(--kbhr-moose-brown);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */
.schedule-container {
    background: var(--kbhr-snow-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    box-shadow: var(--shadow-medium);
}

.schedule-day {
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--kbhr-aurora-green);
    padding-bottom: var(--spacing-md);
}

.schedule-day:last-child {
    border-bottom: none;
}

.schedule-day h3 {
    font-family: var(--font-heading);
    color: var(--kbhr-forest-deep);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.schedule-show {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    margin: var(--spacing-xs) 0;
    background: var(--kbhr-birch-cream);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.schedule-show:hover {
    background: var(--kbhr-aurora-green);
    color: var(--kbhr-snow-white);
    transform: translateX(8px);
}

.show-time {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--kbhr-cabin-rust);
    font-size: 1.1rem;
}

.schedule-show:hover .show-time {
    color: var(--kbhr-snow-white);
}

/* ============================================
   BUTTONS & CALL-TO-ACTION
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--kbhr-cabin-rust) 0%, var(--kbhr-cabin-wood) 100%);
    color: var(--kbhr-snow-white);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, var(--kbhr-gold-accent) 0%, var(--kbhr-cabin-rust) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--kbhr-aurora-teal);
    border: 2px solid var(--kbhr-aurora-teal);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--kbhr-aurora-teal);
    color: var(--kbhr-snow-white);
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, var(--kbhr-forest-pine) 0%, var(--kbhr-forest-deep) 100%);
    color: var(--kbhr-birch-cream);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-top: 3px solid var(--kbhr-gold-accent);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-widget h3 {
    font-family: var(--font-heading);
    color: var(--kbhr-aurora-green);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.footer-widget a {
    color: var(--kbhr-birch-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--kbhr-aurora-green);
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(127, 196, 157, 0.3);
    font-size: 0.9rem;
    color: var(--kbhr-mountain-slate);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .dj-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-show {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}

/* ============================================
   CUSTOM ANIMATIONS
   ============================================ */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Vintage radio dial effect */
@keyframes radio-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

.radio-active {
    animation: radio-glow 2s ease-in-out infinite;
}
