/* ======= GENERAL ======= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(to bottom, #b9ecf5, #9fd8e8);
    color: #234;
    line-height: 1.6;
    animation: moveUp 0.8s ease-out;
}

/* ======= HEADER ======= */
header{
    background: #7ecfe4;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #ff8b8b;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

header h1{
    color: white;
    font-size: 32px;
    font-style: italic;
    letter-spacing: 4px;
    text-shadow: 3px 3px #ff8b8b;
}

/* ======= NAVIGATION ======= */
.navigation ul{
    display: flex;
    list-style: none;
    gap: 15px;
}

.navigation a{
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    transition: .3s;
}

.navigation a:hover{
    background: #ff7f00;
    color: white;
    transform: translateY(-3px);
}

/* ======= LANDING PAGE BUTTON ======= */
.landing-btn-container{
    width: 95%;
    max-width: 1400px;
    margin: 20px auto 0;
    display: flex;
    justify-content: flex-end;
}

.landing-btn{
    text-decoration: none;
    padding: 12px 28px;
    background: #7ecfe4;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,.15);
    transition: .3s ease;
}

.landing-btn:hover{
    background: #ff7f00;
    transform: translateY(-3px);
}

/* ======= SECTIONS ======= */
section{
    width: 95%;
    max-width: 1400px;
    margin: 50px auto;
    padding: 60px;
    background: rgba(255,255,255,.45);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    text-align: center;
}

section h1,
section h2{
    color: white;
    font-size: 45px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-shadow: 2px 2px #ff8b8b;
}

/* =======  ABOUT ME ======= */
.about-content{
    max-width: 1300px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.about-text{
    flex: 2.5;
    max-width: 750px;
    text-align: left;
}

.about-text p{
    font-size: 30px;
    line-height: 1.9;
}

.about-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

#profile-pic{
    width: 360px;
    height: 440px;
    object-fit: cover;
    border-radius: 18px;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    transition: .3s;
}

#profile-pic:hover{
    transform: scale(1.05);
}

/* =======  HOBBIES & TALENTS ======= */
.img_vid1,
.img_vid2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 30px;
}

button{
    width: 450px;
    padding: 25px;
    border: none;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

button img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

button h3{
    margin-top: 18px;
    color: #156d8f;
    font-size: 30px;
    letter-spacing: 1px;
}

/* =======  GALLERY ======= */
.gallery{
    width: 95%;
    max-width: 1400px;
    margin: 50px auto;
    text-align: center;
}

.gallery h2{
    color: white;
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 35px;
    text-shadow: 2px 2px #ff8b8b;
}

.gallery-images{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.gallery-images img{
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,.15);
    transition: .3s;
}

.gallery-images img:hover{
    transform: scale(1.05);
}

/* =======  LIGHTBOX ======= */
.gallery-images img{
    cursor: pointer;
}

#lightbox{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img{
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    border: 5px solid white;
    box-shadow: 0 0 25px rgba(255,255,255,.3);
}

/* =======  FOOTER ======= */
footer{
    margin-top: 40px;
    padding: 25px;
    background: #7ecfe4;
    color: white;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 -3px 10px rgba(0,0,0,.15);
}

/* =======  ANIMATION ======= */
@keyframes moveUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======  TABLET (RESPONSIVE) ======= */
@media (max-width: 768px){

    header{
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    header h1{
        font-size: 26px;
        letter-spacing: 2px;
    }

    .navigation ul{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navigation a{
        padding: 10px 18px;
        font-size: 15px;
    }

    .landing-btn-container{
        justify-content: center;
    }

    .landing-btn{
        text-align: center;
    }

    section{
        padding: 35px;
    }

    section h1,
    section h2{
        font-size: 34px;
        letter-spacing: 2px;
    }

    .about-content{
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .about-text{
        text-align: center;
        max-width: 100%;
    }

    .about-text p{
        font-size: 22px;
    }

    #profile-pic{
        width: 300px;
        height: 380px;
    }

    button{
        width: 100%;
        max-width: 420px;
    }

    button img{
        height: 260px;
    }

    button h3{
        font-size: 24px;
    }

    .gallery-images img{
        width: 280px;
        height: 190px;
    }
}

/* =======  PHONE (RESPONSIVE) ======= */
@media (max-width: 480px){

    header{
        padding: 15px;
    }

    header h1{
        font-size: 20px;
        letter-spacing: 1px;
    }

    .navigation ul{
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navigation a{
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .landing-btn-container{
        justify-content: center;
        width: 100%;
        padding: 0 15px;
    }

    .landing-btn{
        width: 100%;
        text-align: center;
    }

    section{
        width: 100%;
        margin: 25px auto;
        padding: 20px 15px;
        border-radius: 15px;
    }

    section h1,
    section h2{
        font-size: 26px;
        letter-spacing: 1px;
    }

    .about-content{
        gap: 25px;
    }

    .about-text p{
        font-size: 18px;
        text-align: justify;
    }

    #profile-pic{
        width: 220px;
        height: 280px;
    }

    .img_vid1,
    .img_vid2{
        gap: 25px;
    }

    button{
        width: 100%;
        padding: 15px;
    }

    button img{
        height: 200px;
    }

    button h3{
        font-size: 20px;
    }

    .gallery h2{
        font-size: 26px;
        letter-spacing: 2px;
    }

    .gallery-images{
        gap: 20px;
    }

    .gallery-images img{
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    #lightbox img{
        max-width: 95%;
        max-height: 85%;
    }

    footer{
        font-size: 14px;
        padding: 18px;
    }
}
