
/* Articles Page Specific Styles */
.articles-hero {
    text-align: center;
    padding: 40px 3vw;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
}

.dark-mode .articles-hero {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.articles-hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.articles-hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3vw 40px;
}

.articles-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    color: white;
}

.dark-mode .filter-btn {
    border-color: #9370DB;
    color: #9370DB;
}

.dark-mode .filter-btn:hover,
.dark-mode .filter-btn.active {
    background: #9370DB;
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.dark-mode .article-card {
    background: #2b2b2b;
    border-color: #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85em;
    color: #666;
}

.dark-mode .article-meta {
    color: #ccc;
}

.article-category {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

.dark-mode .article-category {
    background: #9370DB;
}

.article-date {
    color: #888;
}

.dark-mode .article-date {
    color: #aaa;
}

.article-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    line-height: 1.4;
    color: #333;
}

.dark-mode .article-card h3 {
    color: #eee;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dark-mode .article-excerpt {
    color: #ccc;
}

.article-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.dark-mode .article-link {
    color: #BA55D3;
}

.article-link:hover {
    color: #0056b3;
    transform: translateX(3px);
}

.article-link::after {
    content: "→";
    transition: transform 0.3s ease;
}

.article-link:hover::after {
    transform: translateX(3px);
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.dark-mode .load-more-btn {
    background: #6a0dad;
}

.dark-mode .load-more-btn:hover {
    background: #5a0bae;
}

.no-articles {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
    grid-column: 1 / -1;
}

.dark-mode .no-articles {
    color: #ccc;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f5f5f5;
}

.pagination-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dark-mode .pagination-btn {
    background: #333;
    color: #eee;
    border-color: #555;
}

.dark-mode .pagination-btn:hover:not(:disabled) {
    background: #444;
}

.dark-mode .pagination-btn.active {
    background: #9370DB;
    border-color: #9370DB;
}

/* Article Modal Styles */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.article-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .modal-content {
    background: #2b2b2b;
    color: #eee;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.modal-close:hover {
    color: #333;
}

.dark-mode .modal-close {
    color: #ccc;
}

.dark-mode .modal-close:hover {
    color: #fff;
}

.modal-header {
    padding: 30px 30px 0;
}

.modal-category {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 15px;
}

.dark-mode .modal-category {
    background: #9370DB;
}

.modal-title {
    margin: 0 0 15px 0;
    font-size: 1.8em;
    line-height: 1.4;
    color: #333;
}

.dark-mode .modal-title {
    color: #eee;
}

.modal-meta {
    display: flex;
    gap: 20px;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.dark-mode .modal-meta {
    color: #ccc;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
}

.modal-body {
    padding: 0 30px 30px;
}

.modal-body h2 {
    margin: 25px 0 15px;
    color: #333;
}

.dark-mode .modal-body h2 {
    color: #eee;
}

.modal-body p, .modal-body ul, .modal-body ol {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.dark-mode .modal-body p, 
.dark-mode .modal-body ul, 
.dark-mode .modal-body ol {
    color: #ccc;
}

.modal-body ul, .modal-body ol {
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    color: #333;
}

.dark-mode .modal-body strong {
    color: #eee;
}

.modal-body em {
    color: #666;
    font-style: italic;
}

.dark-mode .modal-body em {
    color: #aaa;
}

.modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #eee;
}

.dark-mode .modal-footer {
    border-top-color: #444;
}

.social-share {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 15px;
    background: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #007bff;
}

.dark-mode .share-btn {
    background: #444;
    border-color: #555;
    color: #007bff;
}

.dark-mode .share-btn:hover {
    background: #555;
}

/* Responsive Design for Articles Page */
@media (max-width: 768px) {
    .articles-hero h1 {
        font-size: 2em;
    }
    
    .articles-hero p {
        font-size: 1.1em;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px 20px 0;
    }
    
    .modal-body,
    .modal-footer {
        padding-top: 0;
    }
    
    .modal-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .articles-hero {
        padding: 30px 2vw;
    }
    
    .articles-hero h1 {
        font-size: 1.8em;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .modal-content {
        padding: 10px;
    }
}
.example-comparison {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.comparison-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.comparison-item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

.scaled-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 10px 0;
}

.image-caption {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

.comparison-item h4 {
    color: #4285f4;
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .comparison-row {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .scaled-image {
        max-width: 100%;
    }
}

.example-prompt {
    background-color: #f8f9fa;
    border-left: 4px solid #4285f4;
    padding: 15px;
    margin: 20px 0;
}

.example-prompt blockquote {
    margin: 0;
    font-style: italic;
    color: #555;
}

.advanced-prompts {
    margin: 20px 0;
}

.prompt-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.prompt-item:last-child {
    border-bottom: none;
}

.prompt-item h4 {
    color: #4285f4;
    margin-bottom: 8px;
}

.conclusion {
    font-weight: bold;
    font-style: italic;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}
/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.dark-mode .main-footer {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
}

.dark-mode .footer-section h3 {
    color: #ffa500;
    border-bottom-color: #ffa500;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #e6e6e6;
    font-size: 0.95em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #e6e6e6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-section a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.dark-mode .footer-section a {
    color: #ffffff;
}

.dark-mode .footer-section a:hover {
    color: #ffa500;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #e6e6e6;
    font-size: 0.9em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.2);
    color: #cccccc;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section {
        padding: 0 10px;
    }
    
    .main-footer {
        padding: 30px 0 15px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.1em;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9em;
    }
}
