/* Gallery Page Styles */
.nav__logo{
    width: 32px;
    margin-left: 90px;
}
.gallery{
    padding: 4rem 0;
    min-height: 100vh;
}

.gallery__container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery__header{
    text-align: center;
    margin-bottom: 3rem;
}

.gallery__title{
    font-size: 2.25rem;
    font-family: "lora", sans-serif;
    color: hsl(210,52%,20%);
    margin-bottom: 1rem;
}

.gallery__description{
    color: hsl(210,24%,15%);
    font-size: 1.1rem;
}

.gallery__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery__item{
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid hsl(210,52%,20%);
    background-color: hsla(0,0%,100%, .3);
    transition: transform .3s ease;
}

.gallery__item:hover{
    transform: translateY(-5px);
}

.gallery__item--large{
    grid-column: span 2;
}

.gallery__item--wide{
    grid-column: span 2;
}

.gallery__image{
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery__video{
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery__item--large .gallery__image{
    height: 300px;
}

.gallery__overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, hsla(210,52%,20%,.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform .3s ease;
}

.gallery__item:hover .gallery__overlay{
    transform: translateY(0);
}

.gallery__item-title{
    font-size: 1.2rem;
    margin-bottom: .5rem;
    color: white;
}

.gallery__item-text{
    font-size: .9rem;
    color: hsla(0,0%,100%,.8);
}

.gallery__cta{
    text-align: center;
}

.gallery__button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, hsl(210,55%,20%),hsl(192,62%,25%));
    color: #fff;
    padding: 1.4rem 2.5rem;
    border-radius: .75rem;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 24px 32px hsla(210,54%,24%,.3);
    min-height: 52px;
    min-width: 160px;
    transition: all .3s;
    position: relative;
}

.gallery__button:hover{
    transform: translateY(-2px);
}

@media screen and (max-width: 1024px){
    .gallery__grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px){
    .gallery__item--large, .gallery__item--wide{
        grid-column: span 1;
    }
    
    .gallery__grid{
        grid-template-columns: 1fr;
    }
    
    .gallery__title{
        font-size: 1.8rem;
    }
}