/* Base Styles */
:root {
    --primary-color: #1e1e2f; /* deep navy background */
    --secondary-color: #7f5af0; /* bold accent violet */
    --accent-color: #2cb67d; /* neon green */
    --highlight-color: #ffa5a5ff; /* melon */
    --dark-color: #16161a; /* section background / shadows */
    --light-color: #f5f5f5; /* light text */
    --alt-light-color: #e2e2e2ff; /* platinum - for backgrounds */
    --gray-color: #6e7271ff; /* dim-gray */
    --border-color: #2a2a3a; /* slightly lighter than primary for borders */
    --success-color: #2cb67d; /* neon green */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Theme Selector Styles */
.theme-selector {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.theme-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Theme Color Schemes */
[data-theme="default"] {
    --primary-color: #1e1e2f;
    --secondary-color: #7f5af0;
    --accent-color: #2cb67d;
    --highlight-color: #ffa5a5ff;
    --dark-color: #16161a;
    --light-color: #f5f5f5;
    --alt-light-color: #e2e2e2ff;
    --gray-color: #6e7271ff;
    --border-color: #2a2a3a;
    --success-color: #2cb67d;
}

[data-theme="charcoal"] {
    --primary-color: #2c3e50;
    --secondary-color: #95a5a6;
    --accent-color: #34495e;
    --highlight-color: #ecf0f1;
    --dark-color: #1a252f;
    --light-color: #ffffff;
    --alt-light-color: #ecf0f1;
    --gray-color: #bdc3c7;
    --border-color: #34495e;
    --success-color: #95a5a6;
}

[data-theme="cream"] {
    --primary-color: #fffff0;
    --secondary-color: #d4b483;
    --accent-color: #c4a484;
    --highlight-color: #8b4513;
    --dark-color: #f5f5dc;
    --light-color: #2c1810;
    --alt-light-color: #faf0e6;
    --gray-color: #a9a9a9;
    --border-color: #d4b483;
    --success-color: #c4a484;
}

[data-theme="neon"] {
    --primary-color: #0a0a0a;
    --secondary-color: #00ff00;
    --accent-color: #ff00ff;
    --highlight-color: #00ffff;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --alt-light-color: #2d2d2d;
    --gray-color: #666666;
    --border-color: #00ff00;
    --success-color: #00ff00;
}

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

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
    scroll-padding-top: 250px; /* Increased from 150px to make sections stop lower */
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--primary-color);
    overscroll-behavior: none;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for input and textarea */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    width: 100%;
}

