/* =========================================================
   MAGIC iCREATIVE
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #ffffff;
    color: #222222;

    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.page-wrap {
    width: 100%;
    min-height: 40vh;
}


/* =========================================================
   GENERAL CONTAINER
   ========================================================= */

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}


/* =========================================================
   NAVIGATION BACKGROUND

   File:
   /assets/img/navigation-background.png
   ========================================================= */

.navigation-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    background-image:
        url("../img/navigation-background.png");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0.10;

    pointer-events: none;
}


/* =========================================================
   HEADER CONTAINER
   ========================================================= */

.header-container {
    position: relative;
    z-index: 2;

    width: min(1400px, 94%);

    margin: 0 auto;
    padding: 14px 0;

    display: grid;

    grid-template-columns:
        auto
        minmax(250px, 1fr)
        auto;

    align-items: center;

    gap: 28px;
}


/* =========================================================
   BRAND ZONE
   ========================================================= */

.brand-zone {
    display: flex;
    align-items: center;

    gap: 16px;

    min-width: 0;
}

.brand-link {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}


/* =========================================================
   SHARIEL SHARIEL LOGO

   File:
   /assets/img/sharielshariel-logo.png
   ========================================================= */

.developer-logo,
.sharielshariel-logo {
    display: block;

    width: auto;

    max-width: 180px;
    max-height: 64px;

    object-fit: contain;
}


/* =========================================================
   MAGIC iCREATIVE LOGO

   File:
   /assets/img/magic-icreative-logo.png
   ========================================================= */

.magic-icreative-logo,
.studio-logo {
    display: block;

    width: auto;

    max-width: 220px;
    max-height: 74px;

    object-fit: contain;
}


/* =========================================================
   LOGO SEPARATOR
   ========================================================= */

.brand-separator {
    display: block;

    width: 1px;
    height: 46px;

    flex-shrink: 0;

    background:
        rgba(0, 0, 0, 0.12);
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-wrap {
    position: relative;

    width: 100%;
    max-width: 520px;

    justify-self: center;
}

.search-wrap input {
    width: 100%;

    padding:
        12px
        18px
        12px
        44px;

    border:
        1px solid
        rgba(0, 0, 0, 0.14);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.94);

    color: #222222;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-wrap input:focus {
    border-color:
        rgba(95, 65, 180, 0.45);

    box-shadow:
        0 0 0 4px
        rgba(95, 65, 180, 0.08);
}

.search-wrap input::placeholder {
    color: #777777;
}

.search-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    font-size: 1.1rem;

    color: #555555;

    pointer-events: none;
}


/* =========================================================
   HEADER RIGHT
   ========================================================= */

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 14px;
}


/* =========================================================
   LANGUAGE SWITCH
   ========================================================= */

.language-switch {
    display: flex;
    align-items: center;

    gap: 7px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    min-height: 38px;

    padding: 6px 10px;

    border:
        1px solid
        rgba(0, 0, 0, 0.12);

    border-radius: 12px;

    background: #ffffff;

    color: #222222;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.lang-btn:hover {
    transform: translateY(-1px);

    background: #f7f7f7;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.07);
}

.lang-btn img {
    width: 26px;
    height: 18px;

    object-fit: cover;

    border-radius: 3px;
}


/* =========================================================
   USER PILL
   ========================================================= */

.user-pill {
    display: flex;
    align-items: center;

    gap: 10px;

    padding:
        7px
        12px
        7px
        7px;

    border-radius: 999px;

    background: #f7f7f7;

    border:
        1px solid
        rgba(0, 0, 0, 0.08);
}

.avatar {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #6f5bd3,
            #d14bb4,
            #ffa642
        );

    color: #ffffff;

    font-weight: 800;
    font-size: 0.82rem;
}

