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

html {
    scroll-behavior: smooth;
}

body {
    
    background-color: black;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white;
    background-image: url('background/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sections {
    display: flex;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

/*temp*/
section {
    min-width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
}

@media (max-width: 768px) {

    .sections {
        display: block; /* remove flex completely */
        height: auto;
        overflow: visible;
    }

    section {
        min-width: 100%;
        height: auto;
        padding: 100px 20px;
    }

}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
}

.menu-button {
    position: absolute;
    left: 20px;

    font-size: 25px;
    cursor: pointer;
    opacity: 0.8;
}

.menu-button:hover {
    opacity: 1;
}

.title {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;

    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    align-items: center;
    padding-left: 30px;

    transition: left 0.3s ease;
    z-index: 999;
}

.side-menu a {
    text-decoration: none;
    color: white;
    opacity: 0.85;
}

.side-menu a:hover {
    opacity: 1;
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
}

.side-menu li {
    font-size: 13px;
    font-weight: 300;
    margin: 18px 0;
    opacity: 0.85;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.side-menu li:hover {
    opacity: 1;
}

.about {
    position: relative;
    height: 100%;
}

.about-inner {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 50px;
}

.about-left, .about-right {
    flex: 1;
}

/* add about left */

.about-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name {
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 10px;
    align-self: center;
}

.title-text {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom: 10px;
    align-self: center;
}

.divider {
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    align-self: center;
}

.about-left .description {
    align-self: center;
    /*max-width:none; makes stretch*/
    width: 100%;
}

.description {
    font-size: 11px;
    font-weight: 200;
    opacity: 0.7;
    max-width: 350px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.signature {
    width: 200px;
    opacity: 0.9;
    margin-top: -5px; /*overlap description content*/
    margin-left: 80px;
    margin-bottom: 15px;
}

.contact-btn {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 48px;
    font-size: 10px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 5px;
    justify-content: center;
    align-self: center;
    z-index: 2;
    text-decoration: none;
    color: white;
}

.about-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.about-right::before {
    content: "";
    position: absolute;
    left: 0; /* might need to change to right*/
    bottom: 0;

    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.12),
        rgba(0, 0, 0,) 70%
    );

    filter: blur(60px);
    z-index: 0;
}

.about-image {
    max-height: 85vh;
    width: auto;
    z-index: 1;

    position: absolute;
    bottom: 0;

    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.next-arrow {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 35px;
    font-weight: 200;
    opacity: 0.6;

    cursor: pointer;
    transition: all 0.25s ease;

    z-index: 2;
}

.next-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.prev-arrow {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 35px;
    font-weight: 200;
    opacity: 0.6;

    cursor: pointer;
    transition: all 0.25s ease;

    z-index: 2;
}

.prev-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-size: 12px;
    font-weight: 300;

    z-index: 1000;
}

.footer-left a {
    margin-right: 14px;
    color: white;
    font-size: 14px;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.footer-left a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.footer-right {
    opacity: 0.6;
}

.background {
    position: relative;
    height: 100%;
}

.background-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.background-left, .background-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.background-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.top-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.top-buttons i {
    font-size: 14px;
}

.background-btn {
    text-decoration: none;
    color: white;

    flex: 1;
    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 300;
    cursor: pointer;

    transition: all 0.2s ease;
}

.background-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.background-left .description {
    width: 100%;
    max-width: none;
}

.skills {
    width: 100%;
    max-width: none;
}

.skill {
    margin-bottom: 15px;
}

.skill-label {
    font-size: 11px;
    font-weight: 300;
    margin-bottom: 6px;
    opacity: 0.8;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.skill-fill {
    height: 100%;
    background: white;
}

/* works */

.works {
    position: relative;
    height: 100%;
}

.works-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.works-top {
    max-width: 1000px;
    margin-bottom: 100px;
}

.works-text {
    font-size: 11px;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.works-top .divider {
    margin-bottom: 15px;
}

.works-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 48px;
    font-size: 10px;
    font-weight: 300;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
}

.works-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.work-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.work-item img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.work-item img:hover {
    transform: translateY(-8px);
    opacity: 0.3;
}

.work-title {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
}

.work-desc {
    font-size: 11px;
    font-weight: 300;
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.5;
}

.expertise {
    position: relative;
    height: 100%;
}

.services-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 60px;
    max-width: 800px;
    width: 100%;
}

.service-title {
    margin-bottom: 15px;
    font-size: 13px;
}

.service-item .divider {
    justify-self: center;
}

.service-item {
    text-align: center;
}

.service-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
}

.service-desc {
    font-size: 11px;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.5;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255, 255, 255, 0.8);
}

.contact {
    position: relative;
    height: 100%;
}

.contact-inner {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 80px;
}

.contact-left, .contact-right {
    flex: 1;
}

.contact-left {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.contact-left::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;

    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.12),
        rgba(0, 0, 0,) 70%
    );

    filter: blur(60px);
    z-index: 0;
}

.contact-image {
    max-height: 90vh;
    width: auto;
    z-index: 1;

    position: absolute;
    bottom: 0;

    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;

    margin-bottom: 10px;

    text-decoration: none;
    color: white;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.8);
}

a.contact-item:hover {
    opacity: 0.7;
    cursor: pointer;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.download-cv, .contact-email {
    display: block;
    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 24px;

    font-size: 10px;
    font-weight: 300;

    text-decoration: none;
    color: white;

    transition: all 0.2s ease;
}

.download-cv:hover, .contact-email:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* responsive design */
@media (max-width: 768px) {

    .about-inner {
        flex-direction: column-reverse;
    }

}

@media (max-width: 768px) {

    section {
        min-width: 100%;
        height: auto;
        padding: 100px 20px;
    }

    .next-arrow,
    .prev-arrow {
        display: none;
    }

}

@media (max-width: 768px) {

    .background-inner,
    .contact-inner {
        flex-direction: column;
        gap: 40px;
    }

}

@media (max-width: 768px) {

    .about-image,
    .contact-image {
        position: relative;
        max-height: 400px;
        width: auto;
    }

}

@media (max-width: 768px) {

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

}

@media (max-width: 768px) {

    .background-right {
        width: 100%;
    }

    .skills {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    section {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding-bottom: 100px;
    }

}

@media (max-width: 768px) {

    .about-inner,
    .background-inner,
    .works-inner,
    .services-inner,
    .contact-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* after reviewing mobile view */
@media (max-width: 768px) {

    .name {
        font-size: 40px;
    }

    .signature {
        justify-self: center;
    }

    .service-desc {
        font-size: 8px;
    }

    .service-item .divider {
        justify-self: center;
    }

}


