/* =========================================================
   STORAGE LEO - GALLERY PAGE
   Separate CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #172033;
    overflow-x: hidden;
}


body.lightbox-open {
    overflow: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    font-family: inherit;
}


/* =========================================================
   COMMON
========================================================= */

.gallery-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}


.header-container {
    width: min(1240px, calc(100% - 40px));
    height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}


.site-logo img {
    width: 190px;
    height: auto;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}


.main-nav > a,
.nav-dropdown-btn {
    border: 0;
    background: none;

    font-size: 14px;
    font-weight: 700;

    color: #263248;

    cursor: pointer;

    transition: 0.3s ease;
}


.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown-btn:hover {
    color: #f36b21;
}


.nav-dropdown {
    position: relative;
}


.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 7px;
}


.dropdown-arrow {
    font-size: 17px;
}


.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;

    width: 240px;

    transform:
        translateX(-50%)
        translateY(10px);

    background: #ffffff;

    border-radius: 15px;

    padding: 10px;

    list-style: none;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.14);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}


.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.nav-dropdown-menu li a {
    display: block;

    padding: 12px 15px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    color: #263248;

    transition: 0.3s ease;
}


.nav-dropdown-menu li a:hover {
    background: #fff3ec;
    color: #f36b21;
}


.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    border-radius: 50px;

    background: #f36b21;
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(243, 107, 33, 0.22);

    transition: 0.3s ease;
}


.header-phone:hover {
    background: #d95410;
    transform: translateY(-2px);
}


.phone-icon {
    font-size: 17px;
}


.mobile-menu-btn {
    display: none;

    width: 45px;
    height: 45px;

    border: 0;
    border-radius: 10px;

    background: #f36b21;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    cursor: pointer;
}


.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s ease;
}


/* =========================================================
   HERO
========================================================= */

.gallery-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fff8f3 0%,
            #ffffff 48%,
            #fff4ec 100%
        );
}


.gallery-hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: rgba(243, 107, 33, 0.07);

    top: -220px;
    left: -150px;
}


.gallery-hero::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    background: rgba(243, 107, 33, 0.06);

    right: -130px;
    bottom: -200px;
}


.gallery-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    padding: 80px 20px;
}


.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 17px;

    border-radius: 50px;

    background: #fff0e7;
    color: #f36b21;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    margin-bottom: 22px;
}


.gallery-hero h1 {
    font-size: clamp(42px, 6vw, 72px);

    line-height: 1.04;

    font-weight: 900;

    letter-spacing: -3px;

    color: #152033;
}


.gallery-hero h1 span {
    color: #f36b21;
}


.gallery-hero-content > p {
    max-width: 700px;

    margin: 24px auto 0;

    color: #687386;

    font-size: 17px;

    line-height: 1.8;
}


.gallery-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 30px;

    font-size: 14px;
}


.gallery-breadcrumb a {
    color: #f36b21;
    font-weight: 700;
}


.gallery-breadcrumb span {
    color: #aab1bb;
}


.gallery-breadcrumb strong {
    color: #596273;
}


/* =========================================================
   INTRO
========================================================= */

.gallery-intro {
    padding: 90px 0 40px;
}


.gallery-container {
    position: relative;
}


.gallery-intro .gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: end;
}


.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #f36b21;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2px;
}


.intro-left h2 {
    max-width: 550px;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -2px;

    color: #152033;
}


.intro-left h2 span {
    color: #f36b21;
}


.intro-right p {
    color: #697486;

    font-size: 16px;

    line-height: 1.9;

    max-width: 550px;
}


/* =========================================================
   FILTER
========================================================= */

.gallery-section {
    padding: 35px 0 100px;
}


.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
}


.gallery-filter {
    border: 1px solid #e5e7eb;

    background: #ffffff;

    color: #596273;

    padding: 11px 21px;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.3s ease;
}


.gallery-filter:hover,
.gallery-filter.active {
    background: #f36b21;
    border-color: #f36b21;
    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(243, 107, 33, 0.20);
}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.gallery-item {
    position: relative;

    height: 280px;

    overflow: hidden;

    border-radius: 18px;

    background: #eeeeee;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(25, 35, 50, 0.08);

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


.gallery-item:nth-child(3n) {
    height: 360px;
}


.gallery-item:nth-child(7n) {
    height: 320px;
}


.gallery-item.hidden {
    display: none;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(.2,.7,.2,1);
}


.gallery-item:hover img {
    transform: scale(1.08);
}


.gallery-item:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(25, 35, 50, 0.16);
}


