/* --- Theme Variables --- */
:root {
    --color-charcoal-dark: #2c2c2c;   /* Deep dark gray */
    --color-black: #111111;           /* Black / Very dark */
    --color-light-gray: #f5f5f5;      /* Light text color */
    --color-white: #ffffff;           /* Pure White */
    --color-accent: #b8b8b8;          /* Subtle accent gray */
    --font-primary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-light-gray);
    line-height: 1.6;
    min-height: 100vh;
    display: block;

    /* NEW STYLES: Full page background image (main_background.jpg) */
    background: linear-gradient(rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0.5)), 
                url('main_background.jpg') no-repeat fixed center center; /* Sets the main image */
    background-size: cover;
}

/* --- Main Content Wrapper (For centering the data block) --- */
.main-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
}

.container {
    width: 90%;
    max-width: 600px; /* Width limit for minimalist look */
    padding: 40px;
    /* Semi-transparent charcoal background for the data block, allowing main_background to be visible */
    background-color: rgba(44, 44, 44, 0.9); /* 90% opacity of --color-charcoal-dark */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    position: relative;
}

/* --- Header Section with Coal Background --- */
.header-wrapper {
    /* RESTORED: Coal image background (coal_background.jpg) with dark overlay */
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)), 
                url('coal_background.jpg') no-repeat center center; 
    background-size: cover;
    
    padding: 40px 0;
    margin-bottom: 20px; 
    position: relative;
    border-bottom: 3px solid var(--color-accent);
}

header {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 0;
    border-bottom: none;
}

/* Logo Styling */
header img {
    height: 80px; /* Logo height */
    width: auto;
    margin-right: 15px;
    /* Filter removed to keep original logo colors */
}

header h1 {
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-white); /* White text on image background */
    margin: 0;
}

/* --- Data Sections (H2 headers, paragraphs) --- */
.data-section {
    margin-bottom: 30px;
}

.data-section h2 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--color-black); 
}

.data-section p {
    font-size: 1em;
    margin-bottom: 5px;
}

.data-section a {
    color: var(--color-light-gray);
    text-decoration: underline;
    transition: color 0.3s;
}

.data-section a:hover {
    color: var(--color-accent);
}

/* --- Company Data (Inner cards) --- */
.company-list {
    padding-top: 10px;
}

.company-card {
    background-color: var(--color-black); /* Black background for inner cards */
    padding: 15px;
    margin-top: 15px;
    border-radius: 2px;
}

.company-card h3 {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--color-light-gray);
    margin-bottom: 10px;
}

.company-card ul {
    list-style: none;
}

.company-card ul li {
    font-size: 0.9em;
    color: var(--color-accent);
    margin-bottom: 3px;
}

/* --- Language Switch Styles --- */
.lang-switch {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.9em;
    color: var(--color-light-gray);
    z-index: 10;
}

.lang-switch a {
    color: var(--color-light-gray);
    text-decoration: none;
    padding: 0 5px;
    transition: color 0.3s;
}

.lang-switch a:hover, .lang-switch .active-lang {
    color: var(--color-accent);
    font-weight: 700;
}

/* --- Responsiveness --- */
@media (max-width: 650px) {
    .header-wrapper {
        padding: 20px 0;
    }
    header {
        flex-direction: column;
        text-align: center;
    }
    header img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    header h1 {
        font-size: 1.5em;
    }
    .lang-switch {
        position: static;
        text-align: center;
        margin-top: 10px;
    }
    .main-content-wrapper {
        padding-top: 0;
        align-items: center;
    }
}