/* Basic styling for the website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #d4d4d4;
    background-color: #1e1e1e;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: #ffffff;
    padding: 1rem 0;
    margin-bottom: 4rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    @media (max-width: 768px) {
        padding: 0 20px;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-spotify-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1db954;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid #1db954;
    border-radius: 4px;
    transition: all 0.3s ease;
    @media (max-width: 768px) {
        display: none;
    }
}

.header-spotify-button:hover {
    background-color: #1db954;
    color: #ffffff;
}

.header-spotify-button svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-logo img {
        height: 32px;
    }
    
    .header-spotify-button {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .header-spotify-button svg {
        width: 18px;
        height: 18px;
    }
}

.hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    margin-bottom: 60px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #1e1e1e;
    transform: skewY(-1deg);
    transform-origin: bottom left;
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    animation: electricGlitch 8s infinite;
}

@keyframes electricGlitch {
    0%, 100% {
        opacity: 1;
    }
    2% {
        opacity: 0.45;
    }
    2.1% {
        opacity: 1;
    }
    2.2% {
        opacity: 0.9;
    }
    2.3% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }
    45.5% {
        opacity: 0.28;
    }
    45.6% {
        opacity: 1;
    }
    45.7% {
        opacity: 0.22;
    }
    45.8% {
        opacity: 1;
    }
    78% {
        opacity: 1;
    }
    78.2% {
        opacity: 0.46;
    }
    78.3% {
        opacity: 1;
    }
    78.4% {
        opacity: 0.39;
    }
    78.5% {
        opacity: 1;
    }
    78.6% {
        opacity: 0.41;
    }
    78.7% {
        opacity: 1;
    }
}

.hero-tagline {
    font-size: 1.5rem;
    color: #000;
    font-weight: 300;
    margin: 0;
    line-height: 1.2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.podcast-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

.platform-icon:hover {
    transform: scale(1.1);
    animation: iconElectricGlitch 2s ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    color: #4ec9b0;

}

@keyframes iconElectricGlitch {
    0%, 100% {
        opacity: 1;
    }
    5% {
        opacity: 0.3;
    }
    5.5% {
        opacity: 1;
    }
    6% {
        opacity: 0.4;
    }
    6.5% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    25.5% {
        opacity: 0.25;
    }
    26% {
        opacity: 1;
    }
    26.5% {
        opacity: 0.35;
    }
    27% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    50.3% {
        opacity: 0.3;
    }
    50.6% {
        opacity: 1;
    }
    50.9% {
        opacity: 0.4;
    }
    51.2% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    75.4% {
        opacity: 0.28;
    }
    75.8% {
        opacity: 1;
    }
    76.2% {
        opacity: 0.38;
    }
    76.6% {
        opacity: 0.5;
    }
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        margin-bottom: 0px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .podcast-platforms {
        gap: 1rem;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
    }
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #d4d4d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #4ec9b0;
}

main {
    min-height: 60vh;
    background-color: #1e1e1e;
    position: relative;
    z-index: 2;
}

main a {
    color: #4ec9b0;
    text-decoration: none;
    transition: color 0.3s;
}

main a:hover {
    color: #6dd4c1;
    text-decoration: underline;
}

h1 {
    margin-bottom: 1rem;
    color: #ffffff;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #d4d4d4;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

code {
    background-color: #252526;
    color: #d4d4d4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background-color: #252526;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
    border: 1px solid #3e3e3e;
}

pre code {
    background-color: transparent;
    color: #d4d4d4;
    padding: 0;
}

blockquote {
    border-left: 4px solid #4ec9b0;
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-style: italic;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    border: 1px solid #3e3e3e;
    padding: 0.75rem;
    text-align: left;
    color: #d4d4d4;
}

th {
    background-color: #252526;
    font-weight: 600;
    color: #ffffff;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 2px solid #3e3e3e;
    text-align: center;
    color: #858585;
    font-size: 0.9em;
    background-color: #1e1e1e;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #858585;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.5;
}

.footer-platform-icon:hover {
    transform: scale(1.1);
    animation: iconElectricGlitch 1s ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    color: #4ec9b0;
}

.footer-platform-icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .footer-platforms {
        gap: 1rem;
    }
    
    .footer-platform-icon {
        width: 36px;
        height: 36px;
    }
}

/* Episode/Blog Post Styles */
.episode {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.episode-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #3e3e3e;
}

.episode-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    color: #ffffff;
    line-height: 1.2;
}

.episode-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.episode-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.episode-spotify-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ec9b0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.episode-spotify-link:hover {
    color: #6dd4c1;
}

.episode-spotify-link svg {
    width: 20px;
    height: 20px;
}

.episode-length,
.episode-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #858585;
    font-size: 0.95rem;
}

.episode-length svg,
.episode-date svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.episode-content {
    line-height: 1.8;
    color: #d4d4d4;
}

.episode-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.episode-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #d4d4d4;
}

@media (max-width: 768px) {
    .episode-title {
        font-size: 2rem;
    }
    
    .episode-description {
        font-size: 1.1rem;
    }
    
    .episode-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Episodes List Styles */
.episodes-list-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.episodes-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.episode-card {
    border: 1px solid #3e3e3e;
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.episode-card-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
    @media (max-width: 768px) {
        display: none;
    }
}

.episode-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.episode-card:hover {
    border-color: #4ec9b0;
    box-shadow: 0 4px 12px rgba(78, 201, 176, 0.2);
}

.episode-card-body {
    flex: 1;
    min-width: 0;
}

.episode-card-title {
    font-size: 1.3rem;
    margin-bottom: 0rem;
    margin-top: -0.4rem;
}

.episode-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.episode-card-title a:hover {
    color: #4ec9b0;
}

.episode-card-description {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.episode-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.episode-card-date,
.episode-card-length {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #858585;
    font-size: 0.85rem;
}

.episode-card-date svg,
.episode-card-length svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}


.episode-card-read-more {
    display: inline-flex;
    align-items: center;
    color: #d4d4d4;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border: 1px solid #3e3e3e;
    border-radius: 4px;
}

.episode-card-read-more:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #4ec9b0;
}


@media (max-width: 768px) {
    .episode-card {
        flex-direction: row;
        gap: 1rem;
    }
    
    .episode-card-thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .episodes-list-title {
        font-size: 1.75rem;
    }
}

/* Quote Section Styles */
.quote-section {
    position: relative;
    width: 100%;
    margin: 4rem 0;
    padding: 12rem 0;
    text-align: center;
    background-color: #ffffff;
    color: #1e1e1e;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #1e1e1e;
    transform: skewY(0.5deg);
    transform-origin: top left;
    z-index: 0;
}

.quote-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #1e1e1e;
    transform: skewY(-1deg);
    transform-origin: bottom left;
    z-index: 0;
}

.quote-text {
    position: relative;
    font-size: 3rem;
    font-style: italic;
    color: #1e1e1e;
    margin: 2rem auto;
    padding: 0;
    border: none;
    quotes: none;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    z-index: 1;
}

.quote-text::before,
.quote-text::after {
    content: '';
}

@media (max-width: 768px) {
    .quote-section {
        margin: 3rem 0;
        padding: 2rem 0;
    }
    
    .quote-text {
        font-size: 2.5rem;
        margin: 4.5rem auto;
        padding: 0 20px;
        line-height: 1.2
    }
}

