/* =========================================
   MAS ISMAIL
   CSS KHUSUS HOME
========================================= */
/* =========================================
   1. HERO SECTION
========================================= */

.hero-section {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 90px;
    padding-bottom: 70px;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(212, 175, 95, 0.12),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f7fa 55%,
            #eef2f6 100%
        );

    overflow: hidden;
}

/* =========================================
   2. HERO BACKGROUND
========================================= */

.hero-background {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

/* Lingkaran dekorasi */

.hero-background::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: 50%;
    left: 50%;

    border: 1px solid rgba(
        7,
        27,
        58,
        0.06
    );

    border-radius: 50%;

    transform:
        translate(-50%, -50%);
}

/* Lingkaran kedua */

.hero-background::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    top: 50%;
    left: 50%;

    border: 1px solid rgba(
        212,
        175,
        95,
        0.14
    );

    border-radius: 50%;

    transform:
        translate(-50%, -50%);
}

/* =========================================
   3. HERO CONTENT
========================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 40px),
        850px
    );

    margin-inline: auto;

    text-align: center;
}

/* =========================================
   4. HERO LOGO
========================================= */

.hero-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
}

.hero-logo img {
    width: 125px;
    height: 125px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 25px
            rgba(7, 27, 58, 0.14)
        );

    animation:
        heroLogoFloat 5s ease-in-out infinite;
}

/* =========================================
   5. HERO LABEL
========================================= */

.hero-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    margin-bottom: 16px;

    padding: 7px 15px;

    background:
        rgba(212, 175, 95, 0.10);

    border: 1px solid
        rgba(212, 175, 95, 0.25);

    border-radius:
        var(--radius-pill);

    color:
        #9a762d;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

/* =========================================
   6. HERO TITLE
========================================= */

.hero-content h1 {
    margin-inline: auto;

    color:
        var(--color-navy);

    font-size:
        clamp(
            3.4rem,
            9vw,
            6.8rem
        );

    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -0.07em;
}

/* =========================================
   7. HERO DESCRIPTION
========================================= */

.hero-description {
    max-width: 650px;

    margin:
        26px auto 0;

    color:
        var(--color-text-soft);

    font-size:
        clamp(
            0.95rem,
            2vw,
            1.08rem
        );

    line-height: 1.85;
}

/* =========================================
   8. HERO ACTIONS
========================================= */

.hero-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

/* =========================================
   9. HERO BUTTON PRIMARY
========================================= */

.hero-actions .button-primary {
    background:
        var(--color-navy);

    color:
        var(--color-white);

    border-color:
        var(--color-navy);

    box-shadow:
        0 10px 25px
        rgba(7, 27, 58, 0.16);
}

.hero-actions .button-primary:hover {
    background:
        var(--color-navy-light);

    border-color:
        var(--color-navy-light);
}

/* =========================================
   10. HERO BUTTON SECONDARY
========================================= */

.hero-actions .button-secondary {
    background:
        rgba(255, 255, 255, 0.85);

    color:
        var(--color-navy);

    border-color:
        rgba(7, 27, 58, 0.12);
}

.hero-actions .button-secondary:hover {
    background:
        var(--color-white);

    border-color:
        var(--color-primary);

    color:
        var(--color-navy);
}

/* =========================================
   11. HERO LOGO ANIMATION
========================================= */

@keyframes heroLogoFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-7px);
    }

}

/* =========================================
   12. HERO TABLET
========================================= */

@media (max-width: 900px) {

    .hero-logo img {
        width: 110px;
        height: 110px;
    }

}

/* =========================================
   13. HERO MOBILE
========================================= */

@media (max-width: 700px) {

    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .hero-content {
        width: min(
            calc(100% - 32px),
            700px
        );
    }

    .hero-logo {
        margin-bottom: 20px;
    }

    .hero-logo img {
        width: 100px;
        height: 100px;
    }

    .hero-label {
        margin-bottom: 14px;

        font-size: 0.68rem;
    }

    .hero-content h1 {
        font-size:
            clamp(
                3.1rem,
                17vw,
                5rem
            );
    }

    .hero-description {
        margin-top: 20px;

        font-size: 0.92rem;

        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;

        margin-top: 28px;
    }

    .hero-actions .button {
        width: 100%;

        max-width: 320px;
    }

    .hero-background::before {
        width: 360px;
        height: 360px;
    }

    .hero-background::after {
        width: 250px;
        height: 250px;
    }

}

/* =========================================
   14. HERO SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero-logo img {
        width: 88px;
        height: 88px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

}

/* =========================================
   8. ABOUT SECTION
========================================= */

.about-section {
    padding-top: 120px;
    padding-bottom: 120px;

    background:
        var(--color-white);
}

/* =========================================
   9. ABOUT LAYOUT
========================================= */

.about-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(320px, 1.15fr);

    gap: 80px;

    align-items: center;
}

/* =========================================
   10. ABOUT IMAGE
========================================= */

