:root {
    --primary-blue: #0066cc;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
  /*  background-image: url('../img/bg-house01.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo styles */
.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

/* Navigation */
.main-nav {
    background-color: var(--primary-blue);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Trending Bar */
.trending {
    background-color: var(--gray-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.trending-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

/* Article Cards */
.articles-grid {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
}

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

.article-content {
    padding: 1.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.category-tag.economy {
    background-color: #e3f2fd;
    color: #1976d2;
}

.category-tag.politics {
    background-color: #fce4ec;
    color: #c2185b;
}

.category-tag.environment {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.article-title {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.footer-brand p {
    margin: 0;
    opacity: 0.8;
}

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

.footer-section h3 {
    color: var(--text-light);
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section ul a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-blue);
        padding: 1rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Content Grid */
.content-grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Card Content */
.card-content {
    padding: 2rem;
}

/* Subscribe Card */
.subscribe-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 400px;
    margin: 2rem auto;
}

.subscribe-card h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--text-dark);
}

.subscribe-card p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.subscribe-form {
    margin: 0;
}

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

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

.form-group input {
    width: 95%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.btn-primary {
    width: 95%;
    padding: 0.75rem;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #0052a3;
}

/* Content List */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.content-list a:hover {
    color: var(--primary-blue);
}

/* Featured Article */
.article-card.featured {
    grid-column: 1 / -1;
}

.article-card.featured .article-image {
    height: 400px;
}

.article-card.featured .article-title {
    font-size: 1.75rem;
}

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

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

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

    .article-card.featured .article-image {
        height: 300px;
    }
}

/* Thank You Page Styles */
.success-hero {
    background-color: #28a745;
    color: var(--text-light);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.2);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.confirmation-section .content-list {
    margin-top: 1rem;
}

.confirmation-section .content-list li {
    padding: 1rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.next-steps-section .content-list a {
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-section .card-content {
    text-align: center;
}

.contact-section .btn-primary {
    display: inline-block;
    width: auto;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .success-icon {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 3rem;
    }
}

/* Legal Pages Styles */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.last-updated {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-section h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.unsubscribe-form {
    max-width: 400px;
    margin: 2rem 0;
} 