/* ==========================================================================
 * 1. Font Import (Bitstream Vera Sans Mono)
 * ========================================================================== */
@font-face {
    font-family: 'Bitstream Vera Sans Mono';
    src: url('../../fonts/VeraMono-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Benne';
    src: url('../../fonts/Benne-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* ==========================================================================
 * 2. Base Page Setup
 * ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../Pictures/aboutBG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f0f4f8;

    font-family: 'Benne', 'Bitstream Vera Sans Mono', sans-serif, serif;
    font-weight: 400;
    line-height: 1.7;
    line-height: 1.6;
    color: #333333;

    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ==========================================================================
 * 3. Centered Container Box & Header
 * ========================================================================== */
.container {
    width: 100%;
    max-width: 650px;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 24px;
    position: relative;
}

.container h1 {
    margin: 0 0 12px 0;
    font-size: calc(2.2rem + 5px);
    color: #1a202c;
    text-align: center;
}

/* Language Button */
.lang-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
}

.lang-btn:hover {
    background-color: #0056b3;
}

/* Navigation Links */
.container nav {
    font-size: calc(1rem + 5px);
    font-weight: normal;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 24px;
}

.container nav a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.container nav a:hover {
    background-color: #e2e8f0;
    color: #2b6cb0;
}

/* ==========================================================================
 * 4. Content Layout & Images
 * ========================================================================== */
.card-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.text-block {
    flex: 1;
}

/* Profile Picture */
.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
}

/* LEFT SIDE */
.about-me-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-me-links p {
    margin: 0;
    font-size: calc(1rem + 5px);
    line-height: 1.5;
}

/* RIGHT SIDE */
.bike-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* General Link & Text Styles */
p {
    color: #4a5568;
    font-size: calc(1.05rem + 5px);
    margin: 0;
}

a {
    color: #3182ce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==========================================================================
 * 5. Mobile-only fixes
 * ========================================================================== */
@media (max-width: 699px) {
    .container {
        padding-top: 20px;
    }

    .lang-btn {
        position: static;
        display: block;
        width: fit-content;
        margin: 0 auto 12px auto;
    }

    .card-layout {
        flex-direction: column;
        align-items: center;
    }

    .profile-img {
        width: 100%;
        max-width: 180px;
        height: 180px;
    }

    .bike-img {
        max-width: 100%;
    }

    .container nav a {
        padding: 6px 12px;
    }

    .contact-section {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

/* ==========================================================================
 * 6. Desktop Layout
 * ========================================================================== */
@media (min-width: 700px) {
    .container,
    footer {
        width: 95%;
        max-width: 1400px;
    }
}

/* ==========================================================================
 * 7. Footer Styles
 * ========================================================================== */
footer {
    width: 100%;
    max-width: 650px;
    margin-top: 24px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

footer p {
    color: #4a5568;
    font-size: calc(0.9rem + 5px);
}
