/* =========================================================
   GENESIS HOSTELS
   GALLERY PAGE
   ========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f7fa;
    color: #172033;

    -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;

    z-index: 1000;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);

    box-shadow:
        0 8px 30px rgba(15, 35, 60, 0.08);
}

.nav-content {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND
========================================================= */

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;

    color: white;
}

.main-nav.scrolled .brand-link {
    color: #13213a;
}

.brand-logo {
    width: 44px;
    height: 44px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    color: #0b3d68;

    font-size: 22px;
    font-weight: 800;

    box-shadow:
        0 7px 22px rgba(0, 0, 0, 0.15);
}

.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-name strong {
    font-size: 16px;
    letter-spacing: 2px;
}

.brand-name span {
    margin-top: 4px;

    font-size: 9px;
    letter-spacing: 3px;

    opacity: 0.65;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.main-nav.scrolled .nav-link {
    color: #5e697a;
}

.nav-link:hover,
.main-nav.scrolled .nav-link:hover {
    color: #0b5d91;
}

.nav-link.active {
    color: white;
}

.main-nav.scrolled .nav-link.active {
    color: #0b5d91;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -9px;

    height: 2px;

    background: currentColor;

    border-radius: 20px;
}


/* BOOK BUTTON */

.nav-book {
    padding: 11px 19px;

    border-radius: 9px;

    background: white;

    color: #0a3c66;

    font-size: 12px;
    font-weight: 750;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.13);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-book:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);
}

.main-nav.scrolled .nav-book {
    background:
        linear-gradient(
            135deg,
            #0b4f82,
            #1769aa
        );

    color: white;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    border: none;
    border-radius: 10px;

    background: white;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.12);
}

.menu-toggle span {
    width: 19px;
    height: 2px;

    background: #15304c;

    border-radius: 5px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   GALLERY HERO
   IMPORTANT:
   entrance.jpg is used HERE as the background image.
========================================================= */

.gallery-hero {
    min-height: 650px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    color: white;

    background-image:
        url("entrance.jpg");

    background-size: cover;

    background-position:
        center center;

    background-repeat: no-repeat;
}


/* Dark image treatment */

.gallery-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 45, 0.92) 0%,
            rgba(6, 34, 61, 0.78) 42%,
            rgba(5, 24, 45, 0.43) 100%
        );

    z-index: 1;
}


/* subtle bottom fade */

.gallery-hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(5, 20, 35, 0.55)
        );

    pointer-events: none;

    z-index: 2;
}


.gallery-hero-container {
    position: relative;

    z-index: 3;

    padding-top: 100px;
    padding-bottom: 130px;
}

.gallery-hero-content {
    max-width: 700px;
}


/* =========================================================
   HERO LABEL
========================================================= */

.hero-label {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 23px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

.hero-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #7cc9ff;

    box-shadow:
        0 0 0 5px
        rgba(124, 201, 255, 0.13);
}


/* =========================================================
   HERO TITLE
========================================================= */

.gallery-hero h1 {
    max-width: 750px;

    font-size:
        clamp(46px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;

    margin-bottom: 25px;
}

.gallery-hero h1 span {
    display: block;

    color: #b8dcf4;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.gallery-hero-content > p {
    max-width: 570px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 34px;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    display: flex;

    align-items: center;

    gap: 12px;
}

.hero-button {
    min-height: 48px;

    padding:
        0 20px;

    border-radius: 9px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hero-button.primary {
    background:
        linear-gradient(
            135deg,
            #0d6197,
            #187bb7
        );

    color: white;

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.18);
}

.hero-button.secondary {
    background:
        rgba(255, 255, 255, 0.10);

    color: white;

    border:
        1px solid
        rgba(255, 255, 255, 0.30);

    backdrop-filter: blur(8px);
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button.primary:hover {
    box-shadow:
        0 13px 30px
        rgba(0, 0, 0, 0.25);
}

.hero-button.secondary:hover {
    background:
        rgba(255, 255, 255, 0.17);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 5;

    padding-bottom: 26px;
}

.hero-bottom-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.hero-bottom-inner > div:first-child {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.hero-bottom strong {
    font-size: 12px;

    letter-spacing: 0.4px;
}

.hero-bottom span {
    color:
        rgba(255, 255, 255, 0.58);

    font-size: 10px;
}

.hero-scroll-indicator {
    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, 0.62);
}

.hero-scroll-indicator b {
    width: 30px;
    height: 30px;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 14px;

    color: white;
}


/* =========================================================
   GENERAL SECTION LABEL
========================================================= */

.section-label {
    display: inline-block;

    color: #1769aa;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.2px;

    margin-bottom: 15px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.gallery-intro {
    padding:
        105px 0 95px;

    background:
        #ffffff;
}

.intro-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}

.gallery-intro h2 {
    max-width: 500px;

    font-size:
        clamp(38px, 5vw, 58px);

    line-height: 1.06;

    letter-spacing: -2.5px;

    color: #14213d;

    font-weight: 800;
}

.gallery-intro h2 span {
    color: #1769aa;
}

.intro-grid > div:last-child {
    max-width: 540px;
}

.intro-grid p {
    color: #697386;

    font-size: 15px;

    line-height: 1.9;
}

.intro-location {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 24px;

    color: #4f5c6e;

    font-size: 11px;

    font-weight: 650;
}

.location-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #1769aa;

    box-shadow:
        0 0 0 5px
        rgba(23, 105, 170, 0.10);
}


/* =========================================================
   GALLERY SECTION
========================================================= */

.gallery-section {
    padding:
        105px 0 115px;

    background:
        #f5f7fa;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 48px;
}

.section-heading h2 {
    color: #14213d;

    font-size:
        clamp(34px, 4vw, 48px);

    letter-spacing: -2px;

    line-height: 1.1;

    font-weight: 800;
}

.section-heading > p {
    max-width: 390px;

    color: #737d8d;

    font-size: 13px;

    line-height: 1.7;

    padding-bottom: 3px;
}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 285px;

    gap: 16px;
}

