@import url('https://fonts.cdnfonts.com/css/long-shot');
/* source-sans-3-latin-500-normal */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/source-sans-3@latest/latin-500-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/source-sans-3@latest/latin-500-normal.woff) format('woff');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Source Sans 3','san serif';
    background-color: #000 !important;
    color: #fff;
}

header {
    width: 100%;
    position: relative;
    background-color: #000;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    background-attachment: scroll;
    margin: 0 !important;
    padding: 0 !important;
}

.image-gallery {
    background-color: #000;
    padding: 60px 20px;
    text-align: center;
}
  
.top-image {
    position: relative;
    display: inline-block;
    max-width: 800px; 
    width: 80%;
}
  
  
.top-image .img-base,
.top-image .img-hover {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
}
  
.top-image .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; 
}
  
.top-image:hover .img-hover {
    opacity: 1;
}
  
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
    background-color: #000;
    padding: 40px 0;
}
  
.image-wrapper {
    position: relative;
    width: 120px;
    height: 100px;
}
  
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}
  
.img-base {
    z-index: 1;
    opacity: 1;
}
.img-hover {
    z-index: 2;
    opacity: 0;
    transform: scale(1.05);
}

.image-wrapper:hover .img-base {
    opacity: 0;
    transform: scale(1.05);
}
.image-wrapper:hover .img-hover {
    opacity: 1;
    transform: scale(1.05);
}
  
.bottom-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -30px;
    padding: 0;
    margin-bottom: 30px;
}

.bottom-image img {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
    vertical-align: middle; 
}

.container {
    position: relative;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 100px;
}
  
.work-text {
    position: relative;
    color: #D9A91C; 
    font-size: 90px;
    font-weight: bold;
    font-family: 'Long Shot','san serif';
}
  
.image-row {
    display: flex;
    justify-content: space-between;
    margin: 50px auto 0;
    max-width: 90%; 
    padding: 0 40px;
    box-sizing: border-box;
}
  
.image-row img {
    width: calc(25% - 15px); 
    height: auto;
}
.image-row img:hover {
    transform: scale(1.05);
}
  
.image-section {
    width: 100%;
    margin-top: 60px;
}

.overlay-wrapper {
    margin-bottom: 30px;
}
  
.logo-text {
    color: #D9A91C;
    font-size: 55px;
    font-family: 'Long Shot', sans-serif;
    font-weight: bold;
}
  
.image-section img {
    width: 750px;
}
  
/* max-width: 1200px */
@media screen and (max-width: 1200px) {
    .image-gallery {
        padding: 56px 20px;
    }
    .top-image {
        max-width: 650px;
        width: 80%;
    }
    .grid-container {
        gap: 28px;
        padding: 40px 0;
        grid-template-columns: repeat(4, 1fr);
    }
    .image-wrapper {
        width: 110px;
        height: 90px;
    }
    .container {
        padding-bottom: 100px;
    }
    .work-text {
        font-size: 86px;
    }
    .image-row {
        max-width: 90%;
        padding: 0 40px;
        margin: 50px auto 0;
    }
    .image-row img {
        width: calc(25% - 14px);
    }
    .image-section {
        margin-top: 56px;
    }
    .overlay-wrapper {
        margin-left: 200px;
    }
    .logo-text {
        font-size: 62px;
    }
    .image-section img {
        width: 750px;
    }
}

/* max-width: 1024px */
@media screen and (max-width: 1024px) {
    .image-gallery {
        padding: 48px 16px;
    }
    .top-image {
        max-width: 600px;
        width: 85%;
    }
    .grid-container {
        gap: 24px;
        padding: 32px 0;
    }
    .image-wrapper {
        width: 100px;
        height: 80px;
    }
    .container {
        padding-bottom: 90px;
    }
    .work-text {
        font-size: 74px;
    }
    .image-row {
        max-width: 92%;
        padding: 0 32px;
        margin: 44px auto 0;
    }
    .image-row img {
        width: calc(25% - 12px);
    }
    .image-section {
        margin-top: 48px;
    }
    .overlay-wrapper {
        margin-left: 160px;
    }
    .logo-text {
        font-size: 56px;
    }
    .image-section img {
        width: 650px;
    }
}

/* max-width: 965px */
@media screen and (max-width: 965px) {
    .image-section {
        margin-top: 40px;
    }
    .image-with-text {
        flex-direction: column;
        align-items: center;
    }
    .overlay-wrapper {
        margin-left: 0;
        margin-bottom: 16px;
    }
    .logo-text {
        font-size: 48px;
    }
    .image-section img {
        width: 100%;
        max-width: 600px;
    }
    .logo-desktop {
        display: none !important;
    }
    .work-text {
        font-size: 60px;
        padding-bottom: -20px;
    }
    .logo-mobile {
        display: block !important;
    }
}


/* max-width: 767px */
@media screen and (max-width: 767px) {
    .image-gallery {
        padding: 32px 12px;
    }
    .top-image {
        max-width: 80%;
        width: 90%;
    }
    .grid-container {
        gap: 16px;
        padding: 24px 0;
    }
    .image-wrapper {
        width: 80px;
        height: 70px;
    }
    .container {
        padding-bottom: 80px;
    }
    .work-text {
        font-size: 56px;
    }
    .image-row {
        flex-wrap: wrap;
        gap: 12px;
        max-width: 85%;
        padding: 0 24px;
        margin: 36px auto 0;
    }
    .image-row img {
        width: calc(50% - 8px);
    }
    .image-section {
        margin-top: 40px;
    }
    .image-with-text {
        flex-direction: column;
        align-items: center;
    }
    .overlay-wrapper {
        margin-left: 0;
        margin-bottom: 16px;
    }
    .logo-text {
        font-size: 48px;
    }
    .image-section img {
        width: 100%;
        max-width: 500px;
    }
    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
    }
}

/* max-width: 587px */
@media screen and (max-width: 587px) {
    .image-gallery {
        padding: 24px 8px;
    }
    .top-image {
        max-width: 80%;
        width: 95%;
    }
    .grid-container {
        gap: 12px;
        padding: 16px 0;
        display: flex;
        flex-direction: column;
    }
    .image-wrapper {
        max-width: 80%;
        width: 95%;
        gap: 8px;
        max-width: 100%;
        padding: 0 16px;
        margin: 28px auto 0;
    }
    .container {
        padding-bottom: 60px;
    }
    .work-text {
        font-size: 45px;
        margin-bottom: -40px;
    }
    .image-section {
        margin-top: 32px;
    }
    .overlay-wrapper {
        margin-bottom: 12px;
    }
    .logo-text {
        font-size: 30px;
    }
    .image-section img {
        max-width: 350px;
    }
}

/* max-width: 320px */
@media screen and (max-width: 320px) {
    .grid-container {
        gap: 12px;
        padding: 16px 0;
        display: flex;
        flex-direction: column;
    }
    .image-wrapper {
        width: 100%; 
        max-width: 300px; 
        display: flex;
        flex-direction: column; 
        gap: 8px;
        max-width: 100%;
        padding: 0 16px;
        margin: 28px auto 0;
    }
    .image-row {
        margin: 10px auto;
    }
    .logo-text {
        font-size: 25px;
    }
    .image-section {
        margin-bottom: -70px;
    }
}