/* General Reset */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.menu-btn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Hidden by default, shown on mobile */
}

.menu-btn i {
    color: #333;
}


/* Hero Section */
.hero {
    background-image: url('https://i.ibb.co/jPfs2cjj/im.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 20px;
    position: relative;
}

.hero-content {
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Search Form */
.search-form {
    margin-top: -100px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.search-form input {
    text-align: start;
flex: 1;
    margin-right: 10px;
    padding: 10px 110px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.search-form select {
    flex: 1;
    margin-right: 10px;
    padding: 10px 110px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.search-btn {
    padding: 10px 26px;
    background-color: #ff6600;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
}

.search-btn:hover {
    background-color: #e65500;
}

/* Button Group (Registrasi & Login) */
.button-group {
    display: flex;
    gap: 10px;
}

.button-group .btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button-group .btn.registrasi {
    background-color: #ff6600;
}

.button-group .btn.login {
    background-color: #007BFF;
}

.button-group .btn:hover {
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .button-group {
        flex-direction: column;
        position: absolute;
        top: 60px; /* Sesuaikan dengan tinggi header */
        right: 20px;
        background-color: #fff;
        padding: 10px 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .button-group.show {
        display: flex;
    }
}

/* Jelajahi Peluang Kerja */
.popular-section-title {
    text-align: center;
    font-size: 28px;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #333;
}

.popular-section {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.popular-locations, .popular-categories, .job-types {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 0 20px;
    flex: 1;
    position: relative;
    margin: 0;
    border-left: 1px solid #e0e0e0; /* Border di kiri */
}

.popular-locations {
    border-left: none; /* Hapus border kiri pada elemen pertama */
}

.popular-locations .icon, .popular-categories .icon, .job-types .icon {
    font-size: 32px;
    color: #007BFF;
    margin-right: 15px;
    align-self: flex-start;
}

.popular-locations h2, .popular-categories h3, .job-types h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.popular-locations p, .popular-categories p, .job-types p,
.popular-locations a, .popular-categories a, .job-types a {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.popular-locations a, .popular-categories a, .job-types a {
    font-weight: bold;
    color: #007BFF;
}

.popular-locations a:hover, .popular-categories a:hover, .job-types a:hover {
    text-decoration: underline;
}

/* Tampilan untuk layar kecil (mobile/Android) */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        max-width: 100%;
    }

    .search-form input,
    .search-form select {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }

    .popular-section {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start */
        padding-left: 10px; /* Tambahkan padding kiri */
        padding-right: 10px; /* Tambahkan padding kanan */
    }

    .popular-locations, .popular-categories, .job-types {
        margin-bottom: 20px;
        border-left: none; /* Remove left border */
        border-bottom: 1px solid #e0e0e0; /* Add bottom border */
        padding-left: 10px; /* Tambahkan padding kiri */
        padding-right: 10px; /* Tambahkan padding kanan */
        border-right: none; /* Hapus border kanan */
    }

    .popular-locations,
    .popular-categories,
    .job-types {
        max-width: 100%; /* Batasi lebar kolom */
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tampilan untuk layar kecil (mobile/Android) */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        max-width: 100%;
    }

    .search-form input,
    .search-form select {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }

    .popular-section {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start */
    }

    .popular-locations, .popular-categories, .job-types {
        margin-bottom: 20px;
        border-left: none; /* Remove left border */
        border-bottom: 1px solid #e0e0e0; /* Add bottom border */
        padding-left: 0;
        padding-right: 0; /* Remove padding on right */
        border-right: 1px solid #e0e0e0; /* Add right border */
    }
}

/* Bagian Pencari Kerja */
.job-seeker {
    background-color: #fff; /* Latar belakang putih */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Efek bayangan */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-direction: row-reverse; /* Menempatkan gambar di sebelah kanan teks */
}

.job-seeker img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
}

.job-seeker .text-content {
    max-width: 50%;
    padding-right: 40px; /* Jarak antara teks dan gambar */
}

.job-seeker h2 {
    color: #ff6600; /* Warna judul Pencari Kerja */
    font-size: 28px;
    margin-bottom: 20px;
}

.job-seeker h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.job-seeker p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.job-seeker ul {
    list-style-type: none;
    padding-left: 0;
}

.job-seeker ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.job-seeker ul li img {
    width: 50px; /* Ukuran ikon */
    margin-right: 10px; /* Jarak antara ikon dan teks */
    vertical-align: middle; /* Menyelaraskan ikon dengan teks */
}

.job-seeker button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.job-seeker button:hover {
    background-color: #e65500;
}

/* Aturan untuk tampilan mobile */
@media (max-width: 768px) {
    .job-seeker {
        flex-direction: column; /* Gambar di atas teks pada mobile */
    }

    .job-seeker img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .job-seeker .text-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
}

/* Bagian Perusahaan */
.employer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f5f5; /* Latar belakang abu-abu */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.employer img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
}

.employer .text-content {
    max-width: 50%;
    padding-left: 40px;
}

.employer h2 {
    color: #ff6600; /* Warna judul "Perusahaan" */
    font-size: 28px;
    margin-bottom: 20px;
}

.employer h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.employer p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.employer ul {
    list-style-type: none;
    padding-left: 0;
}

.employer ul li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

/* Gaya untuk ikon dalam daftar */
.employer ul li img,
.pencari-kerja ul li img {
    width: 50px; /* Ukuran ikon */
    margin-right: 10px; /* Jarak antara ikon dan teks */
    vertical-align: middle; /* Menyelaraskan ikon dengan teks */
}


.employer button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.employer button:hover {
    background-color: #e65500;
}

/* Aturan untuk tampilan mobile */
@media (max-width: 768px) {
    .employer {
        flex-direction: row; /* Menjaga arah gambar dan teks tetap horizontal pada mobile */
        flex-wrap: wrap; /* Mengizinkan baris baru jika diperlukan */
        text-align: left;
    }

    .employer img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .employer .text-content {
        max-width: 100%;
        padding-left: 0;
    }

    .employer button {
        align-self: flex-start; /* Menyelaraskan tombol ke kiri */
        margin-top: 20px;
    }
}

/* Footer Styling */
footer {
    background-color: #2c2c2c;
    padding: 20px 0;
    color: #ddd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin: 0;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #ddd;
    font-size: 20px;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffffff;
}

.social-icon i {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s;
}

.social-icon:hover i {
    color: #2c2c2c;
    background-color: #ddd;
}
