:root{
    --color-primary:#ff7b02;

    --color-primary-variant:#e5a55d;
    --color-bg-1:#000e17;
    --color-bg-2:#001e2d;
    --color-bg-3:#012734;
    --color-bg-4:#003347;
    --color-light:#85a2b2;
    --color-white:hsl(0, 0%, 90%);


    /* --color-primary:#ff7b02;
    --color-primary-variant:#e5a55d;
    --color-bg-1:#140021;
    --color-bg-2:#1e0032;
    --color-bg-3:#25003e;
    --color-bg-2:#36005a;
    --color-light:#d0b8e0;
    --color-white:hsl(0, 0%, 90%); */



    --container-width-lg:88%;
    --container-width-md:92%;

    --transition:all 400ms ease ;

}

 /* ==========GENERAL STYLING=========== */

*{
    margin: 0;
    padding: 0;
    outline: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    

}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar{
    width: 0.5rem;
    background: rgb(229,165, 93, 0.2);
}

::-webkit-scrollbar-thumb{
    width: 100%;
    background: var(--color-primary-variant);
    border-radius: 0.25rem;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family:Georgia, 'Times New Roman', Times, serif;
    background: var(--color-bg-3);
    line-height: 1.7;
    overflow-x: hidden;
    color: white;
    
}
h1, h2{
    line-height: 1.1;
    font-weight: 400;
}
h1{
    font-size: 4rem;
    color: var(--color-white);
}
h2{
    font-size: 3.2rem;
    color: wheat;

}
a{
    color: var(--color-light);
    transition: var(--transition);
}
a:hover{
    color: var(--color-primary);
}
.container{
    width: var(--container-width-lg);
    margin: 0 auto;
    max-width: 2160px;

}
img{
    display: block;
    object-fit: cover;
    width: 100%;
}



/*----=------------- NAVBAR STYLING ----------------- */
nav{
    height: calc(16px * 5);
    width: 100vw;
    display: grid;
    place-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;

}
.nav_container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav_toggle-btn{
    display: none;
}
.nav_logo{
    width: 8rem;
}
.nav_links{
    display: flex;
    gap: 4.5rem;
}
.nav_socials{
   display: flex;
   gap: 1rem;

}
.nav_socials a{
    width: 1.5rem;
    height: 1.5rem;
    aspect-ratio: 1/1;
    display: grid;
    background: linear-gradient(var(--color-primary-variant), var(--color-primary));
    border-radius: 0.5rem;
    color: var(--color-bg-2);
    place-items: center;
}
.nav_socials a:hover{
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.7);
}




/* ********===== WINDOW-SCROLLED ======****** */
.window-scrolled{
    background: var(--color-bg-2);
    border: 0.2rem solid var(--color-bg-3);
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.3);
}



/*----------------- HEADER STYLING--------------- */
header{
    width: 100vw;
    height: 100vh;
    position: relative;
    top: 0;
    background: linear-gradient(var(--color-bg-3), var(--color-bg-1));
    /* overflow: hidden; */

    
}
.header_container{
    display: grid;
    grid-template-columns: 42% 50%;
    gap: 7%;
    margin-top: 10rem;
    position: relative;
}
.header_img-bg{
    background:var(--color-bg-2);
    position: absolute;
    width: 16rem;
    height: 22rem;
}
.header_img-lg{
    width: 28rem;
    position: relative;
    top: 1rem;
    left: 1rem;
    filter: saturate(0) brightness(0.3);
    transition: var(--transition);
}
.header_img-sm{
    width: 28rem;
    height: 28rem;
    position: absolute;
    overflow: hidden;
    top: 6rem;
    left: 6rem;
    transition: var(--transition);
}
.header_left:hover .header_img-sm{
    opacity: 0;
}

.header_left:hover .header_img-lg{
    filter: saturate(1) brightness(1);
    border: 1rem solid var(--color-bg-3);
    top: 0;
    left: 0;   
    
    
}
.header_head{
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}





/* =======General Empty Style========= */
.empty{
    height: 3.4rem;
    width: 16rem;
    background: var(--color-bg-2);
    border-radius: calc(3.5rem / 2);
    margin-bottom: 3.5rem;
    box-shadow: inset 0 1rem 1rem rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-bg-4);
}
.header_tag{
    color: var(--color-primary-variant);
}
.header_right p{
    width: 85%;
    margin-top: 2rem;
}

.header_btn-md{
    display: none;
}




