/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #000000;
    color: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    /* Slightly larger for better readability of text inside */
    height: 20px;
    background-color: #ffffff;
    /* White cursor + Difference mode = Black on White */
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    /* The magic sauce */
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    /* Removed bg-color transition */
    will-change: transform;
    opacity: 0;
    /* Hidden by default */
}

.custom-cursor.cursor-hover {
    width: 40px;
    /* Expand more to cover text */
    height: 40px;
    /* Background remains white/difference */
}

/* Hero Section (Black Top) */
.hero-section {
    background-color: #000000;
    width: 100%;
    height: 60vh;
    /* Adjust based on preference, 60% of viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Profile Image */
.profile-image {
    width: 280px;
    /* Slightly larger for the hero section */
    height: 280px;
    object-fit: cover;
    border-radius: 40px;
    /* Squircle */
    filter: grayscale(100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Content Section (White Bottom) */
.content-section {
    background-color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4rem 10%;
    /* Horizontal padding for breathing room */
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
.intro-text {
    text-align: left;
}

h1 {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333;
}

p {
    /* Default paragraph styles */
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-direction: column;
    /* Stacked vertically on desktop */
    gap: 1.5rem;
    text-align: right;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-size: 1.1rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
    position: relative;
    display: inline-block;
    /* Required for ::after positioning */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    right: 0;
    /* Start from right since text aligns right */
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    /* Keep full opacity when hovering */
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    /* Animate to left */
    right: auto;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 4rem;
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Enforce no cursor on interactive elements */
a,
button,
input,
textarea {
    cursor: none !important;
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        border-radius: 30px;
    }

    .content-section {
        padding: 3rem 1.5rem;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .intro-text {
        text-align: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1rem;
    }

    .nav-links {
        text-align: center;
        gap: 1.5rem;
    }

    /* Hide custom cursor on mobile */
    .custom-cursor {
        display: none !important;
    }

    /* Restore default cursor on mobile */
    body,
    a,
    button,
    input,
    textarea {
        cursor: auto !important;
    }
}