/* ==========================
   Global Styles
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#9d7d7d;
    color:white;
    display:flex;
    min-height:100vh;
}

/* ==========================
   Sidebar
========================== */

.sidebar{
    width:290px;
    background:#000;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:60px 25px;
    flex-shrink:0;
}

.profile{
    text-align:center;
    width:100%;
}

.avatar{
    width:120px;
    height:120px;
    border:2px solid #ff4f95;
    border-radius:20px;
    padding:4px;
    margin:0 auto 20px;
    overflow:hidden;
    transition:.3s;
}

.avatar:hover{
    transform:scale(1.03);
}

.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:16px;
    display:block;
}

.profile h1{
    color:#ff4f95;
    font-size:24px;
    font-weight:600;
    margin-bottom:8px;
}

.role{
    font-size:14px;
    color:white;
    font-weight:300;
    margin-bottom:40px;
}

/* ==========================
   Navigation
========================== */

.nav{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.nav a{
    color:#ff4f95;
    text-decoration:none;
    font-size:20px;
    transition:.25s;
}

.nav a:hover{

    color:white;
    transform:translateX(8px);

}

/* ==========================
   Main Content
========================== */

main{
    flex:1;
    padding:70px;
}

.page-title{

    color:#ff4f95;
    font-size:42px;
    margin-bottom:40px;
    font-weight:600;

}

.section{

    max-width:900px;
    line-height:1.8;
    font-size:18px;

}

/* ==========================
   About Page
========================== */

.about-container{

    display:flex;
    gap:50px;
    align-items:flex-start;
    flex-wrap:wrap;

}

.headshot{

    width:260px;
    border-radius:20px;
    border:3px solid #ff4f95;

}

.bio{

    flex:1;
    min-width:300px;

}

/* ==========================
   Gallery
========================== */

.gallery-grid{

    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:30px;

}

.gallery-item{

    background:#886b6b;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;

}

.gallery-item:hover{

    transform:translateY(-5px);

}

.gallery-item img{

    width:100%;
    display:block;

}

.gallery-caption{

    padding:18px;
    font-size:15px;

}

/* ==========================
   Contact
========================== */

.contact-list{

    display:flex;
    flex-direction:column;
    gap:25px;
    font-size:20px;

}

.contact-list a{

    color:#ff4f95;
    text-decoration:none;
    transition:.25s;

}

.contact-list a:hover{

    color:white;

}

.social{

    display:flex;
    gap:25px;
    margin-top:15px;

}

.social a{

    width:54px;
    height:54px;
    border-radius:16px;
    background:#b56a87;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    text-decoration:none;
    transition:.25s;

}

.social a:hover{

    background:#ff4f95;
    transform:translateY(-4px);

}

.social svg{

    width:28px;
    height:28px;
    fill:white;

}

/* ==========================
   Lightbox
========================== */

.lightbox{

    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:1000;
    flex-direction:column;
    padding:40px;

}

.lightbox.active{

    display:flex;

}

.lightbox img{

    max-width:90%;
    max-height:75vh;
    border-radius:16px;

}

.lightbox p{

    margin-top:20px;
    font-size:18px;
    max-width:900px;
    text-align:center;

}

.close{

    position:absolute;
    top:25px;
    right:35px;
    font-size:42px;
    cursor:pointer;
    color:white;

}

/* ==========================
   Mobile
========================== */

@media(max-width:800px){

body{

    flex-direction:column;

}

.sidebar{

    width:100%;

}

main{

    padding:40px 25px;

}

.about-container{

    flex-direction:column;

}

.headshot{

    width:100%;
    max-width:320px;

}

}