@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
    font-family: "Share Tech Mono", monospace;
    font-weight: 400;
    font-style: normal;
    background: #8b0000;
    color: #fff;
    margin: 0;
    min-height: 100vh;
}

/* Bouncy variables */
* {
    --bouncy1: cubic-bezier(.68,-0.55,.27,1.55);
    --bouncy2: cubic-bezier(.68, -0.8, .32, 1.8);
    --bouncy3: cubic-bezier(.7, -1.6, .3, 2.5);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --slight-bounce: cubic-bezier(0.65, -0.55, 0.2, 1);
}

/* Navbar */
#navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    background: linear-gradient(#d60000, #ff3333);
    padding: 16px;
    border-radius: 10px;
    border: 3px solid #ff4d4d;
    transition: all 0.6s var(--bouncy3);
    z-index: 20;
}

#navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(#cc0000, #e60000);
    transition: all 0.3s var(--bouncy1);
}

#navbar a:hover {
    background: linear-gradient(#e60000, #ffaaaa99);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.5);
}

/* SPA Pages */
#app {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#about div.header.content {
    padding: 26px;
    max-width: 1600px;
}

.page {
    margin-top: 90px;
    position: absolute;
    inset: 0;
    padding: 3rem;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.8s var(--bouncy1);
    gap: 1rem;
}

.page.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 10;
}

/* Headers */
.header {
    padding: 10px;
    background: linear-gradient(#d60000, #ff3333);
    border-radius: 10px;
    border: 3px solid #ff4d4d;
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.4);
    font-size: 30px;
    text-align: center;
    transition: all 0.6s var(--bouncy2);
    width: 90%;
    margin-left: 5%;
}

.header:hover {
    box-shadow: 0 0 25px rgba(255, 80, 80, 0.7);
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

footer {
    padding: 1rem 2rem;
    background: linear-gradient(#6d0000, #950000);
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-right {
    margin-right: 2rem;
}

.content {
    margin-top: 50px;
    font-size: 45px;
}
.img-cont {
    overflow: hidden;
    border-radius: 20px;
    height: min-content;
    width: min-content;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: all 0.1s var(--bouncy1);
    border: 2px solid #ff4d4d;
}

br {
    height: 200px;
}

.page {
    margin-bottom: 50px;
    overflow-y: auto;
}
.page::-webkit-scrollbar {
    display: none;
}

.logo-cont {
    position: fixed;
    margin: 2rem;
    overflow: hidden;
    border-radius: 20px;
    width: 195px;
    height: 200px;
    background: #ff4d4d;
    border: 5px solid #ff4d4d;
    box-shadow: 3px 3px 4px #6d0000;
    transition: all 0.6s var(--bouncy2);
    z-index: 1000000000;
}

.logo-cont:hover {
    box-shadow: 3px 3px 4px #ff4d4d;
    border: 5px solid #6d0000;
    transform: scale(1.1);
}

#proccess {
    margin-bottom: 100px;
}

#testimonials {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1rem;
    margin-left:0;
}

blockquote {
    font-size: 1.125rem;
    color: #fff;
}

blockquote {
    background-color: #6d0000;
    border-left: 6px solid #ff4d4d;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    border-radius: 14px;
}

blockquote footer {
    text-align: right;
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #888;
}

.photos {
    padding: 10px;
    background: linear-gradient(#d60000, #ff3333);
    border-radius: 10px;
    border: 3px solid #ff4d4d;
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.4);
    font-size: 30px;
    text-align: center;
    transition: all 0.6s var(--ease-in-out);
    width: 90%;
    margin-left: 5%;
    margin-bottom: 60px;
    overflow: hidden;
    max-height: 15000px;
}

.photos.hide {
    max-height: 130px;
}

.img-cont:hover {
    transform: scale(1.05);
    box-shadow: 10px 10px 100px rgba(255, 50, 50, 0.4);
    border: 2px solid #ff3333;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);      /* dim the page */
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--bouncy2);
}

.img-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.img-overlay img {
    max-height: 90vh;       /* image never taller than 90% of screen */
    max-width: 90vw;        /* image never wider than 90% of screen */
    width: auto;
    height: auto;
    object-fit: contain;     /* preserve aspect ratio */
    border-radius: 10px;
    transition: transform 0.4s var(--bouncy1), opacity 0.4s var(--bouncy1);
    transform-origin: center;
    z-index: 10000000;
}

.img-overlay::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: 0;
    left: 50%;
    top: 0;
}
.img-overlay::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background: 0;
    top: 50%;
    left: 0;
}


.blur-background *:not(#img-overlay):not(#img-overlay *) {
    filter: blur(5px);
    transition: filter 0.3s;
}

.mobile-overlay {
    opacity: 0;
    display: none;
    height: 0;
}

/* ===== Mobile styles ===== */
@media (max-width: 600px) {
    .mobile-overlay {
        height: 100px;
        display: initial;
        opacity: 1;
        z-index: 10000;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: #ff4d4d;
        font-size: 50px;
    }

    /* Navbar */
    #navbar {
        flex-direction: column;
        gap: 10px;
        top: 10px;
        padding: 12px;
    }

    #navbar a {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Headers */
    .header {
        font-size: 20px;
        width: 95%;
        margin-left: 2.5%;
        padding: 8px;
    }

    /* Content */
    .content {
        font-size: 28px;
        margin-top: 30px;
        padding: 0 10px;
        text-align: center;
    }

    /* Pages */
    .page {
        padding: 1.5rem;
        margin-top: 70px;
    }

    /* Footer */
    footer {
        flex-direction: column;
        padding: 0.8rem;
        font-size: 14px;
        text-align: center;
        gap: 0.5rem;
    }
    .footer-right {
        margin-right: 0;
    }

    /* Images */
    .images {
        gap: 1rem;
    }
    .img-cont {
        width: 90%;
        height: auto;
        margin: 1rem auto;
    }

    /* Photos section */
    .photos {
        font-size: 20px;
        width: 95%;
        margin-left: 2.5%;
        padding: 8px;
    }

    /* Logo */
    .logo-cont {
        bottom: 0;
        right: 0;
        width: 120px;
        height: 130px;
        margin: 1rem;
    }

    .logo-cont img {
        max-width: 120px;
        height: 130px;
        object-fit: contain;
    }

    /* Testimonials / Blockquotes */
    blockquote {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    blockquote footer {
        font-size: 0.8rem;
    }

    /* SPA app height */
    #app {
        height: auto;
        padding-bottom: 50px; /* prevent footer overlap */
    }
}