.user-copy {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.user-copy strong {
    font-size: 0.9rem;
}

.user-copy small {
    margin-top: 3px;

    color: #666666;

    font-size: 0.74rem;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    position: relative;
    z-index: 2;

    width: min(1400px, 94%);

    margin: 0 auto;

    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 5px;

    flex-wrap: wrap;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.04);
}

.main-nav > a {
    display: flex;
    align-items: center;

    gap: 8px;

    padding:
        9px
        13px;

    border-radius: 12px;

    color: #222222;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.main-nav > a:hover {
    transform: translateY(-1px);

    background:
        rgba(0, 0, 0, 0.045);
}

.main-nav > a.active {
    background:
        rgba(95, 65, 180, 0.08);
}

.main-nav > a > span:last-child {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.main-nav b {
    font-size: 0.94rem;
}

.main-nav small {
    margin-top: 3px;

    color: #777777;

    font-size: 0.67rem;
}

.nav-icon {
    width: 23px;
    height: 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 1rem;
}

.admin-nav-link {
    background:
        rgba(95, 65, 180, 0.07);
}


/* =========================================================
   PROMOTIONAL CAROUSEL

   Recommended artwork:
   1920 x 800 px

   Files:
   /assets/img/banner-01.png
   /assets/img/banner-02.png
   ========================================================= */

.promo-carousel {
    position: relative;

    width: 100%;

    height: clamp(480px, 41.67vw, 800px);

    min-height: 480px;
    max-height: 800px;

    overflow: hidden;

    background: #000000;
}

.carousel-track {
    position: relative;

    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   VIDEO SLIDE

   Poster:
   /assets/img/video-poster.png
   ========================================================= */

.video-slide {
    background: #000000;
}

.video-slide video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   CAROUSEL OVERLAY
   ========================================================= */

.carousel-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.25) 42%,
            rgba(0, 0, 0, 0.04) 100%
        );
}

.carousel-overlay.soft {
    background:
        linear-gradient(
            270deg,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.18) 50%,
            rgba(0, 0, 0, 0.02) 100%
        );
}


/* =========================================================
   CAROUSEL CONTENT
   ========================================================= */

.carousel-content {
    position: relative;
    z-index: 3;

    width: min(1200px, 88%);
    height: 100%;

    margin: 0 auto;

    padding:
        70px
        40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: #ffffff;
}

.carousel-content.right {
    align-items: flex-end;
    text-align: right;
}

.carousel-kicker {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.9rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.carousel-content h1,
.carousel-content h2 {
    margin: 0 0 18px;

    max-width: 760px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4.5rem
        );

    line-height: 1.05;

    text-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.36);
}

.carousel-content p {
    margin: 0 0 28px;

    max-width: 680px;

    font-size:
        clamp(
            1rem,
            1.6vw,
            1.25rem
        );

    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.30);
}


/* =========================================================
   CAROUSEL BUTTON
   ========================================================= */

.carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 145px;

    padding:
        13px
        24px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.94);

    color: #222222;

    font-weight: 800;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.carousel-button:hover {
    transform: translateY(-2px);

    background: #ffffff;
}


/* =========================================================
   CAROUSEL ARROWS
   ========================================================= */

.carousel-arrow {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 48px;
    height: 48px;

    transform: translateY(-50%);

    border: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.88);

    color: #222222;

    font-size: 2rem;

    line-height: 1;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.16);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.carousel-arrow:hover {
    background: #ffffff;

    transform:
        translateY(-50%)
        scale(1.04);
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}


/* =========================================================
   CAROUSEL DOTS
   ========================================================= */

