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

body, html {
    height: 100%;
    /* overflow: hidden; removed to allow footer access if screen is small */
    font-family: Arial, sans-serif;
}

.wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: flex-end; /* Align links right for better balance */
    align-items: center;
    padding: 30px 5%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #E32619;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Left Pane Styling --- */
.left-pane {
    flex: 1.2;
    background-color: #FDF18C; /* Yellow */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10% 5%; /* Adjusted padding */
}

.main-name {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #E32619;
    line-height: 0.85;
    margin-bottom: 20px;
}

.sub-headline {
    font-weight: bold;
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    letter-spacing: 1px;
    margin-bottom: clamp(2rem, 5vh, 4rem);
    color: #333;
}

.cta-button {
    display: inline-block;
    background-color: #FFB6C1; /* Pink */
    color: #E32619;
    padding: 18px 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: 0.3s ease;
}

.cta-button:hover {
    background-color: #f8a5b2;
    transform: translateY(-2px);
}

/* --- Right Pane Styling --- */
.right-pane {
    flex: 1;
    background-color: #FFFAEC; /* Added a complementary warm white background */
    display: flex;
    flex-direction: column;
    align-items: center;    /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    padding: 40px;
    position: relative;
}

/* New CSS to blend the Portrait */
.profile-img {
    max-width: 80%;       /* Portrait won't exceed 80% of pane width */
    max-height: 60vh;      /* Portrait won't exceed 60% of viewport height */
    width: auto;
    height: auto;
    border-radius: 50%;    /* Blends by making the portrait a perfect circle */
    object-fit: cover;     /* Crops neatly within the circle */
    border: 15px solid white; /* Frame effect */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Soft shadow for depth */
    margin-bottom: 40px;
}

.script-text {
    font-family: 'Great Vibes', cursive;
    color: #333; /* Darker color for contrast on light background */
    font-size: clamp(2rem, 4vw, 3rem);
    transform: rotate(-5deg); /* Subtle tilt */
    margin-top: 20px;
}

/* --- Footer Styling --- */
.site-footer {
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333; /* Dark footer background */
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.social-links a:hover {
    border-bottom: 1px solid white;
}

/* Mobile View: Stack them vertically */
@media (max-width: 800px) {
    .wrapper {
        flex-direction: column;
        height: auto;
    }
    
    .left-pane, .right-pane {
        flex: none;
        width: 100%;
        height: 100vh;
        padding: 80px 20px 20px; /* Space for absolute nav */
    }

    .right-pane {
        order: -1; /* Image appears first on mobile */
    }

    .navbar {
        justify-content: center;
        padding: 20px;
    }

    .main-name { font-size: 3.5rem; }

    .site-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}