/* 全局設置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #33cc66;
    --secondary-color: #222222;
    --text-color: #333333;
    --light-color: #ffffff;
    --link-hover: #29a352;
    --border-color: #e0e0e0;
    --footer-bg: #222222;
}

body {
    font-family: 'Noto Sans TC', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 通用樣式 */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--link-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* 頭部樣式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.logo img {
    height: 60px;
}

.main-nav {
    display: flex;
    gap: 60px;
}

.menu-section, .social-section {
    margin-bottom: 20px;
}

.menu-section h2, .social-section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.main-nav ul li {
    margin-bottom: 10px;
}

.main-nav ul li a {
    font-size: 1.1em;
    color: var(--light-color);
    position: relative;
    display: inline-block;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--light-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* 英雄區塊 */
.hero {
    height: 500px;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* 特色區塊 */
.featured {
    padding: 80px 20px;
}

.featured h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-item h3 {
    padding: 15px 15px 5px;
    font-size: 1.4em;
}

.featured-item p {
    padding: 0 15px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 0 15px 15px;
    color: var(--primary-color);
    font-weight: 500;
}

.read-more:hover {
    color: var(--link-hover);
}

/* Podcast 特色區塊 */
.podcast-feature {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.podcast-feature h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
}

.podcast-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
    align-items: center;
}

.podcast-image {
    flex: 1;
}

.podcast-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.podcast-info {
    flex: 1;
}

.podcast-info h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.podcast-info p {
    margin-bottom: 20px;
}

.spotify-embed {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 頁腳樣式 */
footer {
    background-color: var(--footer-bg);
    color: var(--light-color);
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-nav, .footer-social, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social i, .footer-contact i {
    margin-right: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* Podcast 頁面樣式 */
.page-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.podcast-main {
    padding: 60px 0;
}

.podcast-about {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.podcast-cover {
    flex: 0 0 300px;
}

.podcast-cover img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.podcast-description {
    flex: 1;
}

.podcast-description h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.podcast-description p {
    margin-bottom: 30px;
    line-height: 1.7;
}

.podcast-platforms {
    margin-top: 30px;
}

.podcast-platforms h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.platform-links {
    display: flex;
    gap: 15px;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.platform-link i {
    margin-right: 8px;
    font-size: 1.2em;
}

.platform-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.full-spotify-embed {
    margin: 50px 0;
}

.full-spotify-embed h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.podcast-episodes {
    margin-top: 50px;
}

.podcast-episodes h2 {
    margin-bottom: 30px;
    font-size: 1.8em;
}

.episode {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.episode-number {
    flex: 0 0 50px;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.episode-content {
    flex: 1;
}

.episode-content h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
}

.episode-date {
    color: #777;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.episode-description {
    margin-bottom: 15px;
}

.episode-player {
    margin-top: 15px;
}

/* 響應式設計 */
@media screen and (max-width: 900px) {
    .podcast-container {
        flex-direction: column;
        text-align: center;
    }
    
    .podcast-image {
        margin-bottom: 30px;
    }
    
    .podcast-about {
        flex-direction: column;
    }
    
    .podcast-cover {
        margin-bottom: 30px;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .episode {
        flex-direction: column;
    }
    
    .episode-number {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.2em;
    }
}

@media screen and (max-width: 600px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}