* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    position: sticky;
    /*position: absolute;*/
    top: 0;
    left: 0;
}

/* Default: Sembunyikan burger menu di desktop */
header button.burger-menu {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    /*z-index: 1100;*/
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
header .logo img {
    height: 70px;
}
header .menu {
    display: flex;
    list-style: none;
}
header .menu li {
    margin: 0 15px;
    position: relative;
}
header .menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative;
    display: inline-block;
}
header .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease-in-out;
}
header .menu a:hover::after {
    width: 100%;
}
header .actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
header .actions .contact {
    position: relative;
    padding: 8px 20px;
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
}
header .actions .contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease-in-out;
    z-index: -1;
}
header .actions .contact:hover::before {
    left: 0;
}
header .actions .contact:hover {
    padding-left: 24px;
    padding-right: 32px;
    border-left: 4px solid white;
}
header .actions .contact::after {
    content: "→";
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, right 0.3s ease-in-out;
}
header .actions .contact:hover::after {
    opacity: 1;
    right: 10px;
}
header .actions .build {
    background: white;
    color: black;
    border: none;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
header .actions .build::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
}
header .actions .build:hover::before {
    left: 0;
}
header .actions .build:hover {
    transform: scale(1.05);
}
header .actions .build img {
    width: 20px;
    margin-right: 5px;
    transition: transform 0.3s ease-in-out;
}
header .actions .build:hover img {
    transform: scale(1.1);
}

/* Menu Mobile */
header .menu-mobile {
    display: none; /* Default: Sembunyi */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}

header .menu-mobile .close-btn {
    font-size: 18px;
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
}

header .menu-mobile .close-btn span {
    margin-left: 8px;
}

header .menu-mobile .menu-mobile-content a {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    margin: 10px 0;
}

header .menu-mobile .menu-mobile-content a:hover {
    color: #000;
}

header .menu-mobile .menu-mobile-content .menu-divider {
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

header .menu-mobile .contact-info {
    font-size: 16px;
    color: #777;
    margin-top: 20px;
}

header .menu-mobile .contact-info a {
    color: #444;
    text-decoration: none;
}

header .menu-mobile .contact-info a:hover {
    text-decoration: underline;
}

main {
    width: 100%; /* Lebar penuh */
    max-width: 1200px; /* Maksimal lebar agar konten tidak terlalu besar */
    margin: -93px auto 0; /* Beri margin minus agar dibelakang header */
    display: flex;
    flex-direction: column;
    align-items: center;
}

main img {
    width: 100%; /* Lebar penuh */
    max-width: 100vw; /* Maksimal sesuai lebar layar */
    height: auto; /* Jaga proporsi gambar */
    object-fit: cover; /* Menyesuaikan gambar agar tetap proporsional */
    border-radius: 10px; /* Opsional: Beri sudut tumpul agar lebih estetis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opsional: Efek bayangan */
}


@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    header button.burger-menu {
        display: block; /* Tampilkan burger menu */
    }
    header .menu {
        display: none;
    }
    header .actions {
        margin-left: auto;
        gap: 5px;
    }
    header .actions .build {
        display: none;
    }

    main img {
        border-radius: 5px; /* Sudut lebih kecil di layar kecil */
    }
}
