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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #6B8E23;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --nav-text: #999;
    --background: #FCFBF8;
    --background-alt: #f8f9fa;
    --background-dark: #000000;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Chivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Chivo', Georgia, serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Navigation */
.navbar {
    background-color: var(--background);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 100;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-family: 'Chivo', sans-serif;
}

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

.nav-links a {
    color: var(--nav-text);
    font-weight: 300;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    text-transform: capitalize;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--background);
    padding: 4rem 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    padding-right: 2rem;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--primary-color);
    font-family: 'Chivo', sans-serif;
}

.hero-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-family: 'Chivo', sans-serif;
}

.hero-welcome {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-weight: 300;
    font-family: 'Chivo', sans-serif;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 300;
}

.hero-bio a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Featured Section */
.featured-section {
    background-color: var(--background-dark);
    padding: 6rem 0;
    margin: 0;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Recent Activity Section */
.recent-activity {
    padding: 4rem 0;
}

.recent-activity h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.post-card {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.post-date {
    color: var(--text-light);
}

.post-category {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.post-card h3 {
    margin-bottom: 0.75rem;
}

.post-card h3 a {
    color: var(--primary-color);
}

.post-card h3 a:hover {
    color: var(--secondary-color);
}

.post-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

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

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

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Page Content Styles */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.content-section {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-full {
    background-color: var(--background);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.article-full h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-full p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Book Reviews */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-card {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.book-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: var(--background-alt);
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.book-author {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.book-year {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-rating {
    color: #f39c12;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.book-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.book-card.has-review,
.movie-card.has-review {
    position: relative;
}

.read-review-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.book-card.has-review:hover .read-review-badge,
.movie-card.has-review:hover .read-review-badge {
    background-color: var(--accent-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background-color: var(--background);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-body {
    padding: 2.5rem;
}

.modal-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-cover {
    width: 180px;
    height: 270px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.modal-info {
    flex: 1;
}

.modal-info h2 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.modal-author {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.modal-rating {
    color: #f39c12;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-review h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.review-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    white-space: pre-line;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

button[type="submit"] {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

button[type="submit"]:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        padding-right: 0;
    }

    .hero-headline {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-bio {
        font-size: 0.9rem;
    }

    .hero-image {
        max-width: 400px;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .modal {
        padding: 1rem;
    }

    .modal-header {
        flex-direction: column;
        align-items: center;
    }

    .modal-cover {
        width: 150px;
        height: 225px;
    }

    .modal-body {
        padding: 1.5rem;
    }
}