

::before,::after{
    box-sizing: border-box;
     font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-style: normal;
}
    
  





body{
    margin: 0;
    padding: 0;
    background-color:#c99356;
    overflow-x: hidden;
    position: relative;
    font-family: "Cinzel Decorative", serif;
}
/* desktop fixed sidebar*/
.top-menu{
    
    position: fixed;
    z-index: 1000;
    height: 100vh;
    left: 0;
    top: 0;
    width: 250px;
    overflow-y: auto;
    margin-left: 30px;
    
}
 

.image-wrap{
    
    display: grid;
    grid-template-columns: repeat(3,minmax(200px,1fr));
    padding: 20px;
    overflow-y:auto;
    margin-left :270px;
    height:  calc(100vh - 20px);
    gap: 24px;
    position: relative;
    max-width: 1600px;
}


    /* IMAGE STYLES */

 .img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    background-color: #2D1E16;
    border: 9px solid #2D1E16;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 180ms, filter 180ms ease, box-shadow 180ms ease;
    transform: scale(1);
    opacity: 0.4;
    animation: gridease 0.8s ease forwards;
    aspect-ratio: 4/5;
}

.img:nth-child(1) { animation-delay: 0.1s; }
.img:nth-child(2) { animation-delay: 0.2s; }
.img:nth-child(3) { animation-delay: 0.3s; }
.img:nth-child(4) { animation-delay: 0.4s; }
/* ... and so on */

.img:hover {
    transform: scale(1.05) rotate(0.2deg);
    filter: brightness(1.3);
    box-shadow: 0 14px 25px #2D1E16;
    opacity: 1;
}

@keyframes gridease{
    from{opacity:0;transform: translateY(14px) scale(0.98);}
    to {opacity: 1;transform: translateY(0) scale(1);}
}





.logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    margin: 0 auto;
    width: auto;
    height: auto;
}


.logo{
    transition: opacity 0.3s ease;
    max-height: 22px;
    width: auto;
}

.logo:hover{
    cursor: pointer;
    opacity: 0.6;
}




/* lightbox styles */




.overlay{
    background-color: rgba(62, 59, 59, 0.5);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: none;
    
}
.overlay img{
    max-width: 90%;
    max-height: 90%;
}
.next-btn,.prev-btn{
    position: absolute;
    top: 50%;
    color: #c99356;
    background: none;
    font-size: 30px;
    cursor: pointer;
    transform: translateY(-50%);
    padding: 10px;
    border: 1.5px  solid #2D1E16;;
    border-radius:   15px;
    margin: 0;
    min-width: 40px;
     min-height: 40px;


}
.next-btn{
    right: 20px;
}

.prev-btn{
    left: 20px;
}

.close-btn{
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    color: #c99356;
    font-size: 25px;
    cursor: pointer;
    border: solid 1.5px #2D1E16;
    border-radius: 10px;
    margin: 0;
    min-width: 30px;
    min-height: 30px;


}

    
    

.sheexzy{
    margin-top: 15%;
    font-size: 15px;
    font-family: "Cinzel Decorative", serif;
    pointer-events: none;
    margin-bottom: 15%;
    font-weight: bold;
    
    
}


.menu{
    display: none;
}



/* for the clickable tabs that loads page for me */

.nav{
    font-family: "Cinzel Decorative", serif;
    margin-bottom: 50%;
    margin-top: 50%;

    margin: 15px;
    display: flex;
    position: relative;
    color: #2D1E16 ;
    border: none;
    text-decoration: none;
    transition: opacity 1s ease;
}

.nav:hover{
    
    transition: 1.5s ease-in;
    opacity: 0.2;
    
}

#contact-logo,
#whatapp,
#instagram,
#tiktok {
    padding: 6px;
}






.content-last{
    font-family: "Cinzel Decorative", serif;
    font-size: 10px;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    font-weight: bold;
}


.footer{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px 10px;
    background: #c99356;
    margin-top: 20px;
    box-sizing: border-box;
}


    



.menu-wrapper{
    font-family: "Cinzel Decorative", serif;
    font-weight: bold;
    display: block;
    
}
/*breakpoint for mobile table*/

@media(max-width:900px) {
     .menu-wrapper{
        display: none;
    }
    
    .menu{
        font-family: "Cinzel Decorative", serif;
        display: block;
        font-size: 20px;
        margin-bottom: 0;
        font: lighter;
        margin: 0;
        margin-right: 10%;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
         display: flex;
        align-items: center;
        justify-content: center;
    }
    
     .header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px;
        position: relative;
    }

    .image-wrap{
        margin-left: 0;
        height: auto;
        overflow-y: visible;
         grid-template-columns: repeat(2,1fr);

    }
    .image-wrap img:nth-child(n+13) {
        display: none;
    }
    .img{
        border:5px solid #2D1E16;
    }

    .sheexzy{
        padding: 0;
        margin: 0;
        font-size: 20px;
        font: lighter;
        margin-bottom: 0;
    }
    .top-menu{
        position: relative;
        width: 100%;
        height: auto;
    }

    .nav{
        text-align: center;
        font-size: 16px;
        padding: 0;
        color: #c99356;
    }

