
/* =========================
   GLOBAL STYLE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --navy: #101d32;
    --navy-light: #1b2e49;
    --gold: #d6ad60;
    --white: #ffffff;
    --light: #f5f6f8;
    --text: #454b55;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 100px 7%;
}

.section-container {
    max-width: 1200px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 7%;
    transition: 0.4s ease;
}

.header.scrolled {
    background: var(--navy);
    padding: 14px 7%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo span {
    color: var(--gold);
}

.logo small {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 38px;
}

.navbar a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar a:hover {
    color: var(--gold);
}

.navbar .nav-contact {
    border: 1px solid var(--gold);
    padding: 12px 25px;
    border-radius: 4px;
}

.navbar .nav-contact:hover {
    background: var(--gold);
    color: var(--navy);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 27px;
    cursor: pointer;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 100vh;
    background-image: url("img/wal.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 7% 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9, 20, 38, 0.95) 0%,
        rgba(9, 20, 38, 0.80) 50%,
        rgba(9, 20, 38, 0.35) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: var(--white);
}

.hero-label,
.section-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: 1.15;
    font-weight: 800;
    margin: 25px 0;
}

.hero h1 span {
    color: var(--gold);
    display: block;
}

.hero-content > p {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
}

.hero-info {
    display: flex;
    gap: 45px;
    margin-top: 75px;
    flex-wrap: wrap;
}

.hero-info div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hero-info strong {
    color: var(--gold);
    font-size: 22px;
}

.hero-info span {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-family: 'Manrope', sans-serif;
    color: var(--navy);
    font-size: clamp(27px, 4vw, 42px);
    margin: 18px 0;
    line-height: 1.3;
}

.section-heading h2 span {
    color: #b58a43;
}

.section-heading > p {
    max-width: 600px;
    margin: auto;
    line-height: 1.8;
}


/* =========================
   ABOUT SECTION
========================= */

.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 65px;
}

.about-image {
    position: relative;
    height: 480px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(16,29,50,0.9);
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.image-caption strong {
    color: var(--gold);
    letter-spacing: 2px;
}

.image-caption span {
    font-size: 12px;
}

.about-text p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 17px;
    text-align: justify;
}

.text-link {
    display: inline-block;
    color: #a67b35;
    font-weight: 700;
    margin-top: 10px;
    font-size: 14px;
}

.text-link:hover {
    color: var(--navy);
}


/* =========================
   SERVICES SECTION
========================= */

.services {
    background: var(--light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    border-bottom: 3px solid transparent;
    box-shadow: 0 10px 35px rgba(0,0,0,0.04);
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.09);
}

.service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--navy);
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Manrope', sans-serif;
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.9;
}


/* =========================
   CONTACT SECTION
========================= */

.contact {
    background: var(--navy);
    text-align: center;
}

.contact-content {
    max-width: 750px;
}

.contact h2 {
    font-family: 'Manrope', sans-serif;
    color: white;
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.3;
    margin: 25px 0;
}

.contact h2 span {
    color: var(--gold);
}

.contact p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #0a1424;
    padding: 40px 7%;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer h3 {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
}

.copyright {
    text-align: right;
}


/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 900px) {

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-info {
        gap: 25px;
    }
}


