/* ============================= GLOBAL STYLES ============================= */
body {
    background-color: #f7f7f5;     
    color: #333;
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================= CSS VARIABLES (Root Design System) ============================= */
:root {
    /* Colors - Professional Financial Theme */
    --color-primary: #1A5490;        /* Professional Navy Blue */
    --color-primary-dark: #0D3B66;
    --color-primary-light: #E3F2FD;
    
    --color-accent: #00BCD4;         /* Teal accent */
    --color-accent-light: #E0F7FA;
    
    --color-success: #2E7D32;        /* Green for positive */
    --color-danger: #D32F2F;         /* Red for negative */
    --color-warning: #F57C00;        /* Orange for caution */
    
    --color-text: #1A1A1A;           /* Deep text */
    --color-text-secondary: #555555; /* Secondary text */
    --color-text-tertiary: #888888;  /* Tertiary text */
    
    --color-bg: #FFFFFF;             /* White background */
    --color-bg-light: #F5F5F7;       /* Light gray bg */
    --color-bg-section: #FAFBFC;     /* Section bg */
    
    --color-border: #E0E0E0;         /* Borders */
    --color-border-light: #F0F0F0;   /* Light borders */
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 22px;
    --font-size-3xl: 28px;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 48px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition: all 0.2s ease;
}

/* ============================= GLOBAL STYLES ============================= */
body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

/* ============================= PROFESSIONAL HEADER ============================= */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Logo Styling */
.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    color: #b8b8b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 80%;
}

/* ============================= MAIN CONTENT ============================= */
.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
    width: 100%;
}

/* ============================= PROFESSIONAL FOOTER ============================= */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    margin-top: auto;
    border-top: 3px solid #ffd700;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 40px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffd700;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #b8b8b8;
    margin: 0 0 8px 0;
}

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

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

.footer-section ul li a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #ffd700;
    padding-left: 4px;
}

.footer-email {
    color: #ffd700 !important;
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #888;
    margin: 6px 0;
}

.footer-disclaimer {
    font-size: 12px !important;
    font-style: italic;
    color: #666 !important;
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-content {
        height: auto;
        padding: 16px 0;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        gap: 16px;
    }
    
    .header-container,
    .footer-container,
    .main-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ============================= EXISTING STYLES (PRESERVED) ============================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Titles */
h1, h2 {
    text-align: center;
    color: #222;
    font-weight: 600;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
}

th {
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    font-weight: 600;
}

td {
    text-align: right;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.number {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ============================= HOME PAGE ============================= */
.home-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.home-search-card {
    text-align: center;
}

.home-search-card .section-title {
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.home-search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.home-search-form input[type="text"] {
    width: 280px;
    max-width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}

.home-search-form input[type="text"]:focus {
    border-color: var(--color-primary);
}

.home-map-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl) var(--spacing-3xl);
    text-align: center;
}

.map-section-intro {
    max-width: 640px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    line-height: 1.6;
}

#ukraineMap {
    width: 100%;
    max-width: 1600px;
    height: 620px;
    margin: 0 auto;
}