/*======= HEADER FRAMES ======*/
.header_frames{
    position: absolute;
    top: 105vh;
    right: 40rem;
    transition: var(--transition);
}
.header_frame{
    width: 13rem;
    border: 0.5rem solid var(--color-bg-3);
    box-shadow: 0 0 4rem rgba(0, 0, 0, 0.5);
    position: absolute;
    transform: rotate(-10deg);
    transform-origin: bottom left;
    transition: var(--transition);
}
.header_frame img{
    height: 14rem;
}
.header_frame:nth-child(2){
    transform: rotate(20deg);
    top: 2rem;
    left: 2rem;
}
.header_frames:hover .header_frame{
    transform: rotate(0);
    transition: var(--transition);

}
.header_frames:hover .header_frame:nth-child(2){
    top: 0;
    left: 13rem;
    
}






/*------ Circular Contact Link -----*/
.contact_btn{
    color: var(--color-bg-2);
    width: 10rem;
    height: 10rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);

}
.header_btn{
    background: linear-gradient(-30deg, var(--color-primary-variant), var(--color-primary), var(--color-primary-variant));
    position: absolute;
    right: 3%;
    bottom: -16rem;
}
.header_btn:hover{
    box-shadow: 0 2rem 2rem rgba(0, 0, 0, 0.3);
    transform: translateY(-2rem);
    color: var(--color-bg-1);
    transition: var(--transition);

}
.contact_btn i{
    font-size: 1.5rem;
    position: absolute;
}

.contact_btn p{
    font-size: 0.9rem;
    font-weight: 800;
    width: 10rem;
    height: 10rem;
    display: flex;
    justify-content: center;
    animation: spinText 25s linear infinite;
}
.contact_btn p span{
    position: absolute;
    transform-origin: 0.3rem 5rem;
    
}

/* ----Contact link Animation----- */
@keyframes spinText {
    to{
        transform: rotate(360deg);
    }
}






/*-------------- ABOUT SECTION ------------------- */
#about{
    margin-top: 18rem;
}
.about_container{
    display: grid;
    grid-template-columns: 10rem 26rem auto;
    gap: 3rem;
    position: relative;
}
.about_title{
    position: absolute;
    top: 0;
    z-index: 1;
}
.about_btn{
    color: var(--color-primary-variant);
    align-self: flex-end;
}
.about_btn:hover{
    transform: translateY(-1rem);
    color: var(--color-primary);
}
.about_image{
    position: relative;
}
.about_image_bg{
    width: 16rem;
    height: 24rem;
    position: absolute;
    bottom: 0;
    background: var(--color-bg-4);
}
.about_image_lg{
    position: relative;
    left: 1rem;
    bottom: 1rem;
    filter: saturate(0) brightness(0.5);
    transition: 500ms ease;
}
.about_image_sm{
    position: absolute;
    width: 21rem;
    height: 21rem;
    left: 7rem;
    top: 2rem;
    box-shadow: 2rem 2rem 2rem rgba(0, 0, 0, 0.3);
}
.about_image:hover .about_image_sm{
    opacity: 0;
    transition: 500ms ease;
}
.about_image:hover .about_image_lg{
    filter: saturate(1) brightness(1);
    border: 1rem solid var(--color-bg-2);
    bottom: 0;
    left: 0;   
       
}
.about_right{
    margin-left: 4rem;
}
.about_right p{
    margin: 0 4rem 1.5rem 0;
}



/* --------------------------------------------------------------
-----------------# GALLERY STYLING....---------
--------------------------------------------------------------*/
.section-bg {
    background: rgb(2, 2, 14);
}
#gallery{
    margin-top: 3.5rem;
    
}
.gallery-head{
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
}
.swiper-slide{
    border: 0.5rem solid var(--color-bg-4);
    height: fit-content;
    transition: var(--transition);

}
.swiper-slide:hover{
    box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
}
.swiper-slide img{
    filter: saturate(0) brightness(0.7);
    transition: var(--transition);

}
#cam5{
    filter: saturate(1);
}
.swiper-slide:hover img{
    filter: saturate(1) brightness(1);
}
.gallery .gallery-carousel,
.gallery .gallery-slider {
  overflow: hidden;
}

.gallery .gallery-item {
  box-sizing:border-box;
  text-align: center;
  min-height: 290px;
}

.gallery .gallery-item .gallery-img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.gallery .gallery-item h4 {
  font-size: 15px;
  color: var(--color-primary-variant);
  margin: 4;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color:var(--color-bg-1);
  opacity: 1;
  border: 1px solid var(--color-white);
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary) ;
}