.carousel-dots {
    position: absolute;

    left: 50%;
    bottom: 24px;

    z-index: 10;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.carousel-dot {
    width: 11px;
    height: 11px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.52);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.carousel-dot.active {
    transform: scale(1.3);

    background: #ffffff;
}


/* =========================================================
   BRAND STRIP

   Logo:
   /assets/img/magic-icreative-logo.png
   ========================================================= */

.brand-strip {
    width: min(1200px, 92%);

    margin:
        42px
        auto;

    padding: 32px;

    display: grid;

    grid-template-columns:
        minmax(160px, 230px)
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 32px;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 12px 38px
        rgba(0, 0, 0, 0.08);
}

.brand-strip-logo {
    width: 100%;
    max-width: 230px;

    height: auto;

    object-fit: contain;
}

.brand-strip-copy h2 {
    margin:
        0
        0
        10px;

    font-size:
        clamp(
            1.55rem,
            3vw,
            2.45rem
        );

    line-height: 1.18;
}

.brand-strip-copy p {
    margin: 0;

    color: #555555;

    font-size: 1rem;
}

.brand-strip-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;
}


/* =========================================================
   SOFT BUTTON
   ========================================================= */

.soft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        12px
        20px;

    border-radius: 999px;

    background: #f4f4f4;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.soft-button:hover {
    transform: translateY(-2px);

    background: #ececec;
}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.quick-access-grid {
    width: min(1200px, 92%);

    margin:
        0
        auto
        64px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px;
}

.quick-access-card {
    min-height: 180px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.quick-access-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 36px
        rgba(0, 0, 0, 0.11);
}

.quick-icon {
    display: block;

    margin-bottom: 14px;

    font-size: 2.4rem;
}

.quick-access-card strong {
    display: block;

    margin-bottom: 7px;

    font-size: 1.15rem;
}

.quick-access-card small {
    display: block;

    color: #666666;

    font-size: 0.92rem;
}


/* =========================================================
   FOOTER

   Recommended artwork:
   1920 x 600 px

   File:
   /assets/img/footer-background.png
   ========================================================= */

.site-footer {
    position: relative;

    width: 100%;

    min-height: 380px;

    padding:
        70px
        max(4%, calc((100% - 1400px) / 2));

    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        auto
        minmax(230px, auto);

    align-items: center;

    gap: 40px;

    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.24),
            rgba(0, 0, 0, 0.24)
        ),
        url("../img/footer-background.png");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    color: #ffffff;
}


/* =========================================================
   FOOTER MAGIC iCREATIVE
   ========================================================= */

.footer-brand {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 18px;
}

.footer-brand > img,
.site-footer-logo {
    width: auto;

    max-width: 190px;
    max-height: 120px;

    object-fit: contain;
}

.footer-brand strong {
    display: block;

    font-size: 1.15rem;
}

