/* About Me Page Styles */

/* Banner Section */
.banner-wrapper {
    padding: 140px 0 80px;
    background: #0a0a0a;
}

.banner-wrapper .custom-row {
    gap: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-wrapper .custom-col-6 {
    flex: 1;
}

.banner-image {
    max-width: 100%;
}

.banner-image img{
    width: 100%;
    display: block;
}

.banner-wrapper .custom-col-6 p, .banner-wrapper .custom-col-6 h1 {
    padding-left: 90px;
}

.banner-wrapper p {
color: #FFF;
font-family: Lexend;
font-size: 16px;
font-style: normal;
font-weight: 200;
line-height: normal;
    margin-bottom: 16px;
}

.banner-wrapper h1 {
    color: #F1E9E6;
    font-family: Lexend;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* About Section with Sticky Images */
.about-wrapper {
    background: #ffffff;
    padding: 150px 0;
}

.about-wrapper h2 {
    margin-top: 120px;
    color: #231F20;
    font-family: Lexend;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-bottom: 150px;
}

/* TWO COLUMN LAYOUT */
.about-row {
    display: flex;
    gap: 80px;
    align-items: flex-start; /* Important: aligns items to top */
}

/* LEFT COLUMN - IMAGES */
.about-image-col {
    flex: 0 0 45%;
}

.about-image-cover {
    position: relative;
}

/* EACH IMAGE BOX */
.about-image-box {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    width: 480px;
    height: 480px;
    /* border: 8px solid #0a0a0a; */
    /* border-radius: 12px; */
    overflow: hidden;
    background: transparent;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); */
    margin-bottom: auto;
}

/* Remove bottom margin from last image */
.about-image-box:last-child {
    margin-bottom: 0;
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Z-INDEX STACKING - Each image on top of previous */
.about-image-box:nth-child(1) {
    z-index: 1;
    /* transform: rotate(-5deg); */
}

.about-image-box:nth-child(2) {
    z-index: 2;
    /* transform: rotate(3deg); */
}

.about-image-box:nth-child(3) {
    z-index: 3;
    /* transform: rotate(-4deg); */
}

.about-image-box:nth-child(4) {
    z-index: 4;
    /* transform: rotate(5deg); */
}

.about-image-box:nth-child(5) {
    z-index: 5;
    /* transform: rotate(-3deg); */
}

/* RIGHT COLUMN - CONTENT */
.about-image-content {
    flex: 0 0 45%;
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 250px; /* Stick at same position as images */
    align-self: flex-start; /* IMPORTANT: Aligns to top, not center */
    height: fit-content; /* Only as tall as content */
}

.about-image-content h3 {
color: #231F20;
font-family: Lexend;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-bottom: 25px;
}

.about-image-content p {
color: #231F20;
font-family: Lexend;
font-size: 16px;
font-style: normal;
font-weight: 200;
line-height: normal;
margin-bottom: 25px;
}

.about-image-content span {
color: #878787;
font-family: Lexend;
font-size: 16px;
font-style: normal;
font-weight: 200;
line-height: normal;
}

/* REVERSED LAYOUT - Content Left, Images Right */
.about-row-reverse {
    flex-direction: row-reverse; /* Flips the order */
}

/* Responsive Design */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .banner-wrapper {
        padding: 100px 0 60px;
    }

    .banner-wrapper .custom-col-6 p, 
    .banner-wrapper .custom-col-6 h1 {
        padding-left: 40px;
    }

    .banner-wrapper h1 {
        font-size: 22px;
    }

    .about-wrapper {
        padding: 80px 0;
    }

    .about-wrapper h2 {
        margin-top: 80px;
        font-size: 28px;
        margin-bottom: 100px;
    }

    .about-row {
        flex-direction: column;
        gap: 60px;
    }
    
    .about-image-col,
    .about-image-content {
        flex: 1;
        width: 100%;
    }
    
    .about-image-box {
        width: 100%;
        max-width: 500px;
        height: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 80vh;
    }

    .about-image-content {
        position: relative;
        top: 0;
        padding: 0 20px;
    }

    .about-image-content h3 {
        font-size: 22px;
    }

    .aboutBox {
        padding-block: 80px;
    }

    .aboutBox h2 {
        font-size: 22px;
        padding: 0 20px;
    }
}

.aboutBox {
    background: #fff;
    text-align: center;
    padding-block: 100px;
}

.aboutBox h2 {
    color: #231F20;
    text-align: center;
    font-family: Lexend;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.aboutBox .view-projects-btn {
    display: inline-block;
    margin-top: 25px;
}

.aboutBox h2 {
    color: #231F20;
    text-align: center;
    font-family: Lexend;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
    max-width: 750px;
    margin-inline: auto;
}

/* Mobile Styles (up to 768px) */
@media (max-width: 768px) {
    .banner-wrapper {
        padding: 80px 0 40px;
    }

    .banner-wrapper .custom-row {
        gap: 30px;
        flex-direction: column;
    }

    .banner-wrapper .custom-col-6 p, 
    .banner-wrapper .custom-col-6 h1 {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-wrapper p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .banner-wrapper h1 {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .about-wrapper {
        padding: 60px 0;
    }

    .about-wrapper h2 {
        margin-top: 40px;
        font-size: 24px;
        margin-bottom: 60px;
        padding: 0 20px;
        line-height: 1.3;
    }

    .about-row {
        gap: 40px;
    }

    .about-row.reverse {
        flex-direction: column-reverse;
    }
    
    .about-image-box {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin-bottom: 60vh;
        top: 80px;
    }

    .about-image-box:last-child {
        margin-bottom: 0;
    }
    
    .about-image-content {
        padding: 0 20px;
    }

    .about-image-content h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .about-image-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .about-image-content span {
        font-size: 14px;
    }

    .aboutBox {
        padding-block: 60px;
        padding-inline: 20px;
    }

    .aboutBox h2 {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .aboutBox .view-projects-btn {
        margin-top: 20px;
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
    .banner-wrapper {
        padding: 60px 0 30px;
    }

    .banner-wrapper .custom-row {
        gap: 20px;
    }

    .banner-wrapper p {
        font-size: 13px;
    }

    .banner-wrapper h1 {
        font-size: 18px;
    }

    .about-wrapper {
        padding: 40px 0;
    }

    .about-wrapper h2 {
        margin-top: 20px;
        font-size: 20px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .about-row {
        gap: 30px;
    }

    .about-image-box {
        max-width: 280px;
        height: 280px;
        margin-bottom: auto;
        top: 100px;
    }

    .about-image-content {
        padding: 0 15px;
    }

    .about-image-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .about-image-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .about-image-content span {
        font-size: 13px;
    }

    .aboutBox {
        padding-block: 40px;
        padding-inline: 15px;
    }

    .aboutBox h2 {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .aboutBox .view-projects-btn {
        margin-top: 16px;
        padding: 10px 24px;
        font-size: 13px;
    }
}
