/* EU PESTLE Analysis Website Styles */

:root {
    --primary-blue: #003d82;
    --secondary-blue: #0066cc;
    --accent-gold: #ffcc00;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --border-light: #e9ecef;
    --warning-red: #e74c3c;
    --success-green: #27ae60;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: var(--shadow);
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.header-content .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.header-content .date {
    font-size: 1rem;
    opacity: 0.8;
}

/* Navigation */
nav {
    background: var(--background-light);
    padding: 1rem 0;
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--secondary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Executive Summary */
.executive-summary {
    background: var(--background-light);
    padding: 3rem 0;
    margin: 2rem 0;
}

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

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-blue);
}

.summary-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* PESTLE Sections */
.pestle-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.pestle-section:nth-child(even) {
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-header .section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card h3 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-card h4 {
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

/* Risk Indicators */
.risk-indicator {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.2rem;
}

.risk-high {
    background: #ffebee;
    color: var(--warning-red);
    border: 1px solid var(--warning-red);
}

.risk-medium {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #f57c00;
}

.risk-low {
    background: #e8f5e8;
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

/* Data Sources */
.data-sources {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.source-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
}

.source-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.source-item a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.source-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Key Findings */
.key-findings {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

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

.finding-card {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.finding-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .nav-links,
    .data-sources {
        display: none;
    }
    
    .pestle-section {
        page-break-inside: avoid;
        margin: 1rem 0;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-gold);
}

.highlight-box h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* Statistics boxes */
.stat-box {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
    border: 2px solid var(--border-light);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-blue);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}