.footer-brand p {
    margin:
        7px
        0
        0;

    max-width: 360px;

    font-size: 0.94rem;

    opacity: 0.92;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-links {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap:
        12px
        20px;
}

.footer-links a {
    padding:
        6px
        0;

    font-size: 0.9rem;
    font-weight: 700;

    opacity: 0.96;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.72;

    transform: translateY(-1px);
}


/* =========================================================
   FOOTER DEVELOPER

   Logo:
   /assets/img/sharielshariel-logo.png
   ========================================================= */

.footer-developer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-developer-link {
    display: flex;
    align-items: center;

    gap: 12px;

    text-align: left;
}

.footer-developer-logo {
    width: auto;

    max-width: 145px;
    max-height: 70px;

    object-fit: contain;
}

.footer-developer span {
    font-size: 0.82rem;

    line-height: 1.3;

    opacity: 0.92;
}

.footer-developer strong {
    font-size: 0.95rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .header-container {
        grid-template-columns:
            1fr
            auto;

        gap: 16px;
    }

    .brand-zone {
        grid-column:
            1 / -1;

        justify-content: center;
    }

    .search-wrap {
        justify-self: stretch;

        max-width: none;
    }

    .header-right {
        justify-content: flex-end;
    }


    .promo-carousel {
        height: 520px;
        min-height: 520px;
    }


    .brand-strip {
        grid-template-columns:
            190px
            minmax(0, 1fr);
    }

    .brand-strip-actions {
        grid-column:
            1 / -1;

        justify-content: center;
    }


    .site-footer {
        grid-template-columns:
            1fr
            1fr;

        padding:
            60px
            5%;
    }

    .footer-links {
        grid-column:
            1 / -1;

        grid-row: 2;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .header-container {
        width: 94%;

        display: flex;
        flex-direction: column;

        gap: 14px;

        padding:
            14px
            0;
    }

    .brand-zone {
        width: 100%;

        justify-content: center;

        gap: 10px;
    }

    .developer-logo,
    .sharielshariel-logo {
        max-width: 125px;
        max-height: 50px;
    }

    .magic-icreative-logo,
    .studio-logo {
        max-width: 155px;
        max-height: 58px;
    }

    .brand-separator {
        height: 38px;
    }

    .search-wrap {
        width: 100%;
        max-width: none;
    }

    .header-right {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .main-nav {
        width: 96%;

        min-height: auto;

        padding:
            8px
            0
            12px;

        justify-content: center;

        gap: 3px;
    }

    .main-nav > a {
        padding:
            7px
            8px;
    }

    .main-nav b {
        font-size: 0.82rem;
    }

    .main-nav small {
        font-size: 0.61rem;
    }


    .promo-carousel {
        height: 460px;
        min-height: 460px;
    }

    .carousel-slide > img,
    .video-slide video {
        object-position: center center;
    }

    .carousel-content,
    .carousel-content.right {
        width: 92%;

        padding:
            48px
            24px;

        align-items: center;

        text-align: center;
    }

    .carousel-content h1,
    .carousel-content h2,
    .carousel-content p {
        max-width: 100%;
    }

    .carousel-overlay,
    .carousel-overlay.soft {
        background:
            rgba(0, 0, 0, 0.34);
    }

    .carousel-arrow {
        width: 42px;
        height: 42px;

        font-size: 1.7rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }


    .brand-strip {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 26px;

        text-align: center;
    }

    .brand-strip-logo {
        margin:
            0
            auto;
    }

    .brand-strip-actions {
        justify-content: center;
    }


    .quick-access-grid {
        grid-template-columns: 1fr;
    }


    .site-footer {
        min-height: 440px;

        padding:
            55px
            6%;

        grid-template-columns: 1fr;

        gap: 30px;

        text-align: center;

        background-position:
            center center;
    }

    .footer-brand {
        flex-direction: column;

        justify-content: center;
    }

    .footer-brand > img,
    .site-footer-logo {
        max-width: 175px;
    }

    .footer-brand p {
        margin:
            8px
            auto
            0;
    }

    .footer-links {
        grid-column: auto;
        grid-row: auto;

        justify-content: center;
    }

    .footer-developer {
        justify-content: center;
    }

    .footer-developer-link {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .brand-zone {
        flex-direction: column;

        gap: 8px;
    }

    .brand-separator {
        display: none;
    }

    .developer-logo,
    .sharielshariel-logo {
        max-width: 130px;
    }

    .magic-icreative-logo,
    .studio-logo {
        max-width: 160px;
    }

    .language-switch {
        width: 100%;

        justify-content: center;
    }

    .lang-btn {
        flex: 1;

        max-width: 125px;
    }


    .promo-carousel {
        height: 420px;
        min-height: 420px;
    }

    .carousel-content,
    .carousel-content.right {
        padding:
            40px
            18px;
    }

    .carousel-kicker {
        font-size: 0.76rem;
    }

    .carousel-content h1,
    .carousel-content h2 {
        font-size:
            clamp(
                1.8rem,
                10vw,
                2.5rem
            );
    }

    .carousel-button {
        width: 100%;

        max-width: 240px;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
    }


    .brand-strip {
        width: 94%;

        padding:
            22px
            18px;
    }

    .quick-access-grid {
        width: 94%;
    }


    .site-footer {
        min-height: 420px;

        padding:
            48px
            20px;
    }

    .footer-developer-logo {
        max-width: 130px;
    }
}