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

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

/* Custom Properties */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

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

.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.accessibility-links {
    display: flex;
    gap: 20px;
}

.accessibility-links a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.accessibility-links a:hover {
    color: #333;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn-newsletter, .btn-shop {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-newsletter {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-newsletter:hover::before {
    left: 100%;
}

.btn-shop {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-shop:hover::before {
    left: 100%;
}

/* Navigation */
.main-nav {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex: 1;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.search-container {
    margin-left: 20px;
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 25px 0 0 25px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    height: 48px;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
    padding: 12px 16px;
    background: var(--gradient-primary);
    color: white;
    border: 2px solid var(--primary-color);
    border-left: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 48px;
    box-sizing: border-box;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Article Styles */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.article-category {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.article-subtitle {
    font-size: 20px;
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}

.article-image-container {
    margin: 30px 0;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.caption-credit {
    font-style: italic;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #1a1a1a;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-quote {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.article-quote blockquote {
    font-size: 20px;
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
}

.article-quote cite {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Article Actions */
.article-actions {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.like-section {
    display: flex;
    gap: 15px;
    align-items: center;
}

.like-btn, .share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.like-btn:hover, .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.like-btn::before, .share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.like-btn:hover::before, .share-btn:hover::before {
    left: 100%;
}

.like-btn.liked {
    background: var(--gradient-secondary);
    color: white;
}

.like-btn.liked:hover {
    background: var(--gradient-secondary);
}

.article-tags {
    display: flex;
    gap: 10px;
}

.tag {
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Comments Section */
.comments-section {
    margin: 60px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comments-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.comment-form {
    margin-bottom: 40px;
}

.comment-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-submit {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.comment-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.comment-submit:hover::before {
    left: 100%;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comment {
    display: flex;
    gap: 15px;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    color: #1a1a1a;
}

.comment-date {
    font-size: 14px;
    color: #666;
}

.comment-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-like, .comment-reply {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
}

.comment-like:hover, .comment-reply:hover {
    color: #d32f2f;
}

/* Related Articles */
.related-articles {
    margin: 60px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.related-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

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

.related-article {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.article-info {
    padding: 20px;
}

.article-info .article-category {
    font-size: 12px;
    color: #d32f2f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.article-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-info h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.article-info h4 a:hover {
    color: #d32f2f;
}

.article-info .article-date {
    font-size: 14px;
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .search-container {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .search-input {
        width: 150px;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .article-subtitle {
        font-size: 18px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-actions {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .like-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        align-self: flex-start;
    }
} 