/* =========================================================
   OVERLAY
========================================================= */

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 24px;

    color: #ffffff;

    background:
        linear-gradient(
            to top,
            rgba(9, 18, 31, 0.82),
            rgba(9, 18, 31, 0.05) 65%
        );

    opacity: 0;

    transition: 0.35s ease;
}


.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


.gallery-overlay span {
    display: inline-flex;

    width: fit-content;

    padding: 6px 10px;

    border-radius: 5px;

    background: #f36b21;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;
}


.gallery-overlay h3 {
    padding-right: 40px;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 800;
}


.view-image {
    position: absolute;

    right: 20px;
    bottom: 20px;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(255,255,255,0.4);

    border-radius: 50%;

    background: rgba(255,255,255,0.14);

    color: #ffffff;

    backdrop-filter: blur(10px);

    cursor: pointer;

    transition: 0.3s ease;
}


.view-image:hover {
    background: #f36b21;
    border-color: #f36b21;
}


/* =========================================================
   CTA
========================================================= */

.gallery-cta {
    position: relative;

    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #f36b21,
            #d94f0d
        );

    overflow: hidden;

    color: #ffffff;
}


.gallery-cta::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    right: -160px;
    top: -190px;
}


.gallery-cta .gallery-container {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.cta-content span {
    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    opacity: 0.8;
}


.cta-content h2 {
    margin-top: 10px;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.cta-content p {
    max-width: 600px;

    margin-top: 14px;

    line-height: 1.7;

    color: rgba(255,255,255,0.85);
}


.cta-buttons {
    display: flex;

    flex-direction: column;

    gap: 12px;

    flex-shrink: 0;
}


.cta-primary,
.cta-call {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 210px;

    padding: 14px 22px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s ease;
}


.cta-primary {
    background: #ffffff;
    color: #f36b21;
}


.cta-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0,0,0,0.15);
}


.cta-call {
    border: 1px solid rgba(255,255,255,0.4);

    color: #ffffff;

    background: rgba(255,255,255,0.08);
}


.cta-call:hover {
    background: rgba(255,255,255,0.18);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        rgba(8, 13, 22, 0.94);

    opacity: 0;

    visibility: hidden;

    transition: 0.3s ease;
}


.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}


.lightbox-content {
    position: relative;

    max-width: 1100px;
    width: 100%;

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 25px 80px rgba(0,0,0,0.5);
}


.lightbox-caption {
    text-align: center;

    color: #ffffff;

    padding-top: 18px;
}


.lightbox-caption span {
    color: #f36b21;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.lightbox-caption h3 {
    margin-top: 6px;

    font-size: 20px;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    z-index: 10;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    color: #ffffff;

    backdrop-filter: blur(10px);

    cursor: pointer;

    transition: 0.3s ease;
}


.lightbox-close {
    top: 25px;
    right: 25px;

    width: 48px;
    height: 48px;

    font-size: 20px;
}


.lightbox-prev,
.lightbox-next {
    top: 50%;

    width: 55px;
    height: 55px;

    font-size: 18px;
}


.lightbox-prev {
    left: 25px;
}


.lightbox-next {
    right: 25px;
}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #f36b21;
}


/* =========================================================
   FOOTER
========================================================= */

.storage-footer {
    background: #111b2c;
    color: #ffffff;
}


.footer-wrapper {
    width: min(1240px, calc(100% - 40px));

    margin: auto;

    padding: 75px 0;

    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.9fr
        1.3fr;

    gap: 55px;
}


.footer-logo img {
    width: 190px;
}


.footer-about p {
    margin-top: 22px;

    max-width: 360px;

    color: #9fa9b9;

    font-size: 14px;

    line-height: 1.8;
}


.social-icons {
    display: flex;

    gap: 9px;

    margin-top: 25px;
}


.social-icons a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    transition: 0.3s ease;
}


.social-icons a:hover {
    background: #f36b21;

    transform: translateY(-3px);
}


.footer-column h3 {
    font-size: 17px;

    margin-bottom: 22px;
}


.footer-column ul {
    list-style: none;
}


.footer-column li {
    margin-bottom: 12px;
}


.footer-column li a {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #aeb7c5;

    font-size: 13px;

    transition: 0.3s ease;
}


.footer-column li a:hover {
    color: #ffffff;
}


.arrow-circle {
    width: 24px;
    height: 24px;

    min-width: 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #f36b21;

    font-size: 10px;
}


.contact-row {
    display: flex;

    gap: 12px;

    margin-bottom: 20px;
}