/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 768px) {

    .header {
        padding: 17px 6%;
    }

    .header.scrolled {
        padding: 14px 6%;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .navbar.active {
        max-height: 350px;
    }

    .navbar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 6% 25px;
    }

    .navbar li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar a {
        display: block;
        padding: 16px 0;
    }

    .navbar .nav-contact {
        display: inline-block;
        margin-top: 10px;
        padding: 10px 20px;
    }

    .hero {
        min-height: 100vh;
        padding: 140px 6% 60px;
        background-position: center;
    }

    .hero-overlay {
        background: rgba(9,20,38,0.82);
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-info {
        margin-top: 50px;
        gap: 25px;
    }

    .hero-info div {
        min-width: 40%;
    }

    .section-padding {
        padding: 75px 6%;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .about-image {
        height: 300px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 25px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        text-align: left;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-info {
        flex-direction: column;
    }

}
/* LOGO HEADER */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #20211e;
}

.logo img {
    width: 120px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text strong span {
    color: #f06436;
}

.logo-text small {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 3px;
}

/* =========================================
   MOBILE RESPONSIVE DESIGN
   LPK AKTIF MUDA KOOPERATIF
========================================= */

/* TABLET */
@media (max-width: 992px) {

    .section-container {
        width: 90%;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .about-content {
        gap: 30px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */
@media (max-width: 768px) {

    /* GLOBAL */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        overflow-x: hidden;
        font-size: 14px;
    }

    .section-container {
        width: 90%;
        max-width: 100%;
    }

    .section-padding {
        padding: 65px 0;
    }


    /* HEADER */
    .header {
        height: 70px;
        padding: 0;
        background: #ffffff;
        box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    }

    .header.scrolled {
        height: 65px;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(12px);
    }

    .nav-container {
        width: 90%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        align-items: center;
        z-index: 1001;
    }

    .logo img {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 10px;
        background: #f2f3f5;
        color: #20211e;
        font-size: 23px;
        cursor: pointer;
        z-index: 1002;
    }

    /* MOBILE NAVIGATION */
    .navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 0 5%;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: max-height 0.35s ease,
                    opacity 0.3s ease,
                    padding 0.3s ease,
                    visibility 0.3s;
        box-shadow: 0 12px 20px rgba(0,0,0,0.08);
        z-index: 999;
    }

    .navbar.active {
        max-height: 400px;
        padding-top: 15px;
        padding-bottom: 20px;
        visibility: visible;
        opacity: 1;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .navbar ul li {
        width: 100%;
        list-style: none;
    }

    .navbar ul li a {
        display: block;
        padding: 15px 10px;
        font-size: 15px;
        font-weight: 600;
        color: #20211e;
        border-bottom: 1px solid #eeeeee;
        text-decoration: none;
    }

    .navbar ul li a:hover {
        color: #d65b35;
        padding-left: 17px;
    }

    .navbar ul li:last-child a {
        border-bottom: none;
    }

    .nav-contact {
        display: inline-block;
        margin-top: 10px;
    }


    /* HERO SECTION */
    .hero {
        min-height: 750px;
        height: auto;
        display: flex;
        align-items: center;
        padding: 110px 0 55px;
        background-position: center;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.48),
            rgba(0,0,0,0.78)
        );
    }

    .hero-content {
        width: 90%;
        padding: 0;
        margin: 0 auto;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 45px);
        line-height: 1.2;
        margin-bottom: 20px;
        letter-spacing: -1.2px;
    }

    .hero h1 span {
        display: block;
    }

    .hero-content > p {
        font-size: 14px;
        line-height: 1.8;
        max-width: 450px;
        margin: 0 auto 28px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 40px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 14px;
        border-radius: 8px;
    }

    .hero-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
        text-align: left;
    }

    .hero-info > div {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 13px 16px;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 10px;
        backdrop-filter: blur(8px);
    }

    .hero-info strong {
        font-size: 25px;
        min-width: 65px;
        text-align: center;
    }

    .hero-info span {
        font-size: 12px;
        line-height: 1.5;
    }


    /* SECTION HEADING */
    .section-heading {
        text-align: center;
        margin-bottom: 35px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .section-heading h2 {
        font-size: 27px;
        line-height: 1.35;
        margin-top: 12px;
    }

    .section-heading p {
        font-size: 13px;
        line-height: 1.8;
    }


    /* ABOUT SECTION */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .about-image {
        width: 100%;
        position: relative;
        border-radius: 14px;
        overflow: hidden;
    }

    .about-image img {
        width: 100%;
        height: 270px;
        object-fit: cover;
        display: block;
    }

    .image-caption {
        padding: 18px;
    }

    .image-caption strong {
        font-size: 15px;
    }

    .image-caption span {
        font-size: 12px;
    }

    .about-text {
        width: 100%;
    }

    .about-text p {
        font-size: 13px;
        line-height: 1.9;
        margin-bottom: 17px;
        text-align: justify;
    }

    .text-link {
        display: inline-block;
        margin-top: 8px;
        font-size: 14px;
    }


    /* SERVICES SECTION */
    .service-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        width: 100%;
        padding: 25px 22px;
        border-radius: 14px;
        transition: transform 0.3s ease;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.8;
    }


    /* CONTACT SECTION */
    .contact {
        padding: 65px 0;
    }

    .contact-content {
        text-align: center;
    }

    .contact-content h2 {
        font-size: 28px;
        line-height: 1.4;
        margin: 15px 0;
    }

    .contact-content p {
        font-size: 13px;
        line-height: 1.8;
        max-width: 400px;
        margin: 0 auto 25px;
    }

    .contact-content .btn {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        max-width: 260px;
        padding: 15px;
    }


    /* FOOTER */
    .footer {
        padding: 40px 0 25px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-content h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .footer-content p {
        font-size: 12px;
        line-height: 1.8;
    }

    .copyright {
        border-top: 1px solid rgba(255,255,255,0.12);
        padding-top: 20px;
        width: 100%;
    }

}


/* SMALL MOBILE */
@media (max-width: 380px) {

    .hero {
        min-height: 720px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .contact-content h2 {
        font-size: 25px;
    }

    .about-image img {
        height: 220px;
    }

}

/* ==========================================
   HERO BACKGROUND KHUSUS MOBILE / HP
========================================== */

@media screen and (max-width: 600px) {

    .hero {
        position: relative;

        min-height: 750px;
        height: auto;

        background-image: url("img/hero-mobile.png");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;

        display: flex;
        align-items: center;

        padding: 100px 22px 55px;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;

        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.75)
        );

        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;

        width: 100%;
        max-width: 100%;

        text-align: left;
    }

    .hero-content h1 {
        font-size: clamp(34px, 9vw, 43px);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.8;
        max-width: 100%;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        margin-top: 25px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    .hero-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;

        margin-top: 35px;
    }

    .hero-info > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

}

/* HP ukuran kecil */

@media screen and (max-width: 380px) {

    .hero {
        min-height: 700px;
        padding: 90px 18px 45px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 13px;
    }

}
