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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand h1 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

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

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
}

/* Tutorial Section */
.tutorials-section {
    padding: 80px 0;
    background: #fff;
}

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

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

.tutorial-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

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

.tutorial-category {
    background: #e0f2fe;
    color: #0277bd;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tutorial-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.tutorial-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tutorial-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.reading-time {
    color: #6b7280;
}

.difficulty {
    background: #f3f4f6;
    color: #374151;
    padding: 2px 8px;
    border-radius: 4px;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
    background: #f8fafc;
}

.playlist-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.playlist-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.playlist-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.playlist-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.playlist-player {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.playlist-player iframe {
    width: 100%;
    height: 480px;
    border: none;
}

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

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

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.video-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.part-of-playlist {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.playlist-indicator {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.coming-soon-tag {
    background: #f3e8ff;
    color: #7c3aed;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.playlist-thumbnail {
    display: block;
    text-decoration: none;
    height: 200px;
}

.playlist-preview {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.playlist-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.playlist-preview h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.playlist-preview p {
    opacity: 0.9;
}

.coming-soon {
    height: 200px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.coming-soon-content {
    text-align: center;
    color: white;
}

.coming-soon-content span {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.coming-soon-content p {
    font-size: 1rem;
    font-weight: 500;
}

.playlist-info {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.playlist-info h4 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.playlist-info p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.playlist-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.feature-icon {
    font-size: 1.25rem;
}

.feature span:last-child {
    font-weight: 500;
    color: #374151;
}

/* Ad Container */
.ad-container {
    padding: 2rem 0;
    text-align: center;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ad-placeholder {
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #6b7280;
}

.ad-placeholder p {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ad-placeholder span {
    font-size: 0.75rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.about-section p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info > p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-details p {
    color: #374151;
    margin-bottom: 0.25rem;
}

.contact-details span {
    color: #6b7280;
    font-size: 0.875rem;
}

.contact-details a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 0.75rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tutorials-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-card,
    .video-card {
        margin: 0 1rem;
    }
    
    .tutorials-section h2,
    .videos-section h2,
    .about-section h2 {
        font-size: 2rem;
    }
    
    .ad-placeholder {
        max-width: 300px;
        height: 250px;
    }
    
    .playlist-player iframe {
        height: 300px;
    }
    
    .playlist-header {
        padding: 1.5rem;
    }
    
    .playlist-features {
        grid-template-columns: 1fr;
    }
    
    .playlist-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .tutorial-card,
    .video-card {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }
    
    .playlist-player iframe {
        height: 250px;
    }
    
    .playlist-header {
        padding: 1rem;
    }
    
    .playlist-header h3 {
        font-size: 1.25rem;
    }
    
    .feature {
        padding: 0.75rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* SEO and Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .ad-container {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        padding: 2rem 0;
        background: #fff;
        color: #000;
    }
}