/* =========================================================
   PT DIRATAMA MAPAN SEJAHTERA
   GLOBAL STYLES
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --navy: #0B2545;
    --yellow: #FFC107;
    --yellow-hover: #E0A800;

    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-text: #D1D5DB;
    --gray-dark: #4B5563;
    --gray-muted: #9CA3AF;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background-color: var(--navy);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   3. GLOBAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--yellow);
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 2rem;
    max-width: 600px;
}


/* =========================================================
   4. GLOBAL UTILITIES
   ========================================================= */

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-gray {
    color: var(--gray-text) !important;
}

.text-navy {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 1px;
}

.center-badge {
    justify-content: center;
    margin-bottom: 15px;
}


/* =========================================================
   5. BADGE
   ========================================================= */

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--yellow);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.badge .line {
    width: 40px;
    height: 2px;
    background: var(--yellow);
}

.section-badge {
    color: var(--navy);
}


/* =========================================================
   6. SECTION TITLE
   ========================================================= */

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}


/* =========================================================
   7. GLOBAL BUTTON
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
    border-radius: 2px;
}

.btn-primary {
    background: var(--yellow);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--yellow-hover);
}

.btn-outline {
    background: rgba(11, 37, 69, 0.7);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(11, 37, 69, 1);
    border-color: var(--white);
}


/* =========================================================
   8. NAVBAR
   ========================================================= */

header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    padding: 20px 5%;

    transition: 0.4s ease;
}

header.scrolled {
    background: var(--white);

    padding: 15px 5%;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* =========================================================
   9. NAVBAR LOGO
   ========================================================= */

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;

    color: var(--white);

    transition: 0.3s;
}

.logo-text .company-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
}

.logo-text .tagline {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--yellow);
    margin-top: 4px;
}

header.scrolled .logo-text .company-name {
    color: var(--navy);
}


/* =========================================================
   10. DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--white);

    font-weight: 600;
    font-size: 0.95rem;

    position: relative;

    transition: 0.3s;
}

header.scrolled .desktop-nav a {
    color: var(--navy);
}

.desktop-nav a::after {
    content: '';

    position: absolute;

    bottom: -5px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--yellow);

    transition: 0.3s;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* =========================================================
   11. HAMBURGER
   ========================================================= */

.hamburger {
    background: none;
    border: none;

    font-size: 1.8rem;

    color: var(--white);

    cursor: pointer;

    display: none;

    transition: 0.3s;
}

header.scrolled .hamburger {
    color: var(--navy);
}


/* =========================================================
   12. MOBILE MENU
   ========================================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: -100%;

    width: 100%;
    height: 100vh;

    background: var(--navy);

    z-index: 999;

    padding: 30px;

    display: flex;
    flex-direction: column;

    transition: 0.4s ease-in-out;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;

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

    margin-bottom: 50px;
}

.close-btn {
    background: none;
    border: none;

    font-size: 2rem;

    color: var(--white);

    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;

    gap: 25px;

    margin-bottom: 40px;
}

.mobile-nav a {
    color: var(--white);

    font-family: var(--font-heading);

    font-size: 1.3rem;
    font-weight: 600;

    border-left: 3px solid transparent;

    padding-left: 10px;
}

.mobile-nav a.active {
    border-color: var(--yellow);
    color: var(--yellow);
}

.mobile-btn {
    width: 100%;
    margin-bottom: auto;
}

.mobile-social {
    display: flex;

    gap: 20px;

    justify-content: center;

    padding-bottom: 20px;
}

.mobile-social a {
    color: var(--white);

    font-size: 1.5rem;

    transition: 0.3s;
}

.mobile-social a:hover {
    color: var(--yellow);
}


/* =========================================================
   13. GLOBAL RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    h1 {
        font-size: 2.8rem;
    }

    .desktop-nav,
    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

}


@media (max-width: 768px) {

    h1 {
        font-size: 2.2rem;
    }

}

