/* Movie Reviews Website Styles - Distinctive Editorial Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d4a3e;
    --secondary-color: #3d5a4e;
    --accent-color: #c9a227;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #f8f7f4;
    --bg-card: #ffffff;
    --border-color: #e0ddd5;
    --gradient-start: #2d4a3e;
    --gradient-end: #3d5a4e;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.8;
    min-height: 100vh;
}

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

/* Header Styles - Magazine/Editorial Style */
.header {
    background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-style: italic;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    transition: 0.3s;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section - Editorial Magazine Style */
.hero-section {
    margin-bottom: 4rem;
}

.featured-article {
    position: relative;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.featured-article-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    color: inherit;
    min-height: 480px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-card);
}

.category-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    width: fit-content;
    font-family: 'Arial', sans-serif;
}

.featured-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--text-color);
    font-style: italic;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Arial', sans-serif;
}

.article-meta .author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    font-family: 'Arial', sans-serif;
}

/* Articles Grid - Magazine Card Layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.article-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image {
    transform: scale(1.03);
}

.article-info {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    font-family: 'Arial', sans-serif;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text-color);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta-card {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-family: 'Arial', sans-serif;
}

/* Categories Section */
.categories-section {
    margin-bottom: 4rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 4rem;
}

.newsletter-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    background: #fff;
}

.newsletter-form button {
    padding: 0.9rem 1.8rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.newsletter-form button:hover {
    background: #b8921f;
}

/* Popular Section */
.popular-section {
    margin-bottom: 4rem;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.popular-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.popular-item img {
    width: 90px;
    height: 75px;
    object-fit: cover;
    border-radius: 3px;
}

.popular-info {
    flex: 1;
}

.popular-category {
    font-size: 0.7rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.popular-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--primary-color);
    padding: 3rem 0 1rem;
}

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

.footer-section {
    padding: 1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-style: italic;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

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

.article-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.article-title-full {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 1.2rem 0;
    line-height: 1.3;
    font-style: italic;
}

.article-meta-full {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
}

.article-meta-full .author {
    color: var(--primary-color);
    font-weight: 600;
}

.article-featured-image {
    margin: 2rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.article-content {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

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

.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-weight: 600;
    margin-right: 1rem;
}

.tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.tag:hover {
    background: var(--accent-color);
    color: #fff;
}

.related-articles {
    margin-top: 4rem;
}

.breadcrumb {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb .separator {
    margin: 0 0.7rem;
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-color);
}

/* Category Page */
.category-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.category-header h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.category-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 900px) {
    .featured-article-link {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 280px;
    }

    .featured-title {
        font-size: 2rem;
    }

    .article-title-full {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 2rem;
    }
}
