/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    color: #ecf0f1;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.tagline {
    color: #bdc3c7;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: rgba(236, 240, 241, 0.9);
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.main-nav a:hover, .main-nav a.active {
    background: rgba(236, 240, 241, 0.15);
    color: #ecf0f1;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-headline {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.sub-headline {
    font-size: 20px;
    color: #34495e;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Topics Section */
.topics-section {
    padding: 80px 0;
    background: #ffffff;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.topic-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.topic-card:hover::before {
    transform: scaleX(1);
}

.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.topic-card h3 {
    margin-bottom: 16px;
}

.topic-card h3 a {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.topic-card h3 a:hover {
    color: #3498db;
}

.topic-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 15px;
}

/* Featured Articles Section */
.featured-articles {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.article-preview {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.article-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.12);
    border-color: #3498db;
}

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

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-header h3 a {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-header h3 a:hover {
    color: #3498db;
}

.article-content p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.article-content ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.article-content li {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.article-content li:before {
    content: "→";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
}

.article-cta {
    background: linear-gradient(135deg, #e8f4fd 0%, #d6eaf8 100%);
    border: 1px solid #aed6f1;
    border-radius: 12px;
    padding: 24px;
    margin: 28px 0;
}

.article-cta strong {
    color: #2980b9;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.article-source {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.article-source p {
    font-size: 14px;
    color: #95a5a6;
    margin: 0;
}

.article-source a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.article-source a:hover {
    text-decoration: underline;
}

/* Info Section */
.info-section {
    padding: 70px 0;
    background: #ffffff;
}

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

.info-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 36px 28px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
}

.info-item h4 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 600;
}

.info-item p {
    line-height: 1.7;
    color: #6c757d;
    font-size: 15px;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 25px;
}

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

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: #85c1e9;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 24px;
    text-align: center;
    color: #95a5a6;
    font-size: 13px;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 24px;
    text-align: center;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-accept {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .main-nav ul {
        justify-content: center;
        gap: 16px;
    }
    
    .main-nav a {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .main-headline {
        font-size: 30px;
        margin-bottom: 18px;
    }
    
    .sub-headline {
        font-size: 18px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .topic-card {
        padding: 28px 24px;
    }
    
    .topic-card h3 a {
        font-size: 20px;
    }
    
    .featured-articles {
        padding: 60px 0;
    }
    
    .article-preview {
        padding: 28px;
    }
    
    .article-header h3 a {
        font-size: 22px;
    }
    
    .article-cta strong {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .info-item {
        padding: 28px 24px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-content p {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .main-nav a {
        text-align: center;
        display: block;
        padding: 12px 20px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .main-headline {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .sub-headline {
        font-size: 16px;
    }
    
    .topic-card {
        padding: 24px 20px;
    }
    
    .topics-section, .featured-articles, .info-section {
        padding: 50px 0;
    }
    
    .article-preview {
        padding: 24px;
    }
    
    .article-header h3 a {
        font-size: 20px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background-color: #fff;
        color: #000;
    }
    
    .topic-card {
        border: 2px solid #000;
    }
    
    .topic-card:hover {
        background-color: #f0f0f0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}