.contact-row p {
    margin: 0;

    color: #aeb7c5;

    font-size: 13px;

    line-height: 1.7;
}


.contact-row a {
    color: #aeb7c5;
}


.contact-row a:hover {
    color: #f36b21;
}


.copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.08);

    text-align: center;

    padding: 20px;

    color: #7e899b;

    font-size: 12px;
}


/* =========================================================
   FLOATING BUTTONS
========================================================= */

.floating {
    position: fixed;

    right: 18px;
    bottom: 20px;

    z-index: 900;

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.floating a {
    padding: 11px 16px;

    border-radius: 50px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 7px 20px rgba(0,0,0,0.2);
}


.floating .wa {
    background: #25d366;
}


.floating .call {
    background: #f36b21;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 18px;
    }


    .header-container {
        gap: 15px;
    }


    .gallery-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .footer-wrapper {
        grid-template-columns:
            1fr 1fr;

        gap: 45px;
    }

}


/* =========================================================
   MOBILE MENU
========================================================= */

@media (max-width: 900px) {

    .header-container {
        height: 72px;
    }


    .site-logo img {
        width: 160px;
    }


    .header-phone {
        margin-left: auto;

        padding: 10px 14px;
    }


    .mobile-menu-btn {
        display: flex;
    }


    .main-nav {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px 20px 20px;

        background: #ffffff;

        border-top: 1px solid #eeeeee;

        box-shadow:
            0 15px 30px rgba(0,0,0,0.10);
    }


    .main-nav.mobile-menu-open {
        display: flex;
    }


    .main-nav > a,
    .nav-dropdown-btn {
        width: 100%;

        padding: 14px 5px;

        text-align: left;

        border-bottom: 1px solid #f0f0f0;
    }


    .nav-dropdown-menu {
        position: static;

        width: 100%;

        transform: none !important;

        opacity: 1;

        visibility: visible;

        display: none;

        box-shadow: none;

        padding: 5px 10px;

        border-radius: 0;
    }


    .nav-dropdown.mobile-dropdown-open
    .nav-dropdown-menu {
        display: block;
    }


    .nav-dropdown-menu li a {
        padding: 11px;
    }


    .gallery-intro .gallery-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .gallery-item,
    .gallery-item:nth-child(3n),
    .gallery-item:nth-child(7n) {
        height: 260px;
    }


    .gallery-overlay {
        opacity: 1;
    }


    .gallery-cta .gallery-container {
        flex-direction: column;

        align-items: flex-start;
    }


    .cta-buttons {
        width: 100%;

        flex-direction: row;

        flex-wrap: wrap;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-container {
        width: min(100% - 28px, 1180px);
    }


    .header-container {
        width: calc(100% - 28px);
    }


    .header-phone {
        display: none;
    }


    .gallery-hero {
        min-height: 390px;
    }


    .gallery-hero-content {
        padding: 65px 10px;
    }


    .gallery-hero h1 {
        letter-spacing: -2px;
    }


    .gallery-hero-content > p {
        font-size: 14px;

        line-height: 1.7;
    }


    .gallery-intro {
        padding: 65px 0 30px;
    }


    .intro-left h2 {
        font-size: 34px;
    }


    .gallery-section {
        padding-bottom: 70px;
    }


    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .gallery-item,
    .gallery-item:nth-child(3n),
    .gallery-item:nth-child(7n) {
        height: 280px;
    }


    .gallery-overlay {
        padding: 20px;
    }


    .gallery-filters {
        gap: 7px;
    }


    .gallery-filter {
        padding: 9px 15px;

        font-size: 11px;
    }


    .gallery-cta {
        padding: 55px 0;
    }


    .cta-content h2 {
        font-size: 32px;
    }


    .cta-buttons {
        flex-direction: column;

        width: 100%;
    }


    .cta-primary,
    .cta-call {
        width: 100%;
    }


    .footer-wrapper {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 55px 0;
    }


    .footer-about p {
        max-width: none;
    }


    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;

        top: auto;
        bottom: 30px;
    }


    .lightbox-prev {
        left: 25px;
    }


    .lightbox-next {
        right: 25px;
    }


    .lightbox-content img {
        max-height: 65vh;
    }


    .lightbox-caption {
        padding: 12px 60px 0;
    }


    .lightbox-caption h3 {
        font-size: 16px;
    }


    .floating {
        right: 10px;
        bottom: 10px;
    }


    .floating a {
        font-size: 10px;

        padding: 9px 13px;
    }

}