.gallery-card {
    position: relative;

    overflow: hidden;

    border-radius: 15px;

    background: #10263d;

    cursor: pointer;

    box-shadow:
        0 12px 35px
        rgba(21, 43, 66, 0.08);
}

.gallery-card.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);

    filter:
        brightness(0.80);
}


/* =========================================================
   GALLERY OVERLAY
========================================================= */

.gallery-overlay {
    position: absolute;

    inset: 0;

    padding: 25px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    background:
        linear-gradient(
            to top,
            rgba(5, 21, 36, 0.90) 0%,
            rgba(5, 21, 36, 0.36) 42%,
            transparent 75%
        );

    color: white;

    transition:
        background 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    background:
        linear-gradient(
            to top,
            rgba(5, 21, 36, 0.95) 0%,
            rgba(5, 21, 36, 0.45) 55%,
            rgba(5, 21, 36, 0.08) 100%
        );
}

.gallery-overlay span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.gallery-overlay h3 {
    font-size: 20px;

    font-weight: 750;

    margin-bottom: 4px;
}

.gallery-overlay p {
    color:
        rgba(255, 255, 255, 0.68);

    font-size: 11px;
}

.view-button {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.30);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.12);

    color: white;

    font-size: 24px;

    font-weight: 300;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.gallery-card:hover .view-button {
    transform: rotate(90deg);

    background:
        rgba(255, 255, 255, 0.23);
}


/* =========================================================
   EXPERIENCE SECTION
========================================================= */

.experience-section {
    padding:
        105px 0;

    background: white;
}

.experience-card {
    min-height: 540px;

    display: grid;

    grid-template-columns:
        0.95fr 1.05fr;

    overflow: hidden;

    border-radius: 20px;

    background:
        #0a2c4d;

    box-shadow:
        0 25px 60px
        rgba(14, 39, 65, 0.15);
}

.experience-image {
    min-height: 500px;

    position: relative;

    overflow: hidden;
}

.experience-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 60%,
            rgba(7, 31, 53, 0.35)
        );
}

.experience-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.experience-content {
    padding:
        70px 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: white;
}

.experience-content .section-label {
    color: #8bcdf7;
}

