/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme colors */
    --primary-color: #8ea58b;
    --primary-hover: #7a9179;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #8ea58b 0%, #7a9179 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #334155;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    transition: background-color 0s, color 0s;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.94);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.96);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo .logo-text:hover {
    transform: scale(1.05);
}

.nav-logo .logo-text:focus {
    outline: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    position: relative;
    transition: none;
    outline: none;
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

.nav-link:focus {
    outline: none;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #000000;
}

.theme-toggle .theme-icon {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle .theme-icon svg {
    color: #000000;
    stroke: #000000;
    fill: #000000;
}

[data-theme="dark"] .theme-toggle {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle .theme-icon {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle .theme-icon svg {
    color: #ffffff;
    stroke: #ffffff;
    fill: #ffffff;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.theme-toggle:focus {
    outline: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-role {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    flex: 1;
    min-width: 160px;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn svg {
    color: currentColor;
    stroke: currentColor;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-large);
    position: relative;
    z-index: 2;
}

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

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-chart {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.chart-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.chart-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.chart-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section - Meet Your Hosts */
.about {
    background: var(--bg-color);
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.host-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.host-profile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.host-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-medium);
}

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

.host-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.host-pronouns {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
    margin-left: 0.5rem;
}

.host-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.host-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

.host-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0 1.5rem 0;
}

.host-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.host-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.host-social-icon {
    width: 20px;
    height: 20px;
}

/* Mobile responsiveness for hosts grid */
@media (max-width: 1024px) {
    .hosts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .hosts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .host-profile {
        padding: 1.5rem;
    }
    
    .host-image {
        width: 150px;
        height: 150px;
    }
    
    .host-name {
        font-size: 1.3rem;
    }
    
    .host-title {
        font-size: 1rem;
    }
    
    .host-description {
        font-size: 0.95rem;
    }
}





/* Skills Section */
.skills {
    padding: 5rem 0;
    background: var(--bg-color);
}

/* Skills Grid Section */
.skills-grid-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.skills-grid-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.skill-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.skill-category-card:hover::before {
    left: 100%;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}



/* Text-based skill tags */
.category-skills-text {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Dark theme adjustments for skills grid */
[data-theme="dark"] .skill-category-card::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.2),
        transparent
    );
}

/* Mobile responsiveness for skills grid */
@media (max-width: 768px) {
    .skills-grid-section {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    
    .skills-grid-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .skills-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category-card {
        padding: 1.5rem;
    }
    

    
    .category-skills-text {
        gap: 0.375rem;
    }
    
    .skill-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    

}

@media (max-width: 480px) {
    .skills-grid-section {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .skills-grid-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .skills-categories-grid {
        gap: 1rem;
    }
    
    .skill-category-card {
        padding: 1rem;
    }
    

}


/* Experience Section */
.experience {
    background: var(--bg-color);
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.experience-card {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
    cursor: pointer;
    transition: none;
}

.experience-card::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.experience-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-light);
    /* border: 1px solid var(--border-color); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.experience-card:hover .experience-header {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.experience-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
}

.experience-title {
    flex: 1;
    min-width: 0;
}

.experience-title h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.experience-title h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.experience-dates {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.date-mobile {
    display: none;
}

.date-full {
    display: inline;
}

.experience-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
    background: var(--bg-secondary);
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 0 1.5rem; /* Apply horizontal padding always to maintain text width */
    /* border: 1px solid var(--border-color); */
    /* border-top: none; */
}

.experience-card.expanded .experience-content {
    /* max-height is now set dynamically via JavaScript */
    padding-top: 1.5rem; /* Add top padding when expanded */
    padding-bottom: 1.5rem; /* Add bottom padding when expanded */
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}



.expand-indicator {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-indicator svg {
    width: 100%;
    height: 100%;
    transition: inherit;
}

.experience-card.expanded .expand-indicator {
    transform: rotate(90deg);
    opacity: 0.8;
}

.experience-card:hover .expand-indicator {
    opacity: 1;
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .experience-timeline::before {
        left: 15px;
    }
    
    .experience-card {
        padding-left: 50px;
    }
    
    .experience-card::before {
        left: 7px;
        width: 12px;
        height: 12px;
    }
    
    .experience-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }
    
    .experience-dates {
        white-space: normal;
        flex-shrink: 1;
        order: 2;
        width: 100%;
        font-size: 0.8rem;
        line-height: 1.4;
        word-break: break-word;
        hyphens: auto;
    }
    
    .experience-content {
        padding: 0 1.25rem; /* Adjust horizontal padding for tablets */
    }
    
    .experience-title h3 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .experience-title h4 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .experience-description {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .date-full {
        display: none;
    }
    
    .date-mobile {
        display: inline;
    }
    
    .experience-title {
        order: 1;
        width: 100%;
    }
    
    .expand-indicator {
        width: 10px;
        height: 10px;
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .experience-card {
        padding: 1rem;
        padding-left: 40px;
    }
    
    .experience-content {
        padding: 0 1rem; /* Reduce horizontal padding on very small screens */
    }
    
    .experience-meta {
        gap: 0.5rem;
    }
    
    .experience-dates {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .experience-title h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .experience-title h4 {
        font-size: 0.9rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .experience-description {
        font-size: 0.9rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .expand-indicator {
        width: 9px;
        height: 9px;
        right: 0.5rem;
        bottom: 0.5rem;
    }
}

/* Projects Section */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: none;
}

.project-link:hover {
    background: var(--primary-hover);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}







/* Connect Section */
#connect p {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.podcast-support {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-color));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem auto;
    max-width: 600px;
}

.support-content h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.support-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
}


.support-btn.coffee {
    background: linear-gradient(135deg, #ffdd00, #ffb800);
    color: #333;
}

.support-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.contact-unified {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-platforms,
.contact-hosts {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.contact-section {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.contact-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hosts-contact {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.host-contact {
    padding: 1rem;
    background: transparent;
    border-radius: 0.5rem;
    border: none;
    flex: 1;
    min-width: 200px;
}

.host-contact-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Contact Icons Row */
.contact-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 600px;
}

.contact-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-icon-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-large);
}

.contact-icon-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.contact-icon-svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke: white;
    z-index: 2;
    position: relative;
}

/* Special handling for YouTube logo to maintain aspect ratio */
.contact-icon-link[href*="youtube"] .contact-icon-svg {
    width: 32px;
    height: auto;
}

/* Special handling for Buy Me a Coffee logo to maintain aspect ratio */
.contact-icon-link[href*="buymeacoffee"] .contact-icon-svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Platform-specific icon colors */
.contact-icon-link {
    background: var(--gradient-primary); /* Default */
}

/* YouTube */
.contact-icons-row .contact-icon-link[href*="youtube"] {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

/* Spotify */
.contact-icons-row .contact-icon-link[href*="spotify"] {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
}

/* Instagram */
.contact-icons-row .contact-icon-link[href*="instagram"] {
    background: linear-gradient(135deg, #e4405f 0%, #833ab4 50%, #f77737 100%);
}


/* Buy Me a Coffee */
.contact-icons-row .contact-icon-link[href*="buymeacoffee"] {
    background: linear-gradient(135deg, #ffdd00 0%, #ffb800 100%);
}

/* Email */
.contact-icons-row .contact-icon-link[href*="mailto"] {
    background: linear-gradient(135deg, #ea4335 0%, #d33b2c 100%);
}

/* LinkedIn */
.contact-icons-row .contact-icon-link[href*="linkedin"] {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

/* Website/Generic links */
.contact-icons-row .contact-icon-link[href*="github.io"],
.contact-icons-row .contact-icon-link[href*="samlafell.com"] {
    background: linear-gradient(135deg, #8ea58b 0%, #7a9179 100%);
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .podcast-support {
        padding: 2rem;
        margin: 2rem auto;
    }
    
    .support-content h4 {
        font-size: 1.5rem;
    }
    
    .support-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .support-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .support-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }

    .contact-unified {
        gap: 2rem;
    }
    
    .contact-platforms,
    .contact-hosts {
        padding: 1.5rem;
    }
    
    .hosts-contact {
        gap: 1.5rem;
    }
    
    .host-contact {
        padding: 0.75rem;
    }
    
    .contact-icons-row {
        gap: 1.5rem;
    }
    
    .contact-icon-link {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon-svg {
        width: 24px;
        height: 24px;
    }
    
    /* YouTube logo responsive adjustment for tablet */
    .contact-icon-link[href*="youtube"] .contact-icon-svg {
        width: 28px;
        height: auto;
    }
    
    /* Buy Me a Coffee logo responsive adjustment for tablet */
    .contact-icon-link[href*="buymeacoffee"] .contact-icon-svg {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .podcast-support {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .support-content h4 {
        font-size: 1.3rem;
    }
    
    .support-content p {
        font-size: 0.95rem;
    }
    
    .support-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .contact-platforms,
    .contact-hosts {
        padding: 1rem;
    }
    
    .contact-section-title {
        font-size: 1.1rem;
    }
    
    .hosts-contact {
        gap: 1rem;
    }
    
    .host-contact-name {
        font-size: 0.9rem;
    }
    
    .contact-icons-row {
        gap: 1rem;
    }
    
    .contact-icon-link {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon-svg {
        width: 20px;
        height: 20px;
    }
    
    /* YouTube logo responsive adjustment for mobile */
    .contact-icon-link[href*="youtube"] .contact-icon-svg {
        width: 24px;
        height: auto;
    }
    
    /* Buy Me a Coffee logo responsive adjustment for mobile */
    .contact-icon-link[href*="buymeacoffee"] .contact-icon-svg {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
}

/* Footer */
.footer {
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }



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



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



    .footer-content {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}



/* Utility classes */
.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Episodes Section */
.episodes {
    background: var(--bg-color);
    padding: 5rem 0;
}

.season-header {
    text-align: left;
    margin-bottom: 3rem;
}

.season-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.season-separator {
    height: 1px;
    background-color: var(--border-color);
    margin: 0 0 2rem 0;
    width: 200px;
    opacity: 0.6;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.episode-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.episode-card.featured {
    box-shadow: var(--shadow-medium);
}

.episode-card.featured:hover {
    box-shadow: var(--shadow-large);
}



.episode-image {
    position: relative;
    min-height: 200px;
    max-height: 280px;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Default aspect ratio */
}

.episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Alternative: show full image without cropping */
.episode-image.full-image img,
.guest-appearance-image.full-image img {
    object-fit: contain;
    background: var(--bg-secondary);
}

.episode-card:hover .episode-image img {
    transform: scale(1.02);
}

.episode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Removed play button hover effect */
.episode-card:hover .episode-overlay {
    opacity: 0;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.episode-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.episode-header {
    margin-bottom: 1rem;
}

.episode-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}


.episode-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.episode-number {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.episode-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.episode-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.episode-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.episode-link.youtube {
    background: #ff0000;
    color: white;
}

.episode-link.youtube:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.episode-link.spotify {
    background: #1db954;
    color: white;
}

.episode-link.spotify:hover {
    background: #1ed760;
    transform: translateY(-1px);
}





/* Responsive design for episodes section */
@media (max-width: 768px) {
    .episodes {
        padding: 3rem 0;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .episode-image,
    .guest-appearance-image {
        min-height: 180px;
        max-height: 240px;
    }
    
    .episode-content {
        padding: 1.25rem;
    }
    
    .episode-title {
        font-size: 1.125rem;
    }
    
    .episode-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .episode-link {
        justify-content: center;
        text-align: center;
    }
    

}

@media (max-width: 480px) {
    .episodes {
        padding: 2rem 0;
    }
    
    .episode-image,
    .guest-appearance-image {
        min-height: 160px;
        max-height: 200px;
    }
    
    .episode-content {
        padding: 1rem;
    }
    
    .episode-title {
        font-size: 1rem;
    }
    
    .episode-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    

    

}

/* Guest Appearances Section - Similar to Episodes */
.guest-appearances {
    background: var(--bg-color);
    padding: 5rem 0;
}

.guest-appearances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.episode-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.episode-card.featured {
    box-shadow: var(--shadow-medium);
}

.episode-card.featured:hover {
    box-shadow: var(--shadow-large);
}


.guest-appearance-image {
    position: relative;
    min-height: 200px;
    max-height: 280px;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Default aspect ratio */
}

.guest-appearance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.episode-card:hover .guest-appearance-image img {
    transform: scale(1.02);
}

.guest-appearance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Removed play button hover effect */
.episode-card:hover .guest-appearance-overlay {
    opacity: 0;
}

.guest-appearance-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.guest-appearance-header {
    margin-bottom: 1rem;
}

.guest-appearance-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.guest-appearance-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.guest-appearance-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.guest-appearance-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.guest-appearance-link.youtube {
    background: #ff0000;
    color: white;
}

.guest-appearance-link.youtube:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.guest-appearance-link.spotify {
    background: #1db954;
    color: white;
}

.guest-appearance-link.spotify:hover {
    background: #1ed760;
    transform: translateY(-1px);
}

/* Responsive design for guest appearances section */
@media (max-width: 768px) {
    .guest-appearances {
        padding: 3rem 0;
    }
    
    .guest-appearances-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guest-appearance-content {
        padding: 1.25rem;
    }
    
    .guest-appearance-title {
        font-size: 1.125rem;
    }
    
    .guest-appearance-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .guest-appearance-link {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .guest-appearances {
        padding: 2rem 0;
    }
    
    .guest-appearance-content {
        padding: 1rem;
    }
    
    .guest-appearance-title {
        font-size: 1rem;
    }
}