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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Navigation Styles */
.nav {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.7rem;
        font-size: 0.9rem;
    }
}

/* Legacy navbar styles - override with new nav styles */
.navbar {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.nav-brand p {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
    margin-top: 120px;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: white;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Highlights Section */
.highlights-section {
    padding: 4rem 0;
    background: white;
    margin-bottom: 4rem;
}

.highlights-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 3rem;
    font-weight: 700;
}

.newsletter-highlight {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.newsletter-highlight h3 {
    margin-bottom: 1rem;
}

.newsletter-link {
    color: #1e40af;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.newsletter-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.highlight-list {
    list-style: none;
    padding-left: 0;
}

.highlight-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

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

.highlight-list strong {
    color: #1e40af;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-content > p {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.info-item h4 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-item p {
    color: #64748b;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

/* Newsletter Pages */
.newsletter-main {
    margin-top: 60px;
    padding: 0;
}

.newsletter-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    text-align: center;
    margin-bottom: 1rem;
}

.newsletter-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    opacity: 0.9;
}

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

.newsletter-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.welcome-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.intro-box h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.intro-box ul {
    list-style: none;
    padding-left: 0;
}

.intro-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.intro-box li:last-child {
    border-bottom: none;
}

/* Case Studies and Development Items */
.case-study, .uk-development, .international-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3b82f6;
}

.case-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.case-meta .date {
    font-weight: 600;
}

.case-meta .source a {
    color: #1e40af;
    text-decoration: none;
}

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

/* Trends Summary */
.trends-summary {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #f59e0b;
}

/* Market Insights Table */
.insights-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.insights-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.insights-table thead {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.insights-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.insights-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.insights-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.insights-table tbody tr:hover {
    background-color: #f1f5f9;
}

.insights-table td:first-child {
    background-color: #f0f9ff;
    font-weight: 600;
    width: 20%;
}

.insights-table .date {
    font-size: 0.9rem;
    color: #64748b;
    display: block;
    margin-top: 0.25rem;
}

.insights-table a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.insights-table a:hover {
    text-decoration: underline;
}

.insights-note {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* Newsletter Footer */
.newsletter-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid #e2e8f0;
    margin-top: 3rem;
    color: #64748b;
}

/* Archive Page */
.archive-main {
    margin-top: 120px;
    padding: 2rem 0;
}

.archive-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.archive-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #3b82f6;
}

.archive-item h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.archive-item .date {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.archive-highlights {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.archive-highlights li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    color: #64748b;
}

.archive-highlights strong {
    color: #1e40af;
}

.archive-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
    padding: 0.5rem;
    background: #f0f9ff;
    border-radius: 6px;
    flex: 1;
}

.stat-number {
    display: block;
    font-weight: 700;
    color: #1e40af;
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
}

/* About Page */
.about-main {
    margin-top: 120px;
    padding: 2rem 0;
}

.about-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.about-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.editable-section {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    margin-top: 2rem;
}

.editable-section h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .publication-info {
        grid-template-columns: 1fr;
    }
    
    .newsletter-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-content {
        padding: 1.5rem;
    }
    
    .insights-table-container {
        font-size: 0.9rem;
    }
    
    .insights-table th,
    .insights-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-item {
        padding: 1.5rem;
    }
}

