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

:root {
    --primary-color: #000080; /* Deep navy blue */
    --primary-dark: #00005a;
    --accent-color: #1a365d;
    --text-main: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #eaeaea;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Geist', sans-serif;
    
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

.text-center { text-align: center; }
.py-5 { padding: 4rem 0; }
.mb-4 { margin-bottom: 2rem; }
.bg-light { background-color: var(--bg-light); }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2.section-title { font-size: 2.5rem; border-bottom: 2px solid var(--primary-color); display: inline-block; padding-bottom: 0.5rem; margin-bottom: 2rem; }

/* Buttons */
.btn-primary, .btn-large {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover, .btn-large:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,128,0.2);
}

.full-width { width: 100%; display: block; }

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    font-weight: 400;
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section with Parallax */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('assets/newspaper.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,128,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--bg-white);
    max-width: 800px;
}

.hero-content h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Ticker */
.ticker-wrap {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker__item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.highlight-card {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.highlight-card h3, .highlight-card .category, .highlight-card p, .highlight-card .read-more {
    color: var(--bg-white);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,128,0.1);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 1.5rem 0;
}

.price span {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.accordion-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.accordion-btn::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-btn.active::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.25rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 4rem 0 0;
}

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

.footer h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p, .footer li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: #cbd5e1;
}

.footer a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.footer-bottom {
    background-color: var(--primary-dark);
    padding: 1.5rem 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    h1 { font-size: 2.5rem; }
    
    .hero {
        background-attachment: scroll; /* Disable parallax on mobile */
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}
