/* ==== RESET & DASAR ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ==== CONTAINER ==== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==== NAVBAR ==== */
.navbar {
    background: #002B5B;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    margin-left: -100px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* ==== NAVIGATION LINKS ==== */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 14px;
    transition: color 0.3s, background 0.3s;
    border-radius: 6px;
    display: block;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 2px;
    width: 0;
    background: #FFD700;
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: calc(100% - 20px);
}

.nav-links li a.active {
    color: #FFD700;
}

/* ==== LOGIN BUTTON ==== */
.btn-login {
    background: #DC143C;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
    margin-left: 4px;
}

.btn-login::after { display: none; }

.btn-login:hover {
    background: #a30e2a;
}

/* ==== HAMBURGER MENU FIX ==== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #fff;
    display: block;
    border-radius: 3px;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==== PROFILE DROPDOWN ==== */
.nav-profile {
    position: relative;
    list-style: none;
}

.nav-profile .profile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #123465;
    padding: 6px 14px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s;
}

.nav-profile .profile-toggle:hover {
    background: #0d2b4d;
}

.nav-profile .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #eee;
}

.nav-profile .username {
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-profile .arrow {
    font-size: 0.7rem;
}

.nav-profile .dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    padding: 6px 0;
    z-index: 2000;
    list-style: none;
}

.nav-profile:hover .dropdown-menu {
    display: flex;
}

.nav-profile .dropdown-menu li a,
.nav-profile .dropdown-menu li button {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #333;
    display: block;
    text-decoration: none;
    transition: background 0.2s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.nav-profile .dropdown-menu li a:hover,
.nav-profile .dropdown-menu li button:hover {
    background: #f7f7f7;
}

/* ==== HERO SECTION ==== */
.hero {
    position: relative;
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 91, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-buttons .btn-primary {
    background: #FFD700;
    color: #002B5B;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

.hero-buttons .btn-primary:hover {
    background: #e6c200;
}

/* ==== SECTION UMUM ==== */
.section {
    padding: 60px 0;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section p {
    max-width: 700px;
    margin: 0 auto;
}

/* ==== GRID PANDUAN ==== */
.panduan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.panduan-grid .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 260px;
}

.panduan-grid .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.panduan-grid .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.panduan-grid .card h3 {
    margin: 15px 0 10px;
}

.panduan-grid .card p {
    padding: 0 15px 20px;
}

/* ==== SLIDER ==== */
.slider-container {
    position: relative;
    max-width: 100%;
    margin-top: 20px;
}

.slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.slider .card {
    flex: 0 0 auto;
    min-width: 250px;
    max-width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    margin: 10px 0;
}

.slider .card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    height: 150px;
    object-fit: cover;
}

.no-lowongan {
    text-align: center;
    margin: 20px 0;
}

/* ==== KONTAK ==== */
.kontak-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1551836022-4c4c79ecde51?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    color: #fff;
    padding: 80px 20px;
}

.kontak-overlay {
    background: rgba(0,0,0,0.6);
    padding: 50px 20px;
    border-radius: 10px;
    text-align: center;
}

.kontak-section h2, .kontak-section p, .kontak-section a {
    color: #fff;
}

.kontak-section a:hover { color: #FFD700; }

/* ==== FOOTER ==== */
footer {
    background: #002B5B;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* ==== PHOTO SIDEBAR & JAM ==== */
.photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 8px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 50px;
    color: #adb5bd;
}

.sidebar-photo {
    margin-top: auto;
    padding-bottom: 15px;
    text-align: center;
}

.time-box {
    margin-top: 10px;
}

.clock {
    font-size: 20px;
    color: #0dcaf0;
    text-shadow: 0 0 10px #0dcaf0, 0 0 20px #0dcaf0, 0 0 40px #0dcaf0;
}

#date {
    display: block;
    color: #0dcaf0;
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 8px #0dcaf0, 0 0 20px #0dcaf0, 0 0 40px #0dcaf0;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
    .slider .card { flex: 0 0 45%; }
    .logo { margin-left: -40px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        right: 10px;
        width: 220px;
        background: #002B5B;
        border-radius: 0 0 10px 10px;
        padding: 12px 0;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .slider .card { flex: 0 0 80%; }
    .logo { margin-left: 0; }
}

@media (max-width: 576px) {
    .panduan-grid { justify-content: center; }
    .logo img { height: 40px; }
    .btn-login { padding: 5px 12px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 1rem; }
}