.minus-portfolio {
    display: none;
}

.minus-portfolio.active {
    display:flex;
    flex-direction: column;
    color: rgb(39, 171, 224);
    cursor: pointer;
    padding: 0;
    text-align: center;
    padding-left: 18px;
    transition: height 0.4s ease;
}

.nav-m{
    padding: 4px;
      color: #c99356;
      text-decoration: none;
      margin-right: 40%;
      margin-top: 5%;
      text-align: center;
       transition: opacity 1s ease;

}

.nav-m:hover{
    transition: 1.5s ease-in;
    opacity: 0.2;
}

.portf {
    text-align: center;
    flex-direction: column;
    color:#c99356 ;
    cursor: pointer;
    padding-right: 0;
     transition: opacity 1s ease;
     text-decoration: none;
     margin-right: 60px;
}

.portf:hover{
    transition: 1.5s ease-in;
    opacity: 0.2;
}
}

/*breakpoint for mobile phone small phone large screen*/

@media(max-width:700px) {
    .top-menu {
        width: 100%;
        margin-left: 0;
    }

    .image-wrap {
        margin-left: 0;
        overflow-y: visible;
        grid-template-columns: 1fr;
        height: auto;
        padding: 10px;
    }

    .image-wrap img:nth-child(n+9) {
        display: none;
    }

    .nav {
        font-size: 14px;
    }

    .menu {
        margin-right: 0;
    }

    .img {
        animation: none;
        opacity: 1;
    }
}


@media (max-width: 500px) {
    .image-wrap img:nth-child(n+5) {
        display: none;
    }
 
    .image-wrap {
        padding: 8px;
        gap: 12px;
    }
 
    .close-btn,
    .next-btn,
    .prev-btn {
        font-size: 20px;
    }
 
    .category-placeholder h2 {
        font-size: 1.5rem;
    }
}

    






    /*for the menu background mobile fullscreen*/


.menu-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#2D1E16;
    overflow-y:auto ;
     align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;



}

.menu-overlay.active{
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay .menu-wrapper {
    display: block;
    text-align: center;
}



/* close - button overlay  */

.close-overlay {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    background: none;
    border: none;
    color: #c99356;
    cursor: pointer;
}




/* ur portfolio  tab on full-screen and sign */
.portf-full {
   text-align: center;
    flex-direction: column;
    color: #2D1E16;
    cursor: pointer;
    padding-right: 80px;
     transition: opacity 1s ease;
     text-decoration: none;
     margin-left: 15px;
}



.portf-full:hover{
     transition: 1.5s ease-in;
    opacity: 0.2;
}


    



/* to make your portfolio not display on full-screen active*/
.minus-portfolio-full {
    text-transform: capitalize;
      display:none;
      flex-direction: column;
    color:  #2D1E16 ;
    cursor: pointer;
    padding: 0;
    text-align: center;
    padding-left: 18px;
    transition: max-height 0.4s ease;
    max-height: 0;

}


.minus-portfolio-full.active {
    display:flex;
    max-height: 600px;
}


/* on -full-screen portfolio, for wedding,casual*/
.nav-m-full{
    padding: 4px;
      color:  #2D1E16 ;
      text-decoration: none;
      margin-right: 50%;
      margin-top: 5%;
      text-align: center;
       transition: opacity 1s ease;
}

.nav-m-full:hover{
     transition: 1.5s ease-in;
    opacity: 0.2;
    
    
}


.header{
    flex-shrink: 0;
    transition:transform 0.3s;
}


.header.hidden {
    transform: translateY(-150%);
}

.scrollable-nav{
    flex:1 1 auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom:30px ;
    margin-bottom: 20px;
}

/* Category placeholder for portfolio pages */
.category-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin: 20px;
    border: 2px solid #2D1E16;
}

.category-placeholder h2 {
    font-family: "Cinzel Decorative", serif;
    font-size: 2.5rem;
    color: #2D1E16;
    margin-bottom: 20px;
}

.category-placeholder p {
    font-family: "Cinzel Decorative", serif;
    font-size: 1.2rem;
    color: #2D1E16;
    opacity: 0.7;
}


@media (max-width: 700px) {
  .image-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}