/* --- CSS VARIABLES --- */
:root {
    --color-pink: #FF69B4; /* Hot Pink */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-grey-light: #F0F0F0;
    --color-grey-dark: #333333;
    --border-style: 3px solid var(--color-black); /* Consistent border for elements */
}

/* --- GLOBAL STYLES & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-black); /* Default text color for light backgrounds */
    background-color: var(--color-grey-light); /* Light background for the overall page */
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--color-pink);
    transform: translateY(-1px);
}

/* --- MAIN CONTAINER FOR PANES (DESKTOP) --- */
.main-container {
    display: flex; /* Flexbox for side-by-side panes */
    min-height: 100vh; /* Make sure it takes full viewport height */
    background-color: var(--color-white); /* Background for the main content area */
}

/* --- LEFT STATIC PANE --- */
.left-pane {
    flex: 0 0 35%; /* Takes up 35% width, static */
    background-color: var(--color-pink);
    color: var(--color-white);
    display: flex; /* Use flex for content centering */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    padding: 2em; /* Padding inside the pane */
    border-right: var(--border-style); /* Separator border */
    overflow: hidden; /* Ensure nothing spills out */
    position: sticky; /* Keeps it fixed on desktop */
    top: 0;
    height: 100vh; /* Full viewport height on desktop */
}

.left-pane-content {
    text-align: center;
    max-width: 90%; /* Content doesn't touch edges */
}

.language-switcher {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 2em;
}

.language-switcher a {
    color: var(--color-white);
}

.language-switcher a:hover {
    color: var(--color-yellow); /* Simple highlight */
}

.language-switcher .active-lang {
    color: var(--color-black); /* Active language stands out */
}

.please-like-me {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3em, 8vw, 5em); /* Large, responsive text */
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1em;
    color: var(--color-black); /* Bold black text on pink */
}

.pane-image {
    max-width: 50%; /* Image takes up 50% of pane width */
    height: auto;
    border: var(--border-style); /* Simple black border */
    margin-bottom: 2em;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    margin-bottom: 0.8em;
}

.main-nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--color-black); /* Black text for menu links */
    display: block;
    padding: 0.5em 1em;
    border: var(--border-style);
    background-color: var(--color-white);
}

.main-nav ul li a:hover {
    background-color: var(--color-black); /* Invert colors on hover */
    color: var(--color-pink);
    border-color: var(--color-pink);
}

/* --- RIGHT SCROLLING BLOG PANE --- */
.right-pane {
    flex: 1; /* Takes up remaining space */
    background-color: var(--color-white);
    padding: 2em;
    overflow-y: auto; /* Enable scrolling */
}

.blog-container {
    max-width: 800px; /* Constrain blog content width */
    margin: 0 auto;
}

.blog-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5em, 7vw, 4em);
    font-weight: 700;
    color: var(--color-pink); /* Blog title in pink */
    text-align: center;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: var(--border-style);
}

.blog-post {
    background-color: var(--color-grey-light); /* Light grey background for posts */
    border: var(--border-style);
    padding: 1.5em;
    margin-bottom: 2em;
}

.blog-post h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8em, 5vw, 2.5em);
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--color-black);
}

.blog-post time {
    display: block;
    font-size: 0.9em;
    color: var(--color-grey-dark);
    margin-bottom: 1em;
}

.blog-post p {
    margin-bottom: 1.5em;
    color: var(--color-black);
}

.read-more {
    font-weight: bold;
    color: var(--color-pink);
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 1.5em;
    font-size: 0.9em;
    border-top: var(--border-style);
    border-color: var(--color-pink); /* Pink border top */
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column; /* Stack panes vertically */
    }

    .left-pane {
        width: 100%; /* Full width on mobile */
        height: 100vh; /* Full screen height on initial view */
        position: static; /* No longer sticky */
        border-right: none; /* No right border */
        border-bottom: var(--border-style); /* Add bottom border */
        padding-top: 5em; /* More top padding to keep content visible below nav */
    }

    .left-pane-content {
        max-width: 100%; /* Allow content to use full width */
    }

    .please-like-me {
        font-size: clamp(3em, 12vw, 6em); /* Make it bigger on mobile initial view */
    }

    .pane-image {
        max-width: 60%; /* Slightly larger on mobile */
    }

    .main-nav {
        margin-top: 3em; /* Space below image */
    }

    .right-pane {
        width: 100%; /* Full width on mobile */
        overflow-y: visible; /* Content flows naturally, no fixed scroll area */
        padding-top: 3em; /* Padding for blog content */
    }

    .blog-title {
        font-size: clamp(2em, 9vw, 4em);
    }
}

/* Adjustments for smaller mobile screens */
@media (max-width: 480px) {
    .left-pane, .right-pane {
        padding: 1.5em;
    }

    .please-like-me {
        font-size: clamp(2.5em, 15vw, 5em);
    }

    .main-nav ul li a {
        font-size: 1.2em;
    }

    .blog-post {
        padding: 1em;
    }

    .blog-post h3 {
        font-size: clamp(1.5em, 6vw, 2em);
    }
}