.experience-content h2 {
    max-width: 500px;

    font-size:
        clamp(35px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 23px;
}

.experience-content h2 span {
    color: #a9d8f4;
}

.experience-content > p {
    max-width: 500px;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 30px;
}


/* =========================================================
   EXPERIENCE DETAILS
========================================================= */

.experience-details {
    display: flex;

    gap: 35px;

    margin-bottom: 34px;
}

.experience-details > div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.experience-details strong {
    font-size: 22px;
}

.experience-details span {
    color:
        rgba(255, 255, 255, 0.50);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================================
   EXPERIENCE BUTTON
========================================================= */

.experience-button {
    width: fit-content;

    padding:
        13px 19px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    border-radius: 9px;

    background: white;

    color: #0b3e66;

    font-size: 12px;

    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.experience-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 25px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   CTA
========================================================= */

.gallery-cta {
    padding:
        110px 0;

    background:
        linear-gradient(
            135deg,
            #071d35,
            #0c3c64
        );

    color: white;

    text-align: center;
}

.cta-inner {
    max-width: 720px;

    margin: 0 auto;
}

.cta-inner .section-label {
    color: #8acdf7;
}

.cta-inner h2 {
    font-size:
        clamp(36px, 5vw, 56px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 18px;
}

.cta-inner p {
    color:
        rgba(255, 255, 255, 0.65);

    font-size: 14px;

    line-height: 1.8;

    max-width: 520px;

    margin: 0 auto 30px;
}

.cta-actions {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;
}

.cta-primary,
.cta-secondary {
    min-height: 48px;

    padding:
        0 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 750;

    transition:
        transform 0.2s ease;
}

.cta-primary {
    background: white;

    color: #0a3d65;
}

.cta-secondary {
    border:
        1px solid
        rgba(255, 255, 255, 0.30);

    color: white;
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding:
        55px 0 25px;

    background: #06182b;

    color: white;
}

.footer-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 35px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.09);
}

.footer-brand {
    color: white;
}

.footer-links {
    display: flex;

    align-items: center;

    gap: 25px;
}

.footer-links a {
    color:
        rgba(255, 255, 255, 0.57);

    font-size: 11px;

    font-weight: 600;

    transition:
        color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 22px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color:
        rgba(255, 255, 255, 0.38);

    font-size: 10px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 5000;

    background:
        rgba(3, 13, 24, 0.96);

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.lightbox.open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.lightbox-content {
    max-width: 1000px;
    width: 100%;

    max-height: 90vh;

    position: relative;
}

.lightbox-content img {
    width: 100%;

    max-height: 72vh;

    object-fit: contain;

    border-radius: 8px;

    background: #071a2d;
}


/* =========================================================
   LIGHTBOX CAPTION
========================================================= */

.lightbox-caption {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 16px;

    color: white;
}

.lightbox-caption > span {
    color: #79bde8;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;
}

.lightbox-caption h3 {
    font-size: 17px;

    margin-bottom: 4px;
}

.lightbox-caption p {
    color:
        rgba(255, 255, 255, 0.55);

    font-size: 11px;
}


/* =========================================================
   LIGHTBOX CONTROLS
========================================================= */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;

    width: 48px;
    height: 48px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    color: white;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background:
        rgba(255, 255, 255, 0.16);

    transform: scale(1.05);
}

.lightbox-close {
    top: 25px;
    right: 25px;

    font-size: 28px;

    z-index: 10;
}

.lightbox-prev {
    left: 30px;
    top: 50%;

    transform:
        translateY(-50%);

    font-size: 35px;
}

.lightbox-next {
    right: 30px;
    top: 50%;

    transform:
        translateY(-50%);

    font-size: 35px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform:
        translateY(-50%)
        scale(1.05);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        gap: 20px;
    }

    .gallery-hero {
        min-height: 610px;
    }

    .intro-grid {
        gap: 50px;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);

        grid-auto-rows: 270px;
    }

    .gallery-card.gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .experience-card {
        grid-template-columns:
            1fr;
    }

    .experience-image {
        min-height: 400px;
    }

    .experience-content {
        padding: 55px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width:
            min(
                100% - 34px,
                600px
            );
    }


    /* NAV */

    .main-nav {
        height: 70px;
    }

    .nav-links {
        position: absolute;

        top: 70px;
        left: 17px;
        right: 17px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        background: white;

        border-radius: 13px;

        box-shadow:
            0 20px 50px
            rgba(0, 0, 0, 0.15);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        color: #4d596a !important;

        padding: 14px 13px;

        border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: #f1f6fa;

        color: #0d5b8c !important;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-book {
        margin-top: 5px;

        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }


    /* HERO */

    .gallery-hero {
        min-height: 680px;

        background-position:
            58% center;
    }

    .gallery-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 25, 45, 0.88),
                rgba(5, 25, 45, 0.68)
            );
    }

    .gallery-hero-container {
        padding-top: 100px;
        padding-bottom: 130px;
    }

    .gallery-hero h1 {
        font-size: 47px;

        letter-spacing: -2.5px;
    }

    .gallery-hero-content > p {
        font-size: 14px;
    }

    .hero-actions {
        align-items: stretch;

        flex-direction: column;

        max-width: 260px;
    }

    .hero-button {
        width: 100%;
    }

    .hero-bottom-inner {
        align-items: flex-start;

        gap: 20px;
    }

    .hero-scroll-indicator {
        display: none;
    }


    /* INTRO */

    .gallery-intro {
        padding:
            75px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .gallery-intro h2 {
        font-size: 42px;
    }


    /* GALLERY */

    .gallery-section {
        padding:
            75px 0;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 270px;

        gap: 12px;
    }

    .gallery-card.gallery-large {
        grid-column: span 1;

        grid-row: span 1;

        min-height: 330px;
    }

    .gallery-overlay {
        padding: 20px;
    }


    /* EXPERIENCE */

    .experience-section {
        padding:
            75px 0;
    }

    .experience-card {
        border-radius: 15px;
    }

    .experience-image {
        min-height: 300px;
    }

    .experience-content {
        padding: 42px 28px;
    }

    .experience-content h2 {
        font-size: 39px;
    }

    .experience-details {
        gap: 22px;
    }


    /* CTA */

    .gallery-cta {
        padding:
            80px 0;
    }

    .cta-inner h2 {
        font-size: 40px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }


    /* FOOTER */

    .footer-top {
        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }

    .footer-links {
        flex-wrap: wrap;

        gap: 15px 20px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }


    /* LIGHTBOX */

    .lightbox {
        padding:
            20px 15px;
    }

    .lightbox-content img {
        max-height: 65vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;

        position: absolute;

        top: 45%;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .gallery-hero h1 {
        font-size: 40px;
    }

    .gallery-intro h2 {
        font-size: 36px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .experience-content h2 {
        font-size: 34px;
    }

    .experience-details {
        gap: 15px;
    }

    .experience-details strong {
        font-size: 18px;
    }

}