/* Base styles for StyleFan website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s;
}

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

.nav-menu a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #007bff;
}

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

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

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

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Features */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.feature-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.bot-features {
    padding: 3rem 0;
    margin-top: 2rem;
}

.bot-features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h2,
.article-content h3 {
    margin-bottom: 1rem;
}

.article-content a {
    color: #333;
    text-decoration: none;
}

.article-content a:hover {
    color: #667eea;
}

.article-meta {
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

/* Article page */
.article-page {
    padding: 2rem 0;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #666;
}

.breadcrumbs a {
    color: #667eea;
    text-decoration: none;
}

.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-excerpt {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-featured-image {
    margin: 2rem 0;
}

.article-featured-image img {
    width: 100%;
    border-radius: 8px;
}

.article-content {
    line-height: 1.8;
}

.article-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.75rem;
}

.article-content h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Bot CTA */
.bot-cta {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.bot-cta h3 {
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 1.5rem;
}

.bot-cta p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.bot-cta a {
    color: #667eea;
    text-decoration: none;
}

.cta-buttons {
    margin-top: 1.5rem;
}

.bot-cta .cta-button {
    display: inline-block;
    background-color: #667eea;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.bot-cta .cta-button:hover {
    background-color: #5568d3;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pagination-link:hover {
    background: #5568d3;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-3px);
    background: #e9ecef;
}

.categories-filter {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.category-link {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.category-link:hover,
.category-link.active {
    background: #667eea;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 0;
        z-index: 1000;
        margin-top: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .navbar {
        position: relative;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .bot-cta {
        padding: 1.5rem;
    }
    
    .bot-cta h3 {
        font-size: 1.25rem;
    }
    
    .footer-logo-img {
        height: 24px;
    }
    
    .footer-logo-text {
        font-size: 1rem;
    }
}

