/* Raw, sharp, typewriter aesthetic */
body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background-color: #000000;
    min-height: 100vh;
    overflow: hidden;
    font-weight: 400;
}

html {
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.7rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #000000;
    border-bottom: 1px solid #ffffff;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #00ff00;
}

.nav a.active {
    color: #00ff00;
    text-shadow: 0 0 8px #00ff00;
}

.name-section {
    text-align: left;
}

.name-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.name-link:hover {
    opacity: 0.8;
}

.name {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
    font-family: 'Reenie Beanie', cursive;
    font-weight: normal;
    letter-spacing: 2px;
    display: inline-block;
}

.cursor {
    display: inline-block;
    color: #00ff00;
    font-size: 2.5rem;
    font-weight: normal;
    font-family: 'JetBrains Mono', monospace;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.main-content {
    margin-top: 85px;
    min-height: calc(100vh - 85px);
    position: relative;
}

.horizontal-line {
    position: fixed;
    top: 85px;
    left: 1.2rem;
    right: 1.2rem;
    height: 1px;
    background-color: #ffffff;
    z-index: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: calc(100vh - 105px);
    gap: 0;
    margin-top: 1.7rem;
    position: relative;
}

.vertical-line {
    position: absolute;
    top: 0;
    left: 33.333%;
    width: 1px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1;
}

.left-section {
    padding: 1.7rem 1.7rem 3.5rem 1.7rem;
    overflow-y: auto;
    height: calc(100vh - 105px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.left-section::-webkit-scrollbar {
    display: none;
}

.right-section {
    padding: 1.2rem 1.7rem 0.8rem 1.7rem;
    overflow-y: auto;
    height: calc(100vh - 105px);
    scrollbar-width: thin;
    -ms-overflow-style: auto;
    box-sizing: border-box;
}

.right-section::-webkit-scrollbar {
    width: 6px;
}

.right-section::-webkit-scrollbar-track {
    background: transparent;
}

.right-section::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 3px;
}

.right-section::-webkit-scrollbar-thumb:hover {
    background: #cccccc;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    min-height: 0;
}

.project-image {
    flex-shrink: 0;
    margin-top: 0.85rem;
}

.project-image a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.project-image a:hover {
    opacity: 0.9;
}

.project-screenshot {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #ffffff;
    padding: 0.4rem;
    box-sizing: border-box;
}

.project-screenshot video {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border: none;
    padding: 0;
    display: block;
}

.project-pdf {
    width: 100%;
    margin-bottom: 1.7rem;
}

.project-pdf iframe {
    width: 100%;
    height: 425px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    display: block;
}

/* Carousel Styles */
.project-carousel {
    width: 100%;
    margin-bottom: 1.7rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 425px;
    border: 1px solid #ffffff;
    background-color: #000000;
    overflow: hidden;
    cursor: pointer;
}

.carousel-images-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: opacity 0.3s ease;
}

.carousel-image {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.carousel-image.single-page {
    width: 50%;
    max-width: 50%;
}

.carousel-image.left-page,
.carousel-image.right-page {
    width: 50%;
    max-width: 50%;
    flex: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 10;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: #00ff00;
    color: #000000;
    border-color: #00ff00;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid #ffffff;
    z-index: 10;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666666;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #ffffff;
}

.carousel-dot:hover {
    background-color: #999999;
    transform: scale(1.2);
}

.carousel-dot.active {
    background-color: #00ff00;
    box-shadow: 0 0 4px rgba(0, 255, 0, 0.5);
}

.project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 0;
    overflow-y: auto;
}

.project-title {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
}

.project-title.active {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.project-subtitle {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

.project-description p {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0 0 0.85rem 0;
    font-weight: 300;
    font-family: 'JetBrains Mono', monospace;
    text-align: justify;
}

.project-description p:last-child {
    margin-bottom: 0;
}

.tech-stack h4 {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 0 0.85rem 0;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 400;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-links {
    display: flex;
    gap: 1.7rem;
    margin-top: auto;
    padding-top: 0.4rem;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background-color: #000000;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.project-link:hover {
    color: #00ff00;
    border-bottom-color: transparent;
}

.project-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #00ff00;
}

/* Content styling - raw and sharp */
.bio-section {
    margin-bottom: 2.5rem;
}

.inspiration {
    margin-top: 0.85rem;
    margin-bottom: 0em;
    padding: 0.85rem 0 1.7rem 0;
    opacity: 0.6;
    text-align: justify;
}

.inspiration .social-link {
    font-size: 0.7rem;
}

.bio-text {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-weight: 400;
    text-align: justify;
}

.education {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 300;
    text-align: justify;
}

.education em {
    font-style: italic;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1.7rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.social-link:hover {
    color: #00ff00;
    border-bottom-color: transparent;
}

.social-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #00ff00;
}

.work-section {
    margin-bottom: 0.85rem;
}

.work-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.7rem;
    letter-spacing: 0.1em;
    position: relative;
}

.work-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin-top: 1.7rem;
}

.work-item {
    margin-bottom: 1.7rem;
    padding: 1.2rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    transition: opacity 0.3s ease;
}

.work-item.active {
    opacity: 1;
}

.work-item:not(.active) {
    opacity: 0.7;
}

.work-item:hover {
    opacity: 1;
}

.work-item::after {
    content: "--------------------------------------------------------------------------------";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.6;
    overflow: hidden;
    white-space: nowrap;
}

.work-item:last-child::after {
    display: block;
}

.work-item-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 0.7rem 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.work-item.active .work-item-title {
    color: #00ff00;
    text-shadow: 0 0 8px #00ff00;
}

.work-description {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    opacity: 0.8;
    text-align: justify;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body {
        overflow: visible;
        padding-top: 100px;
    }

    html {
        overflow: visible;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        padding: 1rem;
        gap: 1rem;
        background-color: #000000;
        width: 100%;
        z-index: 100;
        border-bottom: 1px solid #ffffff;
        box-sizing: border-box;
    }

    .name-section {
        text-align: left;
        flex-shrink: 0;
    }

    .nav {
        justify-content: flex-end;
        gap: 1rem;
        flex: 1;
        min-width: 0;
    }

    .nav a {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .name {
        font-size: 1.8rem;
    }

    .cursor {
        font-size: 1.8rem;
    }

    .main-content {
        margin-top: 0;
    }

    .horizontal-line,
    .vertical-line {
        display: none;
    }

    .content-grid {
        display: block;
        height: auto;
        margin-top: 0;
    }

    .left-section, .right-section {
        padding: 1rem;
        max-height: none;
        overflow-y: visible;
    }

    .left-section {
        margin-bottom: 2rem;
    }

    .right-section {
        display: none;
    }

    .social-links {
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .social-link {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .bio-text {
        text-align: left;
    }

    .education {
        text-align: left;
    }

    .work-item {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .work-item.active,
    .work-item:hover {
        opacity: 1;
    }

    .work-item.expanded {
        margin-bottom: 3rem;
    }

    .work-item-details {
        margin-top: 0;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease, opacity 0.4s ease;
    }

    .work-item.expanded .work-item-details {
        max-height: 2000px;
        padding: 1.5rem;
        margin-top: 1.5rem;
        opacity: 1;
    }

    .work-item.expanded .work-description {
        display: none;
    }

    .work-item-image {
        margin-bottom: 1rem;
    }

    .work-item-image img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: contain;
        border: 1px solid #ffffff;
        padding: 0.25rem;
        box-sizing: border-box;
    }

    .work-item-image video {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
        border: 1px solid #ffffff;
        padding: 0.25rem;
        box-sizing: border-box;
        display: block;
    }

    .work-item-pdf {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .work-item-pdf iframe {
        width: 100%;
        height: 300px;
        border: none;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
        display: block;
    }

    .work-item-info h4 {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        font-family: 'JetBrains Mono', monospace;
        letter-spacing: 0.02em;
    }

    .work-item-info p {
        color: #ffffff;
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0 0 1rem 0;
        font-weight: 300;
        font-family: 'JetBrains Mono', monospace;
        text-align: justify;
    }

    /* Mobile Carousel Styles */
    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        opacity: 1;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .carousel-counter {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .carousel-dots {
        gap: 0.4rem;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
    }

    .work-item-tech {
        margin-bottom: 1rem;
    }

    .work-item-tech h5 {
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        font-family: 'JetBrains Mono', monospace;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .work-item-links {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .work-item-link {
        color: #ffffff;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 400;
        font-family: 'JetBrains Mono', monospace;
        letter-spacing: 0.05em;
        border-bottom: 1px solid #ffffff;
        padding-bottom: 2px;
        transition: color 0.2s ease, border-color 0.2s ease;
        position: relative;
    }

    .work-item-link:hover {
        color: #00ff00;
        border-bottom-color: transparent;
    }

    .work-item-link:hover::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #00ff00;
    }

    .work-title {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .right-section {
        padding: 1rem;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 2rem;
    }

    .project-details {
        gap: 1.5rem;
    }

    .project-screenshot {
        max-height: 200px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .project-description p {
        font-size: 0.9rem;
    }

    .tech-stack h4 {
        font-size: 0.8rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .project-links {
        gap: 1.5rem;
    }

    .project-link {
        font-size: 0.8rem;
    }
}

/* Full-screen Gallery Styles */
.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 50;
    overflow-y: auto;
    padding-top: 85px; /* Account for header */
    box-sizing: border-box;
}

.gallery-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
}

.gallery-title {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.gallery-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

.gallery-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    column-count: 4;
    column-gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ffffff;
    background-color: #000000;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-item:hover {
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Gallery loading animation */
.gallery-item.loading {
    background-color: #111111;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Gallery modal/lightbox */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal img,
.gallery-modal video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid #ffffff;
    padding: 0.5rem;
    background-color: #000000;
}

.gallery-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    transition: color 0.2s ease;
}

.gallery-modal-close:hover {
    color: #00ff00;
}

.gallery-modal-info {
    margin-top: 1rem;
    text-align: center;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive full-screen gallery */
@media (max-width: 768px) {
    .gallery-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 0.9rem;
    }
    
    .gallery-container {
        padding: 1rem;
    }
    
    .gallery-grid {
        column-count: 2;
    }
    
    .gallery-modal {
        padding: 1rem;
    }
    
    .gallery-modal img,
    .gallery-modal video {
        max-height: 70vh;
    }
    
    .gallery-modal-close {
        top: -2rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-header {
        padding: 0.75rem;
    }
    
    .gallery-title {
        font-size: 1.5rem;
    }
    
    .gallery-subtitle {
        font-size: 0.8rem;
    }
    
    .gallery-container {
        padding: 0.75rem;
    }
    
    .gallery-grid {
        column-count: 1;
    }
}

/* About Page Styles */
.about-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 50;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 85px;
    box-sizing: border-box;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.about-photo {
    flex-shrink: 0;
    position: relative;
}

.profile-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #ffffff;
    padding: 0.4rem;
    background-color: #000000;
    transition: all 0.3s ease;
    position: relative;
}

.profile-photo:hover {
    transform: scale(1.02);
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.photo-dot {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 4px rgba(0, 255, 0, 0.5);
}

.about-photo:hover .photo-dot {
    opacity: 1;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-text p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.2rem 0;
    font-weight: 300;
    font-family: 'JetBrains Mono', monospace;
    text-align: left;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .about-text {
        max-width: 100%;
        text-align: center;
    }
    
    .about-text p {
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 1.5rem 0.75rem;
        gap: 1.5rem;
    }
    
    .profile-photo {
        width: 180px;
        height: 180px;
    }
    
    .about-text p {
        font-size: 0.85rem;
    }
}

/* Large screens - restore original sizes for 1680x1050+ */
@media (min-width: 1600px) {
    header {
        padding: 1.5rem 2rem;
    }

    .nav {
        gap: 3rem;
    }

    .nav a {
        font-size: 1rem;
    }

    .name {
        font-size: 3rem;
    }

    .cursor {
        font-size: 3rem;
    }

    .main-content {
        margin-top: 100px;
        min-height: calc(100vh - 100px);
    }

    .horizontal-line {
        top: 100px;
        left: 1.5rem;
        right: 1.5rem;
    }

    .content-grid {
        height: calc(100vh - 120px);
        margin-top: 2rem;
    }

    .left-section {
        padding: 2rem 2rem 4rem 2rem;
        height: calc(100vh - 121px);
    }

    .right-section {
        padding: 1.5rem 2rem 1rem 2rem;
        height: calc(100vh - 121px);
    }

    .bio-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .education {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .social-link {
        font-size: 0.9rem;
    }

    .inspiration {
        margin-top: 1rem;
        padding: 1rem 0 2rem 0;
    }

    .inspiration .social-link {
        font-size: 0.8rem;
    }

    .bio-section {
        margin-bottom: 3rem;
    }

    .work-section {
        margin-bottom: 1rem;
    }

    .work-title {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .work-title::after {
        margin-top: 2rem;
    }

    .work-item {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }

    .work-item-title {
        font-size: 1rem;
        margin: 0 0 0.8rem 0;
    }

    .work-description {
        font-size: 0.85rem;
    }

    .project-details {
        gap: 1rem;
    }

    .project-image {
        margin-top: 1rem;
    }

    .project-screenshot {
        height: 400px;
        padding: 0.5rem;
    }

    .project-screenshot video {
        height: 400px;
    }

    .project-pdf {
        margin-bottom: 2rem;
    }

    .project-pdf iframe {
        height: 500px;
    }

    .carousel-container {
        height: 500px;
    }

    .carousel-btn {
        opacity: 1;
    }

    .project-info {
        gap: 0.8rem;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

    .project-description p {
        font-size: 0.95rem;
        margin: 0 0 1rem 0;
    }

    .tech-stack h4 {
        font-size: 0.9rem;
        margin: 0 0 1rem 0;
    }

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tag {
        padding: 0.25rem 0.75rem;
        font-size: 0.75rem;
    }

    .project-links {
        gap: 2rem;
        padding-top: 0.5rem;
    }

    .project-link {
        font-size: 0.9rem;
    }

    .about-page {
        padding-top: 100px;
    }

    .profile-photo {
        width: 300px;
        height: 300px;
        padding: 0.5rem;
    }

    .about-text p {
        font-size: 1.1rem;
        margin: 0 0 1.5rem 0;
    }

    .fullscreen-gallery {
        padding-top: 100px;
    }
}