.about-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    max-width: 460px;

    margin-inline: auto;

    padding: 12px;

    background:
        linear-gradient(
            145deg,
            var(--color-navy),
            var(--color-navy-light)
        );

    border-radius: 32px;

    box-shadow:
        0 25px 60px
        rgba(7, 27, 58, 0.16);

    overflow: hidden;
}

.about-image::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -65px;
    bottom: -65px;

    border: 1px solid
        rgba(212, 175, 95, 0.5);

    border-radius: 50%;
}

/* =========================================
   11. ABOUT IMAGE FRAME
========================================= */

.about-image-frame {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #eef2f6,
            #dfe6ee
        );

    border-radius: 24px;

    overflow: hidden;
}

.about-image-frame::before {
    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid
        rgba(212, 175, 95, 0.45);

    border-radius: 18px;
}

.about-image-frame span {
    position: relative;

    color:
        rgba(7, 27, 58, 0.4);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

/* =========================================
   12. ABOUT INFO
========================================= */

.about-info {
    max-width: 620px;
}

.about-section .section-heading {
    margin-bottom: 28px;
}

.about-section .section-heading h2 {
    color:
        var(--color-navy);

    font-size:
        clamp(
            2.4rem,
            5vw,
            4rem
        );

    line-height: 1;

    letter-spacing: -0.06em;
}

/* =========================================
   13. ABOUT TEXT
========================================= */

.about-text {
    display: flex;

    flex-direction: column;

    gap: 18px;

    color:
        var(--color-text-soft);

    font-size: 0.98rem;

    line-height: 1.9;
}

/* =========================================
   14. ABOUT HIGHLIGHTS
========================================= */

.about-highlights {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-top: 34px;
}

/* =========================================
   15. ABOUT HIGHLIGHT
========================================= */

.about-highlight {
    display: flex;

    flex-direction: column;

    min-height: 105px;

    padding: 18px;

    background:
        var(--color-background-soft);

    border: 1px solid
        var(--color-border);

    border-radius:
        var(--radius-medium);

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.about-highlight:hover {
    transform: translateY(-3px);

    border-color:
        rgba(212, 175, 95, 0.45);

    box-shadow:
        var(--shadow-small);
}

.about-highlight strong {
    margin-bottom: 7px;

    color:
        var(--color-navy);

    font-size: 1rem;
    font-weight: 800;
}

.about-highlight span {
    color:
        var(--color-text-soft);

    font-size: 0.72rem;

    line-height: 1.5;
}

/* =========================================
   16. ABOUT TABLET
========================================= */

@media (max-width: 900px) {

    .about-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .about-image {
        width: min(
            100%,
            420px
        );
    }

    .about-info {
        max-width: 700px;
    }

}

/* =========================================
   17. ABOUT MOBILE
========================================= */

@media (max-width: 700px) {

    .about-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-layout {
        gap: 40px;
    }

    .about-image {
        width: 100%;

        max-width: 360px;

        border-radius: 26px;
    }

    .about-image-frame {
        border-radius: 19px;
    }

    .about-section .section-heading {
        margin-bottom: 22px;
    }

    .about-section .section-heading h2 {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: 0.92rem;

        line-height: 1.8;
    }

    .about-highlights {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 28px;
    }

    .about-highlight {
        min-height: auto;

        padding: 16px;
    }

       }
/* =========================================
   13. BRANDS SECTION
========================================= */
/* =========================================
   18. BRANDS SECTION
========================================= */

.brands-section {
    position: relative;

    padding-top: 120px;
    padding-bottom: 120px;

    background:
        linear-gradient(
            180deg,
            #f5f7fa 0%,
            #ffffff 100%
        );

    overflow: hidden;
}

/* =========================================
   19. BRANDS HEADING
========================================= */

.brands-section .section-heading {
    max-width: 700px;
}

.brands-section .section-heading h2 {
    max-width: 650px;

    margin-bottom: 16px;

    color:
        var(--color-navy);

    font-size:
        clamp(
            2.4rem,
            5vw,
            4rem
        );

    line-height: 1.02;

    letter-spacing: -0.06em;
}

.brands-section .section-heading > p:last-child {
    max-width: 600px;

    color:
        var(--color-text-soft);

    font-size: 0.98rem;

    line-height: 1.8;
}

/* =========================================
   20. BRANDS GRID
========================================= */

.brands-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-top: 45px;
}

/* =========================================
   21. BRAND CARD
========================================= */

.brand-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 410px;

    padding: 32px;

    background:
        rgba(255, 255, 255, 0.9);

    border: 1px solid
        var(--color-border);

    border-radius:
        var(--radius-large);

    box-shadow:
        var(--shadow-small);

    overflow: hidden;

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.brand-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border-radius: 50%;

    pointer-events: none;
}

.brand-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-large);
}

/* =========================================
   22. BRAND DIGITAL
========================================= */

.brand-digital {
    border-top:
        3px solid var(--color-cyan);
}

.brand-digital::after {
    background:
        rgba(24, 197, 223, 0.08);
}

.brand-digital:hover {
    border-color:
        rgba(24, 197, 223, 0.35);
}

/* =========================================
   23. BRAND BAROKAH
========================================= */

.brand-barokah {
    border-top:
        3px solid var(--color-yellow);
}

