:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ccff00;
    /* Acid green */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

body:hover .cursor {
    opacity: 1;
}

a:hover~.cursor,
a:hover .cursor {
    background-color: var(--text-color);
    width: 50px;
    height: 50px;
    mix-blend-mode: difference;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    mix-blend-mode: difference;
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.main-nav a {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: -1;
    opacity: 0.8;
}

.globe {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 8vw;
    line-height: 0.9;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.line-1 {
    font-weight: 300;
    letter-spacing: 5px;
}

.line-2 {
    font-weight: 600;
}

.line-3 {
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px white;
}

.hero-sub {
    margin-top: 20px;
    font-size: 14px;
    font-style: italic;
    font-family: var(--font-serif);
    opacity: 0.7;
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    font-size: 12px;
    text-transform: uppercase;
}

.socials-left a {
    margin-right: 20px;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.arrow-down {
    border: 1px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Selected Works */
.selected-works {
    padding: 100px 40px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 6vw;
    margin-bottom: 100px;
}

.section-title .sans {
    font-weight: 600;
    display: block;
}

.section-title .serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-top: -20px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.work-item {
    position: relative;
}

.item-1 {
    margin-top: 0;
}

.item-2 {
    margin-top: 150px;
}

.item-3 {
    margin-top: 50px;
}

.work-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.work-item:hover .work-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.work-info h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.marquee-container {
    position: absolute;
    left: 40px;
    top: 0;
    height: 100%;
    width: 40px;
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vh;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px 0 150px;
    min-height: 80vh;
}

.bio-text {
    font-size: 5vw;
    line-height: 1.1;
    max-width: 60%;
}

.bio-text .serif {
    font-family: var(--font-serif);
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 3px;
    margin-right: 10px;
    color: #666;
}

.about-image {
    width: 300px;
    height: 400px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Contact Section */
.contact {
    padding: 100px 40px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-header {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.contact-links a {
    margin-right: 20px;
}

.big-name {
    font-size: 15vw;
    line-height: 0.8;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.contact-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 100px;
}

.contact-cta p {
    font-size: 24px;
    text-transform: uppercase;
}

.email-btn {
    padding: 15px 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 20px;
    transition: all 0.3s ease;
}

.email-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.arrow-return {
    font-size: 40px;
}

.main-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 10px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-socials a {
    margin: 0 10px;
}

/* Education Section */
.education {
    padding: 100px 40px;
    position: relative;
}

.education-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.edu-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    transition: all 0.3s ease;
}

.edu-item:hover {
    transform: translateX(20px);
    border-bottom-color: var(--accent-color);
}

.edu-year {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 24px;
    color: var(--accent-color);
    width: 200px;
    flex-shrink: 0;
}

.edu-details h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.institution {
    font-size: 18px;
    opacity: 0.7;
    font-family: var(--font-serif);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 20px;
    }

    .status {
        display: none;
    }

    .hero-title {
        font-size: 12vw;
    }

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

    .item-2,
    .item-3 {
        margin-top: 0;
    }

    .about-content {
        flex-direction: column;
        padding: 0 20px 0 60px;
    }

    .bio-text {
        font-size: 8vw;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .big-name {
        font-size: 18vw;
    }

    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .main-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .edu-item {
        flex-direction: column;
        gap: 10px;
    }

    .edu-year {
        width: 100%;
        font-size: 20px;
    }

    .edu-details h3 {
        font-size: 24px;
    }
}

/* Project Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-color);
    border: 1px solid var(--accent-color);
    padding: 40px;
    width: 80%;
    max-width: 1000px;
    position: relative;
    border-radius: 10px;
}

.close-modal {
    color: var(--text-color);
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-color);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    /* height: 60vh; */
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    height: 50vh;
    /* Reduced height */
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Hide horizontal overflow */
    border-radius: 5px;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Allow vertical scrolling for long images */
    display: flex;
    /* Flex to center image */
    justify-content: center;
    /* Horizontally center */
    align-items: flex-start;
    /* Start from top */
}

.carousel-slide img {
    width: auto;
    max-width: 60%;
    /* Limit width to shrink image */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    object-fit: contain;
}

.project-info {
    text-align: center;
    margin-top: 20px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-color);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    border: none;
    color: var(--accent-color);
    font-size: 2rem;
    /* Adjusted size */
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Circular button */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.prev-btn {
    left: 20px;
    /* Inside container */
}

.next-btn {
    right: 20px;
    /* Inside container */
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-50%) scale(1.1);
}

/* Hide scrollbar for slides but keep functionality */
.carousel-slide::-webkit-scrollbar {
    width: 8px;
}

.carousel-slide::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-slide::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}