/* =========================================
   ABOUT GALLERY
========================================= */

.about-gallery {
    /*
       Width and centering are owned by the global
       .container class already on this element.
       Don't redeclare max-width/margin here, or the
       two will fight and the gallery can end up
       narrower/wider or off-center vs. the design.
    */
    width: 100%;

    padding: 35px 0 50px;

    box-sizing: border-box;
}


/* =========================================
   INTRO TEXT
========================================= */
.about-gallery-section {
    padding: 80px 0;
}

.about-gallery__intro {
    max-width: 737px;

    margin: 0 auto 35px;

    text-align: center;
}


.about-gallery__description {
    margin: 0;
    color: #515151;
    line-height: 1.7;

}


/* =========================================
   GALLERY
========================================= */

.about-gallery__grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    align-items: start;
    margin-bottom: 30px;
}


/* =========================================
   COLUMNS
========================================= */

.about-gallery__column {
    display: flex;

    flex-direction: column;

    gap: 20px;

    width: 100%;

    min-width: 0;
}


/* =========================================
   PHOTO
========================================= */

.about-gallery__item {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    flex-shrink: 0;
}


.about-gallery__image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;

    object-position: center;
}


/* =========================================
   COLUMN 1
   PHOTO 1 → 4 → 7
========================================= */

.about-gallery__item--1 {
    height: 320px;
}

.about-gallery__item--4 {
    height: 450px;
}

.about-gallery__item--7 {
    height: 250px;
}


/* =========================================
   COLUMN 2
   PHOTO 2 → 5 → 8
========================================= */

.about-gallery__item--2 {
    height: 280px;
}

.about-gallery__item--5 {
    height: 350px;
}

.about-gallery__item--8 {
    height: 390px;
}


/* =========================================
   COLUMN 3
   PHOTO 3 → 6 → 9
========================================= */

.about-gallery__item--3 {
    height: 480px;
}

.about-gallery__item--6 {
    height: 350px;
}

.about-gallery__item--9 {
    height: 190px;
}


/* =========================================
   LAST THREE PHOTOS
   FADE
========================================= */

.about-gallery__item--7::after,
.about-gallery__item--8::after,
.about-gallery__item--9::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 100%;

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.20) 60%,
            rgba(255, 255, 255, 0.45) 75%,
            rgba(255, 255, 255, 0.75) 90%,
            #ffffff 100%);

    pointer-events: none;

    z-index: 2;
}


/* =========================================
   SOCIAL
========================================= */

.about-gallery__social {
    margin-top: 25px;

    width: 100%;

    display: grid;

    align-items: center;
    justify-content: center;
    gap: 15px;
}


.about-gallery__social-text {
    margin: 0;
    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 600;

    color: #000;

    white-space: nowrap;
}


.about-gallery__social-icons {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.about-gallery__social-link {
    height: 10px;

    padding: 14px;

    box-sizing: border-box;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 4px;

    border: 1px solid #111111;

    border-radius: 12px;

    background: transparent;

    color: #111111;

    text-decoration: none;

    flex-shrink: 0;
}


.about-gallery__social-link img,
.about-gallery__social-link svg {
    width: 15px;
    height: 15px;

    display: block;

    object-fit: contain;

    filter: brightness(0);
}


.about-gallery__social-link::after {
    content: attr(aria-label);

    font-family: "Roboto", sans-serif;



    line-height: 1;

    font-weight: 400;

    color: #111111;

    white-space: nowrap;
}


.about-gallery__social-link:hover {
    background: #111111;
}


.about-gallery__social-link:hover::after {
    color: #ffffff;
}


.about-gallery__social-link:hover img,
.about-gallery__social-link:hover svg {
    filter: brightness(0) invert(1);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .about-gallery__grid {
        gap: 15px;
    }

    .about-gallery__column {
        gap: 15px;
    }

    .about-gallery__item--1 {
        height: 190px;
    }

    .about-gallery__item--4 {
        height: 270px;
    }

    .about-gallery__item--7 {
        height: 150px;
    }

    .about-gallery__item--2 {
        height: 170px;
    }

    .about-gallery__item--5 {
        height: 210px;
    }

    .about-gallery__item--8 {
        height: 230px;
    }

    .about-gallery__item--3 {
        height: 290px;
    }

    .about-gallery__item--6 {
        height: 210px;
    }

    .about-gallery__item--9 {
        height: 110px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .about-gallery {
        padding: 30px 0 45px;
    }



    .about-gallery__grid {
        gap: 10px;
        margin-bottom: 20px;
    }

    .about-gallery__column {
        gap: 10px;
    }

    .about-gallery__item--1 {
        height: 130px;
    }

    .about-gallery__item--4 {
        height: 180px;
    }

    .about-gallery__item--7 {
        height: 100px;
    }

    .about-gallery__item--2 {
        height: 110px;
    }

    .about-gallery__item--5 {
        height: 140px;
    }

    .about-gallery__item--8 {
        height: 150px;
    }

    .about-gallery__item--3 {
        height: 190px;
    }

    .about-gallery__item--6 {
        height: 140px;
    }

    .about-gallery__item--9 {
        height: 75px;
    }

    /* -----------------------------------------
       SOCIAL
    ----------------------------------------- */

    .about-gallery__social {
        margin-top: 25px;
        flex-direction: column;
        gap: 12px;
    }

    .about-gallery__social-icons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .about-gallery__social-link {
        height: 32px;
        padding: 0 12px;
        border-radius: 8px;
    }

    .about-gallery__social-link img,
    .about-gallery__social-link svg {
        width: 14px;
        height: 14px;
    }


}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .about-gallery {
        padding: 25px 0 40px;
    }

    .about-gallery__grid {
        gap: 8px;
    }

    .about-gallery__column {
        gap: 8px;
    }

    .about-gallery__item {
        border-radius: 8px;
    }

    .about-gallery__item--1 {
        height: 95px;
    }

    .about-gallery__item--4 {
        height: 135px;
    }

    .about-gallery__item--7 {
        height: 75px;
    }

    .about-gallery__item--2 {
        height: 85px;
    }

    .about-gallery__item--5 {
        height: 105px;
    }

    .about-gallery__item--8 {
        height: 115px;
    }

    .about-gallery__item--3 {
        height: 145px;
    }

    .about-gallery__item--6 {
        height: 105px;
    }

    .about-gallery__item--9 {
        height: 55px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 350px) {

    .about-gallery__grid {
        gap: 6px;
    }

    .about-gallery__column {
        gap: 6px;
    }

    .about-gallery__item {
        border-radius: 6px;
    }

    .about-gallery__item--1 {
        height: 80px;
    }

    .about-gallery__item--4 {
        height: 110px;
    }

    .about-gallery__item--7 {
        height: 60px;
    }

    .about-gallery__item--2 {
        height: 70px;
    }

    .about-gallery__item--5 {
        height: 85px;
    }

    .about-gallery__item--8 {
        height: 95px;
    }

    .about-gallery__item--3 {
        height: 120px;
    }

    .about-gallery__item--6 {
        height: 85px;
    }

    .about-gallery__item--9 {
        height: 45px;
    }
}