section {
    padding: 5rem 0;
    scroll-margin-top: 150px; /* Increased from 80px */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn.primary {
    background-color: var(--secondary-color); /* violet */
    color: var(--light-color);
}

.btn.primary:not(.small):hover {
    background-color: var(--highlight-color); /* melon */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.btn.secondary:not(.small):hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.small:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(22, 22, 26, 0.95); /* dark with transparency */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin: 0; /* Ensure no margin */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    transition: color 0.3s ease;
}

header.scrolled .logo {
    color: var(--light-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

header.scrolled .nav-links a {
    color: var(--light-color);
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, var(--primary-color), var(--dark-color));
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
    pointer-events: none;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.hero .highlight {
    color: var(--secondary-color); /* violet */
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-direction: row;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-text {
    text-align: justify;
    line-height: 1.8;
    color: var(--light-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skills {
    background-color: var(--dark-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.skills h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.skill-tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.skill-tags span {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.skill-tags span:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills {
        position: static;
    }
}

/* Projects Section */
.projects {
    background: linear-gradient(to bottom, var(--primary-color), var(--dark-color));
    margin-bottom: 5rem;
    scroll-margin-top: 150px;
    position: relative;
}

.projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
    pointer-events: none;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--light-color);
    opacity: 0.8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 2rem;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.project-card {
    background: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    transform-origin: center bottom;
    will-change: transform;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::after {
    transform: scaleX(1);
}

.project-info {
    padding: 1.5rem;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-info h3 {
    margin-bottom: 1rem;
    color: var(--light-color);
}

.project-info p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-tags span {
    background-color: rgba(127, 90, 240, 0.2); /* semi-transparent violet */
    color: var(--light-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

[data-theme="charcoal"] .project-tags span {
    background-color: rgba(149, 165, 166, 0.2); /* semi-transparent charcoal gray */
    color: var(--light-color);
}

[data-theme="cream"] .project-tags span {
    background-color: rgba(212, 180, 131, 0.2); /* semi-transparent cream brown */
    color: var(--light-color);
}

[data-theme="neon"] .project-tags span {
    background-color: rgba(0, 255, 0, 0.2); /* semi-transparent neon green */
    color: var(--light-color);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

/* Podcast Section */
.podcast {
    background: linear-gradient(to bottom, var(--primary-color), var(--dark-color));
    padding: 5rem 0;
    scroll-margin-top: 150px;
    position: relative;
}

.podcast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
    pointer-events: none;
}

.podcast .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-color);
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 2rem;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.podcast-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-origin: center bottom;
    will-change: transform;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.podcast-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    transform: translateZ(0); /* Prevent 3D transform on content */
}

.podcast-info h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.podcast-info p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    flex: 1; /* Allow description to take remaining space */
}

.podcast-date {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.podcast-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.podcast-link:hover {
    color: var(--accent-color);
}

[data-theme="charcoal"] .podcast-link {
    color: var(--secondary-color);
}

[data-theme="charcoal"] .podcast-link:hover {
    color: var(--accent-color);
}

[data-theme="cream"] .podcast-link {
    color: var(--secondary-color);
}

[data-theme="cream"] .podcast-link:hover {
    color: var(--accent-color);
}

[data-theme="neon"] .podcast-link {
    color: var(--secondary-color);
}

[data-theme="neon"] .podcast-link:hover {
    color: var(--highlight-color);
}

.podcast-platforms {
    text-align: center;
    margin-top: 2rem;
}

.podcast-platforms p {
    color: var(--light-color);
    font-weight: 500;
}

.platform-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.platform-link {
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.platform-link:hover {
    color: var(--secondary-color);
    background-color: rgba(127, 90, 240, 0.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--primary-color), var(--dark-color));
    position: relative;
    padding-bottom: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
    opacity: 0.95;
}

.footer-text {
    text-align: center;
    padding: 3rem 0;
    color: var(--light-color);
    opacity: 0.8;
}

.footer-text p {
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.8rem;
    color: var(--light-color);
    opacity: 0.9;
    padding-left: 0;
    margin-left: 0;
    position: relative;
}

.contact-item::before {
    content: "•";
    color: var(--light-color);
    opacity: 0.9;
    margin-right: 0.8rem;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
}

.contact-item i {
    display: none;
}

.contact-item span {
    font-size: 0.95rem;
    line-height: 1;
}

.contact-content > div:first-child {
    padding-left: 0;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Makes the icon white */
}

.social-icon:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="charcoal"] .social-icon {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

[data-theme="charcoal"] .social-icon:hover {
    border-color: var(--accent-color);
}

[data-theme="cream"] .social-icon {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

[data-theme="cream"] .social-icon:hover {
    border-color: var(--accent-color);
}

[data-theme="neon"] .social-icon {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

[data-theme="neon"] .social-icon:hover {
    border-color: var(--highlight-color);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--light-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(245, 245, 245, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    color: var(--light-color);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(127, 90, 240, 0.05);
    box-shadow: 0 0 0 2px rgba(127, 90, 240, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Update form submit button style */
.contact-form button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 100px;
    height: 36px;
    background-color: rgba(127, 90, 240, 0.1);
    border: 1px solid rgba(127, 90, 240, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0 1rem;
    margin-top: 1rem;
    color: var(--light-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form button[type="submit"]::before {
    content: "";
    font-size: 0.9rem;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.6rem;
    }
    
    section {
        scroll-margin-top: 130px; /* Increased from 60px */
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 0;
    background: linear-gradient(to bottom, var(--dark-color), var(--primary-color));
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    margin-top: 0;
    opacity: 0.95;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        padding: 0 !important;
        font-size: 1.3rem;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 0; /* Ensure it starts from the top */
        height: 100vh;
        background-color: var(--dark-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        padding: 2rem 0 !important;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        color: var(--light-color);
        font-size: 1.2rem;
        opacity: 1;
        transition: none;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .project-grid,
    .podcast-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: auto;
        padding: 5rem 0;
        padding-top: 70px;
    }
    
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn {
        width: auto;
        min-width: 200px;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .project-card,
    .podcast-card {
        width: 100%;
    }
}

.episode-resources {
    background-color: var(--dark-color);
    padding: 3rem 0;
}

.project-image, .podcast-image, .about-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.project-image img, .podcast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card:hover .project-image img, 
.podcast-card:hover .podcast-image img {
    transform: scale(1.05);
}

/* Theme-specific button styles */
[data-theme="charcoal"] .btn.primary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

[data-theme="charcoal"] .btn.primary:hover {
    background-color: var(--accent-color);
}

[data-theme="charcoal"] .btn.secondary {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

[data-theme="charcoal"] .btn.secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-color);
}

[data-theme="charcoal"] .social-icon {
    background-color: rgba(149, 165, 166, 0.1);
    border: 1px solid rgba(149, 165, 166, 0.2);
}

[data-theme="charcoal"] .social-icon:hover {
    border-color: var(--secondary-color);
}

[data-theme="cream"] .btn.primary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

[data-theme="cream"] .btn.primary:hover {
    background-color: var(--accent-color);
}

[data-theme="cream"] .btn.secondary {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

[data-theme="cream"] .btn.secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-color);
}

[data-theme="cream"] .social-icon {
    background-color: rgba(212, 180, 131, 0.1);
    border: 1px solid rgba(212, 180, 131, 0.2);
}

[data-theme="cream"] .social-icon:hover {
    border-color: var(--secondary-color);
}

[data-theme="neon"] .btn.primary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

[data-theme="neon"] .btn.primary:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

[data-theme="neon"] .btn.secondary {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

[data-theme="neon"] .btn.secondary:hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    color: var(--primary-color);
}

[data-theme="neon"] .social-icon {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
}

[data-theme="neon"] .social-icon:hover {
    border-color: var(--highlight-color);
}

/* Update form submit button styles for each theme */
[data-theme="charcoal"] .contact-form button[type="submit"] {
    background-color: rgba(149, 165, 166, 0.1);
    border: 1px solid rgba(149, 165, 166, 0.2);
}

[data-theme="charcoal"] .contact-form button[type="submit"]:hover {
    background-color: var(--secondary-color);
}

[data-theme="cream"] .contact-form button[type="submit"] {
    background-color: rgba(212, 180, 131, 0.1);
    border: 1px solid rgba(212, 180, 131, 0.2);
}

[data-theme="cream"] .contact-form button[type="submit"]:hover {
    background-color: var(--secondary-color);
}

[data-theme="neon"] .contact-form button[type="submit"] {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
}

[data-theme="neon"] .contact-form button[type="submit"]:hover {
    background-color: var(--highlight-color);
}

[data-theme="neon"] .btn.small:hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    color: var(--primary-color);
}

.about-text {
    margin-top: 50px;
}

/* Podcast Episode Page Styles */
.episode-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.episode-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(127, 90, 240, 0.1), transparent 70%);
    pointer-events: none;
}

.episode-number {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.episode-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--light-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.episode-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: var(--secondary-color);
}

.episode-player {
    background-color: var(--dark-color);
    padding: 2rem;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.episode-player .container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-player {
    width: 100%;
    height: fit-content;
    border-radius: 8px;
    background-color: var(--primary-color);
    padding: 0;
    margin: 0;
}

.audio-player::-webkit-media-controls-enclosure {
    border-radius: 8px;
    background-color: var(--primary-color);
    max-width: 100%;
}

.audio-player::-webkit-media-controls-panel {
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.audio-player::-webkit-media-controls-play-button {
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 10px;
}

.audio-player::-webkit-media-controls-timeline {
    background-color: var(--border-color);
    border-radius: 2px;
    height: 4px;
    margin: 0 15px;
}

.audio-player::-webkit-media-controls-current-time-display,
.audio-player::-webkit-media-controls-time-remaining-display {
    color: var(--light-color);
    font-family: var(--font-main);
    margin: 0 5px;
}

.audio-player::-webkit-media-controls-volume-slider {
    background-color: var(--border-color);
    border-radius: 2px;
    height: 4px;
    margin: 0 10px;
}

.audio-player::-webkit-media-controls-mute-button {
    margin: 0 5px;
}

.episode-content {
    padding: 4rem 0;
}

.episode-description {
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.episode-description h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: left;
}

.episode-description h2::after {
    left: 0;
    transform: none;
}

.timestamps {
    background-color: var(--dark-color);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.timestamp-list {
    list-style: none;
    padding: 0;
}

.timestamp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timestamp-item:last-child {
    border-bottom: none;
}

.timestamp-item:hover {
    transform: translateX(10px);
}

.timestamp {
    color: var(--secondary-color);
    font-weight: 600;
    min-width: 60px;
}

.episode-resources {
    background-color: var(--dark-color);
    padding: 4rem 0;
    margin-top: 2rem;
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.resource-item {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.resource-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.resource-item p {
    flex: 1;
    margin-bottom: 1rem;
}

.resource-item a {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.resource-item a:hover {
    color: var(--secondary-color);
}

@media screen and (max-width: 768px) {
    .episode-title {
        font-size: 2.5rem;
    }
    
    .episode-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .episode-header {
        padding: 6rem 0 3rem;
    }
    
    .episode-content {
        padding: 2rem 0;
    }
    
    .resource-list {
        grid-template-columns: 1fr;
    }
}

/* Whitepapers Section */
.whitepapers {
    background: linear-gradient(to bottom, var(--primary-color), var(--dark-color));
    margin-bottom: 5rem;
    scroll-margin-top: 150px;
    position: relative;
}

.whitepapers::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
    pointer-events: none;
}

.whitepaper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.whitepaper-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.whitepaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.whitepaper-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.whitepaper-card p {
    color: var(--light-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.whitepaper-card .date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.whitepaper-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whitepaper-card a:hover {
    color: var(--accent-color);
}

@media screen and (max-width: 768px) {
    .whitepaper-grid {
        grid-template-columns: 1fr;
    }
    
    .whitepaper-card {
        margin-bottom: 1rem;
    }
}

.whitepapers .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-color);
    opacity: 0.8;
} 