/* =====================================================
   DEEX STUDIO — LOGO PORTFOLIO
===================================================== */

:root {
    --black: #000000;
    --black-soft: #080808;
    --black-card: #030303;

    --cream: #f4f0e6;
    --cream-soft: #d8d2c6;

    --gold: #e99b16;
    --gold-light: #ffbd45;

    --line: rgba(244, 240, 230, 0.22);
}


/* =====================================================
   GLOBAL
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--black);

    color: var(--cream);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;

    user-select: none;
}


/* =====================================================
   BACK BUTTON
===================================================== */

.back-button-container {
    width: 100%;

    max-width: 1375px;

    margin: 0 auto;

    padding:
        25px
        40px;
}


.back-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 58px;

    padding:
        12px
        22px;

    border:
        1px solid
        var(--gold);

    border-radius: 0;

    background: var(--gold);

    color: #000;

    text-decoration: none;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        0.35s ease;
}


.back-button:hover {
    background: transparent;

    color: var(--gold);

    box-shadow:
        0 0 15px
        rgba(233, 155, 22, 0.45),

        0 0 45px
        rgba(233, 155, 22, 0.2);

    transform:
        translateY(-3px);
}


/* =====================================================
   IMAGE LINKS
===================================================== */

.branded-logos-images a,
.branded-store-logos-images a,
.Design-logos-images a {
    cursor: zoom-in;
}


/* =====================================================
   LOGO SECTIONS
===================================================== */

.branded-logos,
.branded-store-logos,
.Design-logos {
    width: 100%;

    min-height: 100vh;

    padding:
        60px
        20px;

    background: var(--black);
}


.branded-store-logos,
.Design-logos {
    padding-top: 100px;
}


/* =====================================================
   CONTAINERS
===================================================== */

.branded-logos-container,
.branded-store-logos-container,
.Design-logos-container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}


/* =====================================================
   TITLE BOX
===================================================== */

.branded-logos-title-box,
.branded-store-logos-title-box,
.Design-logos-title-box {
    position: relative;

    width: min(700px, 100%);

    min-height: 120px;

    margin:
        0
        auto
        70px;

    padding:
        20px
        30px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--gold);

    border:
        1px solid
        var(--gold);

    border-radius: 0;

    box-shadow:
        0 0 20px
        rgba(233, 155, 22, 0.08);

    overflow: hidden;
}


/* =====================================================
   TITLE SHINE
===================================================== */

.branded-logos-title-box::before,
.branded-store-logos-title-box::before,
.Design-logos-title-box::before {
    content: "";

    position: absolute;

    width: 160px;

    height: 300px;

    top: -80px;

    left: -250px;

    background:
        rgba(255, 255, 255, 0.16);

    transform:
        rotate(25deg);

    transition:
        0.7s ease;
}


.branded-logos-title-box:hover::before,
.branded-store-logos-title-box:hover::before,
.Design-logos-title-box:hover::before {
    left: 750px;
}


/* =====================================================
   TITLES
===================================================== */

.branded-logos-title,
.branded-store-logos-title,
.Design-logos-title {
    position: relative;

    z-index: 1;

    margin: 0;

    color: #000;

    font-size:
        clamp(30px, 5vw, 49px);

    font-weight: 900;

    text-align: center;

    line-height: 1.1;

    letter-spacing: -1px;
}


/* =====================================================
   IMAGE CONTAINERS
===================================================== */

.branded-logos-images,
.branded-store-logos-images,
.Design-logos-images {
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    gap: 50px;

    flex-wrap: wrap;
}


/* =====================================================
   IMAGES
===================================================== */

.branded-logos-images img,
.branded-store-logos-images img,
.Design-logos-images img {
    display: block;

    width: 350px;

    max-width: 100%;

    height: auto;

    border:
        1px solid
        rgba(244, 240, 230, 0.22);

    border-radius: 0;

    background: #050505;

    transition:
        0.45s ease;
}


/* =====================================================
   IMAGE HOVER
===================================================== */

.branded-logos-images img:hover,
.branded-store-logos-images img:hover,
.Design-logos-images img:hover {
    transform:
        translateY(-10px)
        scale(1.02);

    border-color:
        var(--gold);

    box-shadow:
        0 0 15px
        rgba(233, 155, 22, 0.45),

        0 0 45px
        rgba(233, 155, 22, 0.18);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    width: 100%;

    padding:
        80px
        20px
        100px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #030303;

    border-top:
        1px solid
        var(--line);
}


/* =====================================================
   ORDER BUTTON CONTAINER
===================================================== */

.order-btn-div {
    width: 100%;

    display: flex;

    justify-content: center;
}


/* =====================================================
   ORDER BUTTON
===================================================== */

.order-btn {
    width: 412px;

    max-width: 100%;

    height: 78px;

    border:
        1px solid
        var(--gold);

    border-radius: 0;

    background: var(--gold);

    color: #000;

    font-size: 25px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-weight: 900;

    letter-spacing: 3px;

    cursor: pointer;

    transition:
        0.35s ease;
}


/* =====================================================
   BUTTON HOVER
===================================================== */