/*------------ EXHIBITION STYLING ---------------*/

#exhibitions{
    margin-top: 2rem;
}
.exhibitions_container{
    position: relative;
}
.exhibitions_empty{
    width: 26rem;
    background: var(--color-bg-1);
    box-shadow: inset 0 1rem 1rem rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-bg-4);
}
.exhibitions_head{
    display: grid;
    grid-template-columns: auto 15rem;
    justify-content: space-between;
    align-items: center;
}
/* targeting the direct child paragraph */
.exhibitions_head > p{    
    width: 40rem;
}
.exhibitions_btn{
    color: var(--color-primary-variant);
}
.exhibitions_btn:hover{
    box-shadow: 0 2rem 2rem rgba(0, 0, 0, 0.3);
    transform: translateY(-2rem);
    color: var(--color-bg-2);
    background: var(--color-primary);
    transition: var(--transition);
}
/* exhibitions images */
.exhibitions_gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    gap: 3rem;
}
.exhibitions_gallery article{
    border:0.5rem solid var(--color-bg-1);
    transition: var(--transition);
}
.exhibitions_gallery article img{
    height: 100%;
}
.exhibitions_gallery article:nth-child(1){
    grid-row: 1/3;
    filter: saturate(0) brightness(0.5);
    transition: var(--transition);


}
.exhibitions_gallery article:hover:nth-child(1){
    filter: saturate(1) brightness(1);
    box-shadow: 0 4rem 4rem rgba(0, 0, 0, 0.6);
}
.exhibitions_gallery article:nth-child(4){
    grid-row: 2/3;
    grid-column: 2/4;
    filter: saturate(0) brightness(0.5);
    transition: var(--transition);
}
.exhibitions_gallery article:hover:nth-child(4){
    filter: saturate(1) brightness(1);
    box-shadow: 0 4rem 4rem rgba(0, 0, 0, 0.5);
}
.exhibitions_gallery article:nth-child(5){
    height: 240px;
}
.exhibitions_gallery article:nth-child(6){
    height: 240px;
    filter: saturate(0) brightness(0.6);
    transition: var(--transition);

}
.exhibitions_gallery article:hover:nth-child(6){
    filter: saturate(1) brightness(1);
    box-shadow: 0 4rem 4rem rgba(0, 0, 0, 0.5);

}
.exhibitions_gallery article:nth-child(7){
    height: 240px;
}