.brand-barokah::after {
    background:
        rgba(215, 25, 32, 0.06);
}

.brand-barokah:hover {
    border-color:
        rgba(215, 25, 32, 0.25);
}

/* =========================================
   24. BRAND CARD TOP
========================================= */

.brand-card-top {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 28px;
}

/* =========================================
   25. BRAND LOGO BOX
========================================= */

.brand-logo-box {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    padding: 8px;

    background:
        var(--color-white);

    border: 1px solid
        var(--color-border);

    border-radius:
        22px;

    box-shadow:
        var(--shadow-small);
}

.brand-logo-box img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* =========================================
   26. BRAND NUMBER
========================================= */

.brand-number {
    color:
        rgba(7, 27, 58, 0.25);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}

/* =========================================
   27. BRAND CONTENT
========================================= */

.brand-content {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    flex: 1;
}

.brand-content h3 {
    margin-bottom: 12px;

    color:
        var(--color-navy);

    font-size: 1.45rem;

    line-height: 1.2;

    letter-spacing: -0.04em;
}

.brand-content p {
    max-width: 500px;

    color:
        var(--color-text-soft);

    font-size: 0.94rem;

    line-height: 1.8;
}

/* =========================================
   28. BRAND LINK
========================================= */

.brand-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    align-self: flex-start;

    margin-top: auto;
    padding-top: 28px;

    color:
        var(--color-navy);

    font-size: 0.88rem;
    font-weight: 800;

    transition:
        color var(--transition-normal),
        gap var(--transition-normal);
}

.brand-link:hover {
    color:
        var(--color-primary);

    gap: 13px;
}

.brand-link span {
    font-size: 1.1rem;
}

/* =========================================
   29. BRAND MOBILE
========================================= */

@media (max-width: 700px) {

    .brands-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .brands-section .section-heading h2 {
        font-size: 2.4rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;

        gap: 16px;

        margin-top: 35px;
    }

    .brand-card {
        min-height: 380px;

        padding: 25px;

        border-radius:
            var(--radius-medium);
    }

    .brand-logo-box {
        width: 82px;
        height: 82px;

        border-radius: 18px;
    }

}
/* =========================================
   20. TABLET
========================================= */

@media (max-width: 900px) {

    .about-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image {
        min-height: 360px;

        max-width: 600px;
    }

}

/* =========================================
   21. MOBILE
========================================= */

@media (max-width: 700px) {

    .hero-section {
        min-height: 100svh;

        padding-top: 80px;
        padding-bottom: 60px;
    }

    .hero-content {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
    }

    .hero-content h1 {
        font-size: clamp(
            3.2rem,
            18vw,
            5rem
        );
    }

    .hero-description {
        margin-top: 22px;

        font-size: 0.95rem;

        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;

        margin-top: 28px;
    }

    .hero-actions .button {
        width: 100%;

        max-width: 320px;
    }

    .about-section,
    .brands-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-section .section-heading h2,
    .brands-section .section-heading h2 {
        font-size: 2.2rem;
    }

    .about-image {
        min-height: 330px;

        border-radius: var(--radius-medium);
    }

}

/* =========================================
   22. SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-label {
        font-size: 0.7rem;
    }

    .brand-card {
        padding: 22px;
    }

  }
/* =========================================
   30. SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-left {
    transform:
        translateX(-45px);
}

.reveal-right {
    transform:
        translateX(45px);
}

.reveal.active {
    opacity: 1;

    transform:
        translateX(0);
}

/* =========================================
   31. REVEAL DELAY
========================================= */

.brand-barokah.reveal {
    transition-delay: 0.12s;
}

/* =========================================
   32. MOBILE REVEAL
========================================= */

@media (max-width: 700px) {

    .reveal-left {
        transform:
            translateY(35px);
    }

    .reveal-right {
        transform:
            translateY(35px);
    }

    .reveal.active {
        transform:
            translateY(0);
    }

}
/* =========================================
   FLOATING BACK TO HERO
========================================= */

.back-to-hero {
    position: fixed;

    right: 20px;
    bottom: 85px;

    z-index: 9999;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid
        rgba(212, 175, 95, 0.45);

    border-radius: 50%;

    background:
        rgba(7, 27, 58, 0.96);

    color:
        #ffffff;

    font-size: 1.35rem;
    font-weight: 700;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px)
        scale(0.85);

    pointer-events: none;

    box-shadow:
        0 10px 30px
        rgba(7, 27, 58, 0.25);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
}

/* MUNCUL SETELAH SCROLL */

.back-to-hero.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}

/* HOVER */

.back-to-hero:hover {
    background:
        var(--color-primary);

    color:
        var(--color-navy);

    transform:
        translateY(-3px)
        scale(1.04);
}

/* ICON */

.back-to-hero span {
    display: block;

    line-height: 1;

    transform:
        translateY(-1px);
}

/* MOBILE */

@media (max-width: 700px) {

    .back-to-hero {
        right: 16px;
        bottom: 78px;

        width: 44px;
        height: 44px;

        font-size: 1.2rem;
    }

}
