:root {
    --bg-color: #f4f4f4;
    --card-bg: #ffffff;
    --text-color: #666;
    --heading-color: #333;
    --accent-color: #c9a49b; /* Approximate from images */
    --nav-icon-color: rgba(255, 255, 255, 0.5);
    --nav-icon-active: #ffffff;
    --nav-bg: #c9a49b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    background: linear-gradient(135deg, #e5b9a8 0%, #a595b5 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

h4 {
    font-weight: 300;
    font-size: 1.4rem;
}

a {
    color: var(--accent-color);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.home-page .container, .instagram-page .container {
    height: 550px;
    overflow: hidden;
}


/* Navigation */
nav {
    display: flex;
    justify-content: center;
}

.lang-switcher {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    gap: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 3px;
}

.lang-switcher a:hover, .lang-switcher a.active {
    color: #ffffff;
}

.lang-switcher span {
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
}

nav a {
    color: var(--nav-icon-color);
    font-size: 2.5rem;
    padding: 25px 35px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--nav-icon-active);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--card-bg);
}

/* Content Area */
main {
    padding: 60px;
    flex: 1;
}

h1 {
    color: var(--heading-color);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

h2 {
    color: var(--accent-color);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 2rem;
}

/* Home Page specific */
.home-page main {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    height: 100%;
    overflow: hidden;
}

.home-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.home-image {
    height: 100%;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 120%; /* Taller than container to allow "sitting higher" */
    display: block;
    object-fit: cover;
    object-position: center top;
    margin-top: -20%; /* Pull it up so top is invisible */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-top: 5px;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.work-item h3 {
    margin-top: 10px;
    color: var(--heading-color);
    font-weight: 400;
}

/* Work Page */
.work-intro {
    margin-bottom: 20px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-item {
    margin-bottom: 10px;
}

.work-item iframe, .work-item audio {
    width: 100%;
    margin-top: 5px;
}

/* Contact Page */
form {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1.1rem;
    background: #fcfcfc;
}

input::placeholder, textarea::placeholder {
    font-size: 1.1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: background 0.3s;
    width: fit-content;
}

button:hover {
    background: #b89389;
}

/* Instagram Page */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
}

.insta-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.05);
}

.instagram-footer {
    text-align: center;
    margin-bottom: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: inherit;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
        justify-content: flex-start;
        font-size: 16px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    input, textarea, input::placeholder, textarea::placeholder {
        font-size: 1rem;
    }

    .container {
        border-radius: 4px;
        box-shadow: none;
    }

    body:not(.home-page) .container main {
        padding: 40px 20px;
    }

    .home-page .container, .instagram-page .container, .work-page .container {
        min-height: calc(100vh - 20px);
        height: auto;
        overflow-y: visible;
    }

    .home-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .home-text {
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .home-image {
        height: auto;
    }

    .profile-img {
        height: auto;
        margin-top: 0;
    }

    nav a {
        padding: 20px 25px;
        font-size: 1.8rem;
    }

    .lang-switcher {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        justify-content: center;
        font-size: 0.85rem;
    }

    .lang-switcher a {
        color: var(--nav-icon-color);
    }

    .lang-switcher a:hover, .lang-switcher a.active {
        color: var(--nav-icon-active);
    }

    .lang-switcher span {
        color: var(--nav-icon-color);
    }

    button, .button {
        font-size: 0.9rem;
    }

    .work-item h3 {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
    }
}