/*-------- FOOTER STYLING------------------------------ */
footer{
    margin-top: 10rem;
}
.footer_container{
    border-top: 1rem solid var(--color-bg-1);
    padding-top: 5rem;
}
.footer_head{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.footer_btn{
    width: 2.5rem;
    height: 2.5rem;
    border: 0.2rem solid var(--color-primary-variant);
    color: var(--color-primary);
    display: flex;
    border-radius: 50%;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
    transition: var(--transition);

}
.footer_btn:hover{
    background: var(--color-primary-variant);
    color: var(--color-bg-2);
    transform: translateY(-1rem);
}
.footer_links {
    margin: 3rem 0 5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.copyright{
    text-align: center;
}






/*===== RESPONSIVE MEDIA QUERY ======*/

/*---- Medium Screen ---*/

@media screen and (max-width: 1024px){
    .container{
        width: var(--container-width-md);
        position: relative;
    }
    h1{
        font-size: 2.5rem;
        line-height: 1.3;
    }
    h2{
        font-size: 2.5rem;
    }

    /* Nav */
    .nav_socials{
        display: none;
    }
    .nav_links{
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        gap: 0;
        display: none;
        
    
    
    }
    .nav_links li{
        height: 5rem;
        box-shadow: -3rem 3rem 2rem rgba(0, 0, 0, 0.6);
        animation: navAnimation 600ms ease forwards;
        transform: rotateX(90deg);
        opacity: 0;
        transform-origin: top;
        
        

    }
    .nav_links li:nth-child(2) {
        animation-delay: 200ms;
    }
    .nav_links li:nth-child(3) {
        animation-delay: 400ms;
    }
    .nav_links li:nth-child(4) {
        animation-delay: 600ms;
    }

    @keyframes navAnimation {
        to{
            transform: rotateX(0);
            opacity: 1;
        }
        
    }
    .nav_links li a{
        background: var(--color-bg-4);
        height: 100%;
        width:100%;
        display: flex;
        align-items: center;
        padding: 1rem 5rem 1rem 3rem;
        border-top: 1px solid var(--color-bg-1);
        border-radius: 6px;
    }
    .nav_toggle-btn{
        display: inline-block;
        border: none;
        font-size: 2rem;
        color: var(--color-white);
        cursor: pointer;
        background: transparent;

    }
    #nav_toggle-close{
        display: none;
    }

    /*--- Header --*/
    header{
        height: fit-content;
        padding: 3rem 0 10rem;
        display: grid;
        place-items: center;

    }
    .header_img-bg, .header_img-lg{
        display: none;
    }
    .header_container{
        grid-template-columns: 42% 52%;
        gap:6% ;
    }
    .header_img-sm{ 
        position: relative;
        filter: saturate(1) brightness(1);
        /* border: 1rem solid var(--color-bg-2); */
        width: 100%;
        top:0;
        left:0;
        
    }
    .header_img-sm img{
        height: 500px;
    }
    .header_left:hover .header_img-sm{
        opacity: 1;
    }
    .header_right p{
        width: 100%;
    }
    
    .header_frames,.contact_btn{
        display: none;

    }
    .header_btn-md{
        background: linear-gradient(135deg,var(--color-primary-variant), var(--color-primary));
        color: var(--color-bg-1);
        margin-top: 2rem;
        display: inline-block;
        padding:0.6rem 1.6rem;
        font-weight: 500;
        border-radius: 0.4rem;
    }
    .header_btn-md:hover{
        color: var(--color-bg-1);
    }

    /*--- About styling ---*/
    #about{
        margin-top: 5rem;
    }
    .about_container{
        grid-template-columns:42% 52%;
        gap: 6%;
    }
    .about_container > a{
        display: none;
    }
    .about_image_bg,.about_image_sm{
        display: none;
    }
    .about_image_lg{
        left: 0;
        top: 0;
        margin-top: 6rem;
        filter: saturate(1) brightness(1);
    }
    .about_right{
        margin: 0;
    }
    .about_right p{
        margin-bottom: 1rem;
    }
    .about_title{
        color: var(--color-primary-variant);
        position: absolute;
       margin-bottom: 3rem;
        z-index: 1;
    }
    

    /* Exhibition */
    #exhibitions{
        margin-top: 4rem;
    }
    .exhibitions_head > a{
        display: none;
    }
    .exhibitions_gallery{
        gap: 0.8rem;
    }

}    




/*---- Small Screen ---*/
@media screen and (max-width: 600px) {

    h1, h2 {
        font-size: 2rem;
        line-height: 1.1;

    }
    header{
        padding: 0;
        padding-bottom: 6rem;
    }
    .header_container{
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;

    }
    .header_img-sm{
        width: 100%;
        height: 29rem;
        overflow: hidden;
       

    }
    .header_empty{
        width: 6rem;
        height: 2rem;
    }
    .header_tag{
        padding-right: 10px;
    }
    .header_head{
        justify-content: center;
    }
    .header_right p{
        margin-top: 1rem;
        
    }

    /* About */
    .about_container{
        grid-template-columns: 1fr;
    }
    .about_image_lg img{
       border-radius: 15rem 15rem 0 0;
       

    }
    .about_image:hover .about_image_lg{
        border: none;
    }
    .about_right p{
        width: 100%;
    }

    /* Gallery */
    .swiper-slide{
        border: 0;
    }
    #gallery{
        margin-top: 6rem;
    }
    .swiper-wrapper{
        margin-top: 3rem;
    }

    /* Exhibitions */

    #exhibitions{
        margin-top: 5rem;
    }
    .exhibitions_empty{
        width: 15rem;
        height: 2.4rem;
        margin-top: 1rem;
        background: var(--color-bg-1);
        box-shadow: inset 0 1rem 1rem rgba(0, 0, 0, 0.3);
        border: 1px solid var(--color-bg-4);
    }
    .exhibitions_head{
        grid-template-columns: 1fr;
    }
    .exhibitions_head > p{
        margin-top: 0.5rem;
        width: 90%;
        text-align: center;
    }
    .exhibitions_gallery{
        /* display: block; */
    }
    .exhibitions_gallery article{
        width: 100%;
        margin-bottom: 1rem;
    }

    /*---- Footer ----*/

    .footer_head{
        flex-direction: row;
    }
    .footer_head h2{
        font-size: 1.6rem;
    }
    .footer_links{
        flex-direction: column;
        gap: 2rem;

    }






}


