/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    scroll-behavior:smooth;
    font-family:'Poppins', sans-serif;
}

/* General */

html{
    font-size:62.5%;
    overflow-x:hidden;
}

body{
    background:#ffffff;
    color:#111;
}

/* Header */

.header{
    width:100%;
}

/* Navigation */

.nav-container{
    width:100%;
    background:#FFD9E5;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 70px;
}

.logo{
    font-size:2.8rem;
    font-weight:700;
    color:#111;
    letter-spacing:1px;
    transition:0.3s;
}

.logo:hover{
    color:#FF5C99;
}

.navbar{
    display:flex;
    gap:55px;
}

.navbar a{
    font-size:1.5rem;
    font-weight:600;
    color:#111;
    transition:0.3s;
}

.navbar a:hover{
    color:#FF5C99;
}

/* Home */

.home{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:40px 8% 90px;
    min-height:100vh;
    gap:90px;
}

.home-content{
    max-width:600px;
}

.home-content h3{
    font-size:4rem;
    margin-bottom:18px;
}

.home-content h1{
    font-size:5rem;
    margin-bottom:18px;
}

.home-content h2{
    display:inline-block;
    background:#111;
    color:#fff;
    padding:8px 18px;
    font-size:1.8rem;
    font-weight:500;
    margin-bottom:30px;
}

.home-content p{
    font-size:1.6rem;
    color:#666;
    line-height:1.8;
    max-width:480px;
}

/* Home Image */

.home-image{
    flex:1;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.home-image img{
    width:650px;
    margin-top:-90px;
    margin-right:-30px;
    transition:0.4s;
}

.home-image img:hover{
    transform:rotate(-2deg) scale(1.05);
}

/* Responsive */

@media (max-width:991px){

    .nav-container{
        padding:16px 30px;
    }

    .logo{
        font-size:2.3rem;
    }

    .navbar{
        gap:30px;
    }

    .navbar a{
        font-size:1.3rem;
    }

}

@media (max-width:768px){

    .nav-container{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    .navbar{
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .navbar a{
        font-size:1.2rem;
    }

    .home{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:40px;
    }

    .home-image img{
        width:380px;
        margin:0;
    }

}

/* What I Do */

.services{
    padding:90px 8%;
}

.section-title{
    text-align:center;
    font-size:4rem;
    font-weight:700;
    color:#111;
}

.title-line{
    width:70px;
    height:3px;
    background:#111;
    margin:15px auto 60px;
}

/* Services */

.services-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:45px;
}

.service-box{
    width:340px;
    text-align:center;
}

.service-box img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:0.4s;
}

.service-box img:hover{
    transform:scale(1.04);
}

.service-box h3{
    margin:25px 0 15px;
    font-size:2rem;
    font-weight:700;
    color:#111;
}

.service-box p{
    font-size:1.5rem;
    color:#666;
    line-height:1.8;
}

/* About */

.about{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:90px;
    padding:100px 8%;
}

.about-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.about-image img{
    width:650px;
    transition:0.4s;
}

.about-image img:hover{
    transform:rotate(-2deg) scale(1.04);
}

.about-content{
    flex:1;
}

.about-content h2{
    font-size:4rem;
    font-weight:700;
    color:#111;
}

.about-content p{
    margin:25px 0 40px;
    font-size:1.7rem;
    line-height:1.8;
    color:#666;
}

.about-info{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.info-item{
    font-size:1.7rem;
    font-weight:500;
    color:#111;
}

/* Responsive */

@media (max-width:768px){

    .services-container{
        flex-direction:column;
        align-items:center;
    }

    .about{
        flex-direction:column;
        text-align:center;
        gap:50px;
    }

    .about-image img{
        width:380px;
    }

}

/* Portfolio */

.portfolio{
    padding:100px 8%;
    text-align:center;
}

.portfolio-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
    margin:60px 0;
}

.portfolio-box{
    transition:0.4s;
}

.portfolio-box:hover{
    transform:translateY(-8px);
}

.portfolio-box img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
    transition:0.4s;
}

.portfolio-box img:hover{
    transform:scale(1.03);
}

.portfolio-box h3{
    margin-top:18px;
    font-size:2rem;
    font-weight:700;
    color:#111;
}

.portfolio-btn{
    display:inline-block;
    padding:16px 38px;
    background:#e9e9e9;
    color:#111;
    font-size:1.6rem;
    font-weight:600;
    transition:0.3s;
}

.portfolio-btn:hover{
    background:#FFD9E5;
}

/* Contact */

.contact{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 8%;
    margin-top:100px;
    border-top:1px solid #ececec;
    flex-wrap:wrap;
    gap:50px;
}

.contact-left{
    flex:1;
}

.contact-left h2{
    font-size:3.5rem;
    font-weight:700;
    color:#111;
    margin-bottom:20px;
}

.profession{
    display:inline-block;
    background:#FFD9E5;
    color:#111;
    padding:10px 22px;
    border-radius:8px;
    font-size:1.5rem;
    font-weight:600;
    margin-bottom:35px;
}

.copyright{
    font-size:1.3rem;
    color:#777;
}

.contact-right{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:18px;
    font-size:1.7rem;
    color:#111;
}

.contact-item i{
    font-size:3rem;
    color:#FF5C99;
    transition:0.3s;
}

.contact-item:hover i{
    transform:scale(1.1);
}

.contact-item:hover{
    color:#FF5C99;
}

/* Responsive */

@media (max-width:768px){

    .portfolio-container{
        grid-template-columns:1fr;
    }

    .contact{
        flex-direction:column;
        align-items:flex-start;
    }

    .contact-left,
    .contact-right{
        width:100%;
    }

}