.order-btn:hover {
    background: transparent;

    color: var(--gold);

    transform:
        translateY(-4px);

    box-shadow:
        0 0 15px
        rgba(233, 155, 22, 0.45),

        0 0 50px
        rgba(233, 155, 22, 0.2);
}


/* =====================================================
   IMAGE PREVIEW
===================================================== */

.image-preview {
    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.94);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 9999;

    padding: 40px;
}


.image-preview.active {
    display: flex;
}


/* =====================================================
   PREVIEW IMAGE
===================================================== */

.preview-image {
    max-width: 90vw;

    max-height: 85vh;

    object-fit: contain;

    user-select: none;

    transition:
        transform
        0.25s ease;

    box-shadow:
        0 0 50px
        rgba(0, 0, 0, 0.5);
}


/* =====================================================
   PREVIEW CLOSE
===================================================== */

.preview-close {
    position: absolute;

    top: 25px;

    right: 30px;

    width: 48px;

    height: 48px;

    border:
        1px solid
        var(--gold);

    border-radius: 0;

    background:
        rgba(233, 155, 22, 0.12);

    color: var(--gold);

    font-size: 28px;

    cursor: pointer;

    z-index: 10;

    transition:
        0.3s ease;
}


.preview-close:hover {
    background: var(--gold);

    color: #000;

    box-shadow:
        0 0 25px
        rgba(233, 155, 22, 0.45);
}


/* =====================================================
   PREVIEW CONTROLS
===================================================== */

.preview-controls {
    position: absolute;

    bottom: 25px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    z-index: 10;
}


.preview-controls button {
    width: 48px;

    height: 48px;

    border:
        1px solid
        var(--gold);

    border-radius: 0;

    background:
        rgba(233, 155, 22, 0.12);

    color: var(--gold);

    font-size: 22px;

    cursor: pointer;

    transition:
        0.3s ease;
}


.preview-controls button:hover {
    background: var(--gold);

    color: #000;

    box-shadow:
        0 0 20px
        rgba(233, 155, 22, 0.4);
}


/* =====================================================
   COUNTER
===================================================== */

.preview-counter {
    min-width: 70px;

    text-align: center;

    color: var(--cream);

    font-size: 14px;

    font-weight: 700;
}


/* =====================================================
   PREVIOUS / NEXT
===================================================== */

.preview-prev,
.preview-next {
    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    width: 55px;

    height: 55px;

    border:
        1px solid
        var(--gold);

    border-radius: 0;

    background:
        rgba(233, 155, 22, 0.12);

    color: var(--gold);

    font-size: 30px;

    cursor: pointer;

    transition:
        0.3s ease;

    z-index: 10;
}


.preview-prev {
    left: 25px;
}


.preview-next {
    right: 25px;
}


.preview-prev:hover,
.preview-next:hover {
    background: var(--gold);

    color: #000;

    box-shadow:
        0 0 25px
        rgba(233, 155, 22, 0.45);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 768px) {

    .back-button-container {
        padding:
            20px;
    }


    .branded-logos,
    .branded-store-logos,
    .Design-logos {
        padding:
            40px
            15px;
    }


    .branded-logos-title-box,
    .branded-store-logos-title-box,
    .Design-logos-title-box {
        min-height: 100px;

        margin-bottom: 40px;

        padding:
            15px
            20px;
    }


    .branded-logos-images,
    .branded-store-logos-images,
    .Design-logos-images {
        gap: 30px;
    }


    .branded-logos-images img,
    .branded-store-logos-images img,
    .Design-logos-images img {
        width: 100%;

        max-width: 350px;
    }


    .branded-store-logos,
    .Design-logos {
        padding-top: 60px;
    }


    footer {
        padding:
            60px
            15px
            80px;
    }


    .order-btn {
        width: 100%;

        max-width: 412px;

        height: 65px;

        font-size: 21px;
    }


    .preview-prev {
        left: 10px;
    }


    .preview-next {
        right: 10px;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .back-button {
        width: 100%;

        font-size: 14px;

        letter-spacing: 1px;
    }


    .branded-logos,
    .branded-store-logos,
    .Design-logos {
        padding:
            30px
            10px;
    }


    .branded-logos-title-box,
    .branded-store-logos-title-box,
    .Design-logos-title-box {
        min-height: 90px;

        margin-bottom: 30px;

        padding: 15px;

        border-radius: 0;
    }


    .branded-logos-title,
    .branded-store-logos-title,
    .Design-logos-title {
        font-size: 28px;
    }


    .branded-logos-images,
    .branded-store-logos-images,
    .Design-logos-images {
        gap: 20px;
    }


    .branded-logos-images img,
    .branded-store-logos-images img,
    .Design-logos-images img {
        border-radius: 0;
    }


    footer {
        padding:
            40px
            10px
            60px;
    }


    .order-btn {
        height: 55px;

        font-size: 19px;

        letter-spacing: 2px;
    }


    .image-preview {
        padding: 20px;
    }


    .preview-image {
        max-width: 95vw;

        max-height: 80vh;
    }


    .preview-close {
        top: 15px;

        right: 15px;
    }


    .preview-controls {
        bottom: 15px;
    }
}