/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    text-decoration: none;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
    text-decoration: none;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: white;
    padding: 20px;
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
}

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

.nav-link {
    color: #6b7280;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background-color: #f9fafb;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Podcast Grid */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.podcast-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.podcast-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.podcast-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #1f2937;
}

.podcast-category {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.podcast-description {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.podcast-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.podcast-host {
    color: #9ca3af;
    font-size: 0.875rem;
}

.podcast-link {
    color: #2563eb;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.topic-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-2px);
}

.topic-card h3 {
    color: #1f2937;
    margin-bottom: 8px;
}

.topic-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card h3 {
    color: #1f2937;
    margin-bottom: 12px;
}

.category-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

.category-count {
    background-color: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

/* Directory Controls */
.directory-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.search-box,
.filter-box {
    flex: 1;
}

.search-box input,
.filter-box select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.search-box input:focus,
.filter-box select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Podcast Detail */
.podcast-detail {
    padding: 60px 0;
}

.podcast-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.podcast-image-large {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    flex-shrink: 0;
}

.podcast-info {
    flex: 1;
}

.podcast-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.podcast-host-large {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.podcast-meta-large {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    background-color: #f3f4f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #374151;
}

.podcast-platforms {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.platform-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #2563eb;
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.platform-link:hover {
    background-color: #1d4ed8;
    text-decoration: none;
}

.podcast-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.podcast-description-full {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.podcast-sidebar {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
}

.topics-list {
    list-style: none;
    margin-bottom: 30px;
}

.topics-list li {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-block;
    margin: 4px 8px 4px 0;
}

.content-notice {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin-top: 30px;
}

.content-notice p {
    margin: 0;
    color: #92400e;
    font-size: 0.875rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: #1f2937;
    margin-bottom: 8px;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Content Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    color: #1f2937;
    margin-bottom: 16px;
}

.content-block ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-block li {
    margin-bottom: 8px;
    color: #4b5563;
}

/* Not Found */
.not-found {
    text-align: center;
    padding: 80px 0;
}

.not-found h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 16px;
}

.not-found p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-section p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .podcast-grid {
        grid-template-columns: 1fr;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-controls {
        flex-direction: column;
    }
    
    .podcast-header {
        flex-direction: column;
        text-align: center;
    }
    
    .podcast-image-large {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .podcast-title {
        font-size: 2rem;
    }
    
    .podcast-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .podcast-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}