/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* A clean, modern sans-serif font stack */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f7f8;
    color: #111;
    line-height: 1.6;
}

/* 1. Fixed Top Menu */
.top-menu {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px); /* Gives it that modern, frosted glass look */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.menu-icons {
    display: flex;
    gap: 2.5rem;
}

.menu-icons a {
    color: #888;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu-icons a:hover {
    color: #111;
    transform: translateY(-2px);
}

/* Layout Wrapper */
.main-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 100px; /* Crucial: offsets the top to account for our fixed 60px menu + 40px banner */
}

/* 2. Fixed Left Section */
.left-section {
    width: 40%;
    height: calc(100vh - 100px); /* Fill the screen minus the top menu */
    position: sticky;
    top: 100px; /* Stick to the bottom of the top menu */
    padding: 5rem 3rem 2rem 1rem;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.profile-info h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.profile-info h2 {
    font-size: 1.25rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: #555;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #111;
}

/* 3. Scrollable Right Section */
.right-section {
    width: 60%;
    padding: 5rem 1rem 5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Creates space between our project cards */
}

.project-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* Right Area Sections */
.right-section section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Ensures the fixed menu doesn't cover the title when clicking navigation links */
    scroll-margin-top: 120px; 
}

.right-section section h2 {
    font-size: 1.8rem;
    color: #111;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #111;
}

.contact-form button {
    padding: 0.8rem 1.5rem;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Construction Banner */
.construction-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #f5a623; /* A nice construction orange/yellow */
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness (Stacks into a single column) */
@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
        padding: 100px 1.5rem 0;
    }
    
    .left-section {
        width: 100%;
        height: auto;
        position: relative; /* Turns off sticky behavior for small screens */
        top: 0;
        padding: 3rem 0;
    }

    .right-section {
        width: 100%;
        padding: 0 0 3rem 0;
    }
}