/* Reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2D5016;           
    --secondary-color: #7FB069;         
    --accent-color: #4A6741;            
    --text-color: #2C2C2C;              
    --text-light: #666666;             
    --bg-color: #FAF8F3;                
    --bg-light: #F5F3ED;               
    --border-color: #E0E0E0;           
    --hover-color: #6B8E5A;            
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

.header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: -0.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link:hover {
    color: var(--hover-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--text-color);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--hover-color);
}

.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.hero {
    margin-bottom: var(--spacing-xl);
}

.hero-article {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-article:hover .hero-image {
    transform: scale(1.05);
}

.hero-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-category {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.category-badge {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-date {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.hero-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-color);
    background-color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-read-more:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.latest-blogs {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.latest-blogs-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: var(--spacing-lg);
    max-width: 1440px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card.featured {
    grid-row: span 2;
}


.blog-card.featured .blog-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card.featured .blog-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.blog-card.featured .blog-excerpt {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.blog-card.small {
    display: flex;
    flex-direction: column;
}

.blog-card.small .blog-image-wrapper {
    height: 200px;
}

.blog-card.small .blog-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card.small .blog-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.blog-card.small .blog-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-card:hover .blog-image {
    transform: scale(1.08);
}

.blog-content {
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

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

.blog-date {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 400;
}

.blog-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.blog-excerpt {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    margin-top: auto;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .navigation {
        order: 3;
        width: 100%;
        margin-top: var(--spacing-sm);
        border-top: 1px solid var(--border-color);
        padding-top: var(--spacing-sm);
    }
    
    .nav-menu {
        justify-content: space-around;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        gap: var(--spacing-xs);
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    /* Hero responsive */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-image-container {
        min-height: 250px;
    }
    
    .hero-content {
        padding: var(--spacing-md);
    }
}

@media (max-width: 968px) {
    .hero-article {
        grid-template-columns: 1fr;
    }
    
    .hero-image-container {
        min-height: 300px;
    }
    
    .hero-content {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.0625rem;
    }
    
    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    /* Latest Blogs Responsive */
    .section-title {
        font-size: 1.75rem;
    }
    
    .latest-blogs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .blog-card.featured {
        grid-row: span 1;
    }
    
    .blog-card.featured .blog-image-wrapper {
        height: 250px;
    }
    
    .blog-card.small .blog-image-wrapper {
        height: 200px;
    }
    
    .blog-card.featured .blog-title {
        font-size: 1.5rem;
    }
}

/* Category Section (Life & Work) */
.category-section {
    margin-bottom: var(--spacing-xl);
    padding-top: var(--spacing-xl);
}

.category-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
    line-height: 1.6;
}

/* Category Carousel */
.category-carousel-wrapper {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.category-carousel {
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.category-carousel-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s ease;
    will-change: transform;
}

.category-carousel-track .category-card {
    min-width: calc(50% - var(--spacing-lg) / 2);
    flex-shrink: 0;
    max-width: 400px;
    height: 500px;
}

/* Category Cards */
.category-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

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

.category-card-date {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 400;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.category-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: auto;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Category Section Responsive */
@media (max-width: 968px) {
    .category-carousel-track .category-card {
        min-width: calc(50% - var(--spacing-md) / 2);
    }
    
    .category-carousel-wrapper {
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .category-description {
        font-size: 1rem;
    }
    
    .category-carousel-track .category-card {
        min-width: 100%;
        height: 450px;
    }
    
    .category-carousel-wrapper {
        padding: 0 var(--spacing-xl);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .category-card-title {
        font-size: 1.25rem;
    }
    
    .category-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .category-carousel-wrapper {
        padding: 0 var(--spacing-md);
    }
    
    .category-carousel-track .category-card {
        height: 400px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .category-card-title {
        font-size: 1.125rem;
    }
    
    .category-image-wrapper {
        height: 200px;
    }
}

/* Article Post Page Styles */
.article-post {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: var(--spacing-lg);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.article-category {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-date,
.article-reading-time {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-light);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.article-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

.article-featured-image {
    margin-bottom: var(--spacing-xl);
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-intro {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.article-content p {
    margin-bottom: var(--spacing-md);
}

.article-content strong {
    font-weight: 600;
    color: var(--text-color);
}

.article-image {
    margin: var(--spacing-xl) 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.tag {
    font-family: var(--font-body);
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 500;
}

/* Related Articles */
.related-articles {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    justify-content: center;
}

.related-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.related-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.related-content {
    padding: var(--spacing-md);
}

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

.related-articles > .related-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.related-card .related-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-xs);
    line-height: 1.3;
    text-align: left;
}

/* Article Page Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.75rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .article-intro {
        font-size: 1.125rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-meta {
        font-size: 0.8125rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-color) 100%);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-radius: 16px;
    margin-bottom: var(--spacing-xl);
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content {
    color: var(--bg-color);
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: var(--spacing-md);
}

.newsletter-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-wrapper {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--bg-color);
    background: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-button {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--bg-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-button:active {
    transform: translateY(0);
}

.newsletter-message {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    display: none;
    line-height: 1.5;
}

.newsletter-message-success {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.newsletter-message-error {
    background: rgba(220, 53, 69, 0.1);
    color: #fff;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.newsletter-privacy {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-newsletter-text {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.footer-newsletter-form {
    margin-top: var(--spacing-sm);
}

.footer-newsletter-input-wrapper {
    display: flex;
    gap: var(--spacing-xs);
}

.footer-newsletter-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-color);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(127, 176, 105, 0.1);
}

.footer-newsletter-button {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-button:hover {
    background: var(--hover-color);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Footer Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-contact-item {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.footer-contact-item strong {
    font-weight: 600;
    color: var(--primary-color);
    display: inline;
    margin-right: var(--spacing-xs);
}

.footer-contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Newsletter & Footer Responsive */
@media (max-width: 768px) {
    .newsletter-title {
        font-size: 2rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    .newsletter-input-wrapper {
        flex-direction: column;
    }
    
    .newsletter-input {
        min-width: 100%;
    }
    
    .newsletter-button {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 48, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--spacing-xl);
    overflow-y: auto;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: var(--spacing-xl);
    position: relative;
}

.search-close-btn {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--bg-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.search-wrapper {
    margin-top: var(--spacing-xl);
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    color: var(--text-light);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 3.5rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--bg-color);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-clear-btn {
    position: absolute;
    right: var(--spacing-md);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-color);
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
}

.search-placeholder {
    text-align: center;
    padding: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
}

.search-result-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.search-result-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-result-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bg-color);
    margin-bottom: var(--spacing-xs);
}

.search-result-meta {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.search-result-category {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-date {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.search-result-excerpt {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.search-no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
}

/* Search Overlay Responsive */
@media (max-width: 768px) {
    .search-overlay-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .search-input {
        font-size: 1rem;
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    }
    
    .search-results {
        max-height: 50vh;
    }
}

/* Contact Form Styles */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-detail-item h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-detail-item p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

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

.form-submit-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-color);
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-message {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    display: none;
    line-height: 1.5;
}

.form-message-success {
    background: rgba(127, 176, 105, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(127, 176, 105, 0.3);
}

.form-message-error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-info,
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .contact-info h2 {
        font-size: 1.25rem;
    }
}

