@charset "UTF-8";

/* Reset basic styles for consistency across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styling */
.site-header {
    background-color: #1a252f;
    color: #fff;
    display: flex;
    justify-content: flex-end; /* Pushes everything in header-right to the far right */
    align-items: center;
    padding: 20px 10%;
    position: relative;        /* Keeps the logo centered relative to the whole header */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Center Logo */
.site-header .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Right Side Container */
.header-right {
    display: flex;
    align-items: center;
}

/* Language Selector Styling */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lang-btn {
    color: #bdc3c7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Space between the jpg flag image and text */
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: #fff;
}

/* Highlights the currently active language */
.lang-btn.active {
    color: #3498db;
    font-weight: bold;
}

/* Controls the sizing of your JPG flag images */
.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover; /* Prevents distortion if the image aspect ratio is slightly off */
    border-radius: 2px; /* Slight rounding on corners for a modern look */
    display: inline-block;
}

.lang-separator {
    color: #455a64;
    user-select: none;
}

/* Main Content Styling */
.main-content {
    flex: 1; /* Pushes the footer to the bottom if content is short */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.hero {
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero p {
    font-size: 18px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Footer Styling */
.site-footer {
    background-color: #1a252f;
    color: #bdc3c7;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .site-header .logo {
        position: static;
        transform: none;
    }
}