/* style.css - Optimized for Checkpoint Newtodolist */

.btn-delete {
    background: transparent;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-delete:hover {
    background: #ff6b6b;
    color: #fff;
}

.header-right {
    display: flex;
    flex-direction: column; /* Menyusun quote dan logo secara vertikal */
    align-items: flex-end;   /* Meratakan ke kanan */
    gap: 5px;               /* Jarak antara quote dan logo */
    position: relative;
    z-index: 105;
}

.logo-peradi-container {
    display: flex;
    justify-content: flex-end;
}

.logo-peradi {
    height: 30px;            /* Ukuran yang proporsional di bawah quote */
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    opacity: 0.9;            /* Sedikit transparan agar elegan */
    transition: 0.3s;
}

.logo-peradi:hover {
    opacity: 10;
    transform: scale(1.09);  /* Efek membesar tipis saat di-hover */
}

/* Mengatur ukuran spesifik ikon baru */
header .user-account img {
    width: 190px;  /* Anda bisa mengubah angka ini (misal: 24px, 30px, atau 40px) */
    height: auto; /* Menjaga agar gambar tidak gepeng */
    display: block;
    transition: transform 0.3s ease; /* Memberikan efek halus saat di-hover */
}

/* Efek sedikit membesar saat ikon disentuh kursor */
header .user-account img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Hilangkan Scrollbar Secara Keseluruhan */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden; /* Mutlak menghilangkan scrollbar */
    overflow-y: auto;
    background-color: #121212;
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

/* Sembunyikan scrollbar untuk Chrome, Safari dan Edge Baru */
html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none;
}

/* Sembunyikan scrollbar untuk Firefox */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer dan Edge Lama */
}

/* Class Khusus: Hanya untuk halaman yang TIDAK boleh di-scroll (seperti Index) */
.no-scroll {
    height: 100vh;
    overflow: hidden !important;
}

/* Layout Utama */
.main-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px - 40px); /* Sisa ruang antara header dan footer */
    justify-content: flex-start;
}

/* Header & Logo Besar */
header {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: relative;
    z-index: 100;
}

.logo-oversize {
    height: 175px; /* Diperbesar melebihi header */
    width: auto;
    position: absolute;
    top: 10px;
    left: 40px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
    transition: 0.3s;
    z-index: 110;
}

.quote-text {
    color: #d4af37;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Hero Section - Posisi Lebih Dekat ke Atas */
.hero-section {
    padding-top: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 0 0 auto;
}

.welcome-box {
    border: 1px solid #d4af37;
    padding: 30px 60px;
    background: rgba(31, 31, 31, 0.6);
    border-radius: 4px;
    text-align: center;
    max-width: 900px;
}

.pre-title {
    color: #d4af37;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 5px;
}

.welcome-box h1 {
    font-size: 36px;
    margin: 5px 0;
    letter-spacing: 3px;
}

.welcome-box p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-portal {
    text-decoration: none;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-portal:hover {
    background: #d4af37;
    color: #121212;
}

/* Service Grid - Reposisi Dekat Welcome Box */
.services-grid-compact {
    display: flex;
    flex: 1;
    margin-top: 20px; /* Jarak dekat dengan welcome box */
    gap: 15px; /* Garis tipis antar card */
    padding: 0 15px;
    background: transparent; /* Warna garis pemisah */
    border-top: 1px solid #333;
}

.service-card.video-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 100%;
    border: 1px solid #333; /* Garis tepi tipis default */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transisi halus */
    cursor: pointer;
}

/* Saat Card di-Hover */
.service-card.video-card:hover {
    transform: translateY(-10px); /* Card sedikit naik ke atas */
    border-color: #d4af37;        /* Warna tepi berubah jadi emas */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8); /* Memberi efek kedalaman */
}

/* Mencerahkan video saat di-hover */
.service-card.video-card:hover .card-video {
    filter: brightness(0.6);      /* Dari 0.3 menjadi 0.6 agar lebih terlihat */
    transform: translate(-50%, -50%) scale(1.1); /* Video sedikit zoom-in */
}

/* Efek tambahan pada teks saat di-hover */
.service-card.video-card:hover .card-header h3 {
    color: #d4af37;               /* Judul berubah warna jadi emas */
    transition: 0.3s;
}

.card-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.3);
}

.card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Paragraph yang dirapikan (Justify agar tidak berantakan) */
.card-body p {
    font-size: 12px;
    line-height: 1.6;
    color: #ccc;
    text-align: justify; /* Membuat paragraf rapi */
    margin: 0;
    max-width: 90%;
}

.category-tag {
    color: #d4af37;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-header h3 {
    font-size: 18px;
    margin: 5px 0;
    color: #fff;
}

.learn-more {
    font-size: 9px;
    color: #d4af37;
    text-transform: uppercase;
}

/* Footer Sangat Tipis */
.footer-minimal {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    font-size: 9px;
    color: #555;
    border-top: 1px solid #1f1f1f;
}