/* Import Geist Mono Font */
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect x='14' y='14' width='4' height='4' fill='%23000'/%3E%3Crect x='5' y='5' width='3' height='8' fill='%23000'/%3E%3Crect x='5' y='5' width='8' height='3' fill='%23000'/%3E%3Crect x='24' y='5' width='3' height='8' fill='%23000'/%3E%3Crect x='19' y='5' width='8' height='3' fill='%23000'/%3E%3Crect x='24' y='19' width='3' height='8' fill='%23000'/%3E%3Crect x='19' y='24' width='8' height='3' fill='%23000'/%3E%3Crect x='5' y='19' width='3' height='8' fill='%23000'/%3E%3Crect x='5' y='24' width='8' height='3' fill='%23000'/%3E%3C/svg%3E") 16 16, auto;
}

/* Typing Animation */
@keyframes typing {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.typing-char {
    display: inline-block;
    animation: typing 0.2s ease-in forwards;
    opacity: 0;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: #fffefc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    gap: 30px;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    max-width: 70%;
}

.preloader-quote,
#preloader-quote {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.8px;
    line-height: 1.8;
}

.preloader-progress,
#preloader-percent {
    position: absolute;
    right: 50px;
    bottom: 40px;
    font-size: 16px;
    letter-spacing: -0.8px;
}

.preloader-char {
    display: inline-block;
    opacity: 0;
    animation: typing 0.15s ease forwards;
}

.preloader-active {
    overflow: hidden;
}

body {
    background-color: #fffefc;
    color: #000000;
    font-family: 'Geist Mono', monospace;
    font-weight: 500;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 40px 50px 0 50px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 16px;
    letter-spacing: -1px;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.header-left {
    font-weight: 500;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-left:hover {
    opacity: 0.6;
}

.header-right {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: -0.8px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin: 0;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 120px);
}

.quote {
    text-align: center;
    font-size: 18px;
    letter-spacing: -0.8px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 120px;
    margin-bottom: auto;
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    align-self: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: visible;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 0;
}

/* Image Overlay Text */
.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -3px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}



/* Footer Overlay - Full Width */
.footer-overlay {
    position: absolute;
    bottom: 0;
    left: -50px;
    right: -50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 50px 0 50px;
    font-size: 16px;
    letter-spacing: -0.8px;
    z-index: 10;
    pointer-events: none;
    margin-bottom: 40px !important;
}

.footer-link {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: -0.8px;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-link-left {
    justify-self: start;
    color: #000000;
}

.footer-link-center {
    justify-self: center;
    color: #ffffff;
}

.footer-link-right {
    justify-self: end;
    color: #000000;
}

/* About Page Styles */
.about-content {
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 100px;
    min-height: calc(100vh - 180px);
}

.about-text {
    max-width: 800px;
    width: 100%;
    padding: 0 50px;
    text-align: left;
    flex: 1;
}

.about-text p {
    font-size: 16px;
    text-transform: uppercase;
    line-height: 1.8;
    letter-spacing: -0.8px;
    margin-bottom: 30px;
    color: #000000;
    font-weight: 500;
    text-transform: uppercase;
}

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

/* Footer positioning for about page */
.about-content .footer-overlay {
    position: absolute;
    bottom: 0;
    margin-bottom: 40px !important;
}

/* Footer positioning for home page - same as about page */
.main-content:not(.about-content) .footer-overlay {
    position: absolute;
    bottom: 0;
    margin-bottom: 40px !important;
}

/* Small image below paragraph in about page */
.about-small-image {
    width: 230px;
    height: 55px;
    object-fit: cover;
    display: block;
    margin: 50px auto 0 auto;
    margin-top: 100px;
}

/* Footer link colors for about page (no dark image background) */
.about-content .footer-link-center {
    color: #000000;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    body {
        padding: 30px 40px 0 40px;
    }
    
    .header {
        margin-bottom: 30px;
    }
    
    .header-left {
        font-size: 15px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .quote {
        font-size: 16px;
        margin-top: 80px;
    }
    
    .main-content {
        gap: 40px;
        min-height: calc(100vh - 120px);
        justify-content: space-between;
        padding-bottom: 0;
    }
    
    .quote {
        margin-bottom: auto;
    }
    
    .image-container {
        max-width: 500px;
        margin-top: auto;
        margin-bottom: 0;
        align-self: center;
    }
    
    .about-content {
        padding-top: 60px;
        padding-bottom: 90px;
    }
    
    .about-text {
        max-width: 700px;
        padding: 0 40px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .footer-overlay {
        position: absolute;
        bottom: 0;
        left: -40px;
        right: -40px;
        padding: 20px 40px 0 40px;
        font-size: 15px;
        margin-bottom: 40px !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding: 20px 15px 0 15px;
        overflow-y: auto;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    
    .header-left {
        font-size: 14px;
    }
    
    .header-right {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 14px;
        letter-spacing: -0.8px;
    }
    
    .main-content {
        gap: 30px;
        margin: 0;
        min-height: calc(100vh - 120px);
        padding-bottom: 0;
        justify-content: space-between;
    }
    
    .quote {
        font-size: 13px;
        letter-spacing: -0.8px;
        margin-top: 40px;
        margin-bottom: auto;
        padding: 0 10px;
        text-align: center;
    }
    
    .image-container {
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 0;
        align-self: center;
        padding: 0 10px;
    }
    
    .image-wrapper {
        max-width: 100%;
    }
    
    .profile-image {
        width: 100%;
        max-width: 100%;
    }
    
    .image-overlay {
        font-size: 11px;
        letter-spacing: -0.8px;
        padding: 0 10px;
    }
    
    .about-content {
        padding-top: 30px;
        padding-bottom: 100px;
        min-height: auto;
        justify-content: flex-start;
    }
    
    .about-text {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 25px;
        letter-spacing: -0.8px;
    }
    
    .about-small-image {
        width: 180px;
        height: 45px;
        margin: 30px auto 0 auto;
    }
    
    .footer-overlay {
        position: absolute;
        bottom: 0;
        left: -15px;
        right: -15px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 10px;
        padding: 20px 15px 0 15px;
        font-size: 12px;
        margin-bottom: 30px !important;
    }
    
    .footer-link {
        font-size: 12px;
        letter-spacing: -0.8px;
    }
    
    .footer-link:nth-child(2) {
        margin: 0;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    body {
        padding: 15px 10px 0 10px;
    }
    
    .header {
        margin-bottom: 20px;
        gap: 12px;
    }
    
    .header-left {
        font-size: 13px;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .quote {
        font-size: 11px;
        margin-top: 30px;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    .main-content {
        gap: 25px;
        padding-bottom: 0;
        min-height: calc(100vh - 100px);
        justify-content: space-between;
    }
    
    .quote {
        margin-bottom: auto;
    }
    
    .image-container {
        max-width: 100%;
        margin-top: auto;
        margin-bottom: 0;
        align-self: center;
        padding: 0 5px;
    }
    
    .image-overlay {
        font-size: 10px;
        line-height: 1.6;
    }
    
    .about-content {
        padding-top: 20px;
        padding-bottom: 90px;
    }
    
    .about-text {
        padding: 0 10px;
    }
    
    .about-text p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .about-small-image {
        width: 150px;
        height: 38px;
        margin: 25px auto 0 auto;
    }
    
    .footer-overlay {
        position: absolute;
        bottom: 0;
        left: -10px;
        right: -10px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 5px;
        padding: 20px 10px 0 10px;
        font-size: 11px;
        margin-bottom: 25px !important;
    }
    
    .footer-link {
        font-size: 11px;
    }
}

