/* Source: style.css[cite: 7] */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ==========================================
   0. DESIGN TOKENS — HITAM & GOLD MEWAH DENGAN AKSEN WARNA CERAH
   ========================================== */
:root {
    /* Latar Belakang Hitam Pekat */
    --bg-base: #000000;
    --bg-surface: #0f0f0f;
    --bg-elevated: #181818;
    --bg-elevated-2: #242424;

    /* Aksen Metallic Gold Murni (Warna Utama) */
    --gold: #D4AF37;            /* Classic Metallic Gold */
    --gold-bright: #FFD700;     /* Rich Gold */
    --gold-dark: #AA771C;       /* Dark Gold Accent */
    --copper: #B5651D;          /* Copper/Bronze - masih satu keluarga gold */
    --copper-bright: #E0954A;

    /* Palet Aksen Cerah (Jewel Tone) - Kontras Tajam di Atas Hitam */
    --accent-cyan: #22E5FF;      /* Cyan Elektrik */
    --accent-emerald: #2BE38C;   /* Hijau Zamrud Cerah */
    --accent-rose: #FF5C7A;      /* Merah Muda / Rose Cerah */
    --accent-violet: #B48CFF;    /* Ungu Violet Cerah */
    --accent-orange: #FF9142;    /* Oranye Cerah */

    /* Alias (kompatibilitas kode lama) */
    --accent-secondary: var(--accent-emerald);
    --accent-misi: var(--accent-cyan);
    --accent-workflow: var(--accent-emerald);
    --accent-rating: #FFD700;   /* Gold Bintang */

    /* Teks Bersih & Kontras */
    --text-primary: #FFFFFF;
    --text-muted: #CCCCCC;
    --text-dim: #888888;

    /* Garis & Bayangan */
    --hairline: #D4AF37;
    --hairline-soft: #333333;
    --shadow-deep: 0 10px 30px rgba(0, 0, 0, 0.9);

    /* Tipografi */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* ==========================================
   1. RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

::selection {
    background: var(--gold);
    color: #000000;
}

/* SPA Page Section Control */
.page-section {
    display: block;
    min-height: 80vh;
}

.hidden-page {
    display: none !important;
}

.active-page {
    display: block !important;
}

/* ==========================================
   2. NAVBAR & HEADER
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}

.logo-container {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-logo {
    display: flex;
    flex-direction: column;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 1px;
}

.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-menu li a,
.dropdown-header {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 1px;
    color: #FFFFFF;
    transition: color 0.25s ease;
    cursor: pointer;
}

.nav-menu li a:hover,
.dropdown-header:hover {
    color: var(--gold);
}

.nav-menu li a.nav-admin-btn,
.nav-menu li a[onclick*="openAdminModal"] {
    color: var(--copper-bright) !important;
    font-weight: 700;
}

/* Dropdown Submenu */
.has-dropdown {
    position: relative;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrow-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: var(--gold);
}

.has-dropdown.open .arrow-icon {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-surface);
    min-width: 240px;
    border: 1px solid var(--gold);
    border-top: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    z-index: 1001;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.submenu li a {
    padding: 12px 18px;
    display: block;
    font-size: 13px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--text-muted);
}

.submenu li a:hover {
    background-color: var(--gold);
    color: #000000;
    font-weight: 600;
}

.has-dropdown.open .submenu {
    display: flex;
}

.faq-submenu {
    padding: 14px 18px !important;
    max-width: 320px;
}

.faq-nav-item {
    padding: 10px 0;
    border-bottom: 1px dashed var(--gold);
}

.faq-nav-item:last-child {
    border-bottom: none;
}

.faq-q {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.faq-a {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    text-transform: none;
}

/* ==========================================
   3. HERO SLIDER
   ========================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--bg-base);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease-in-out, visibility 1.1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 7s ease;
    filter: brightness(0.65) contrast(1.1);
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.7) 100%);
}

.slide-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 2;
    color: var(--text-primary);
}

.slide-caption .subtitle {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.slide-caption .title {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.slide-caption .description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.hero-tags span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: 20px;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
    font-family: var(--font-display);
    white-space: nowrap;
}

.hero-tags span:nth-child(2) { border-color: var(--accent-cyan); color: var(--accent-cyan); background: rgba(34, 229, 255, 0.1); }
.hero-tags span:nth-child(4) { border-color: var(--accent-rose); color: var(--accent-rose); background: rgba(255, 92, 122, 0.1); }

@media (max-width: 600px) {
    .hero-tags span { font-size: 10px; padding: 6px 12px; }
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-bright) 100%);
    color: #000000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gold-bright);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--gold);
    width: 28px;
    border-radius: 10px;
}

/* ==========================================
   4. TENTANG & VISI MISI
   ========================================== */
.about-section {
    padding: 70px 5%;
    background-color: var(--bg-base);
}

.about-text-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 15px;
    max-width: 78ch;
}

.about-text-content strong {
    color: var(--gold);
    font-weight: 600;
}

/* Slider Galeri Proyek Dinamis (Carousel Per Judul) */
.dyn-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
    touch-action: pan-y;
}

.dyn-slide {
    position: relative;
    flex: 0 0 90%;
    margin-right: 10px;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.dyn-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dyn-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 55%, transparent 100%);
    text-align: left;
}

.dyn-slide-caption h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-display);
    letter-spacing: 0.4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.dyn-slide-caption p {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--gold);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.dyn-slide-caption .dyn-detail {
    color: #dddddd;
    font-weight: 400;
    margin-top: 4px;
    font-size: 11.5px;
}

.dyn-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 13px;
    transition: all 0.2s ease;
}

.dyn-slider-nav:hover {
    background: var(--gold);
    color: #000000;
    border-color: var(--gold);
}

.dyn-slider-prev { left: 12px; }
.dyn-slider-next { right: 22px; }

@media (max-width: 700px) {
    .dyn-slide { flex-basis: 88%; }
    .dyn-slider-nav { width: 32px; height: 32px; font-size: 12px; }
}

.visi-misi-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 46px;
    background-color: var(--bg-surface);
    border: 2px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.banner-block {
    padding: 40px 38px;
}

.banner-block--visi {
    border-right: 1px solid var(--gold);
}

.banner-block--visi .banner-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 18px;
    display: block;
}

.banner-block--visi h2 {
    color: var(--gold);
}

.banner-block--visi h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
}

.banner-block--misi {
    background: linear-gradient(135deg, #05131a 0%, #0d0d0d 100%);
}

.banner-block--misi .banner-icon {
    font-size: 28px;
    color: var(--accent-misi);
    margin-bottom: 18px;
    display: block;
}

.banner-block--misi h2 {
    color: var(--accent-misi) !important;
}

.banner-block--misi h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-misi);
}

.banner-block h2 {
    font-family: var(--font-display);
    margin-bottom: 18px;
    padding-bottom: 14px;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
    position: relative;
}

.banner-block p {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.75;
}

.banner-block ul {
    list-style-type: none;
    padding-left: 0;
}

.banner-block li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #FFFFFF;
}

.banner-block--misi li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-misi);
    border-radius: 50%;
}

.banner-block--visi li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

@media (max-width: 700px) {
    .visi-misi-banner {
        grid-template-columns: 1fr;
    }

    .banner-block--visi {
        border-right: none;
        border-bottom: 1px solid var(--gold);
    }
}

/* ==========================================
   5. ALUR KERJA PROYEK
   ========================================== */
.workflow-section {
    padding: 60px 20px 30px;
    background-color: var(--bg-surface);
    text-align: center;
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
}

.section-title h2,
.workflow-section .section-title h2 {
    color: var(--gold);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: var(--font-display);
}

.section-title p,
.workflow-section .section-title p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 10px;
}

.workflow-slider {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 1080px;
    margin: 0 auto;
}

.workflow-nav {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.workflow-nav:hover {
    background: var(--gold);
    color: #000000;
}

.workflow-grid {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 20px 6px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.workflow-grid::-webkit-scrollbar {
    display: none;
}

.workflow-card {
    flex: 0 0 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--hairline-soft);
    border-radius: 10px;
    padding: 20px 12px;
    position: relative;
    scroll-snap-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.workflow-card:hover {
    transform: translateY(-5px);
}

/* WARNA TIAP STEP - 5 Aksen Cerah Berbeda Biar Hidup di Atas Hitam */
.workflow-card:nth-child(1) { border-color: var(--gold); }
.workflow-card:nth-child(1) .workflow-step-wrapper { border-color: var(--gold); }
.workflow-card:nth-child(1) .workflow-step { background-color: var(--gold); color: #000; }
.workflow-card:nth-child(1) .workflow-icon { color: var(--gold); }

.workflow-card:nth-child(3) { border-color: var(--accent-cyan); }
.workflow-card:nth-child(3) .workflow-step-wrapper { border-color: var(--accent-cyan); }
.workflow-card:nth-child(3) .workflow-step { background-color: var(--accent-cyan); color: #000; }
.workflow-card:nth-child(3) .workflow-icon { color: var(--accent-cyan); }

.workflow-card:nth-child(5) { border-color: var(--accent-rose); }
.workflow-card:nth-child(5) .workflow-step-wrapper { border-color: var(--accent-rose); }
.workflow-card:nth-child(5) .workflow-step { background-color: var(--accent-rose); color: #000; }
.workflow-card:nth-child(5) .workflow-icon { color: var(--accent-rose); }

.workflow-card:nth-child(7) { border-color: var(--accent-emerald); }
.workflow-card:nth-child(7) .workflow-step-wrapper { border-color: var(--accent-emerald); }
.workflow-card:nth-child(7) .workflow-step { background-color: var(--accent-emerald); color: #000; }
.workflow-card:nth-child(7) .workflow-icon { color: var(--accent-emerald); }

.workflow-card:nth-child(9) { border-color: var(--accent-violet); }
.workflow-card:nth-child(9) .workflow-step-wrapper { border-color: var(--accent-violet); }
.workflow-card:nth-child(9) .workflow-step { background-color: var(--accent-violet); color: #000; }
.workflow-card:nth-child(9) .workflow-icon { color: var(--accent-violet); }

.workflow-step-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px dashed;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.workflow-step {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    font-weight: 700;
    font-size: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-icon {
    font-size: 26px;
    text-shadow: none !important;
}

.workflow-card h3 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-display);
    text-align: center;
}

.workflow-card p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
    text-align: center;
}

.workflow-connector {
    flex: 0 0 10px;
    color: var(--gold);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   6. HALAMAN LAYANAN
   ========================================== */
.services-page-section {
    margin-top: 75px;
    padding: 40px 5% 70px;
    background-color: var(--bg-base);
}

.service-banner-title {
    text-align: center;
    padding: 44px 0;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
    margin-bottom: 34px;
    border-radius: 8px;
    border: 1px solid var(--gold);
}

.service-banner-title h1 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 32px;
    letter-spacing: 1px;
}

.services-content-container {
    display: flex;
    gap: 30px;
}

.service-nav-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-nav-item {
    padding: 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--hairline-soft);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.service-nav-item.active,
.service-nav-item:hover {
    background-color: var(--gold);
    color: #000000;
    border-color: var(--gold);
    font-weight: 700;
}

.service-tab-content {
    flex: 3;
    background-color: var(--bg-surface);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.service-tab-content h2 {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.service-tab-content ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.service-tab-content li {
    margin-bottom: 8px;
}

.service-tab-content strong {
    color: #FFFFFF;
}

.service-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.service-featured-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid var(--hairline-soft);
}

/* ==========================================
   7. PORTOFOLIO & GALERI PROYEK
   ========================================== */
.portfolio-page-section {
    margin-top: 75px;
    padding: 40px 5% 70px;
    background-color: var(--bg-base);
}

.portfolio-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 34px;
}

.filter-btn {
    padding: 10px 22px;
    background-color: var(--bg-surface);
    color: #FFFFFF;
    border: 1px solid var(--gold);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--gold);
    color: #000000;
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.portfolio-item {
    background-color: var(--bg-surface);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--hairline-soft);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.portfolio-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.portfolio-info {
    padding: 18px;
}

.portfolio-info h4 {
    font-family: var(--font-display);
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* ==========================================
   8. MODAL DETAIL PROYEK (POP-UP GALERI PORTOFOLIO)
   ========================================== */
.project-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2500;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.project-modal-overlay.active {
    display: flex;
}

.project-modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--gold);
    border-top: 4px solid var(--gold);
    border-radius: 12px;
    width: 100%;
    max-width: 950px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95);
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
}

.close-project-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.close-project-btn:hover {
    color: var(--gold);
}

.project-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-main-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--hairline-soft);
}

.detail-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.detail-thumbnails img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--hairline-soft);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.detail-thumbnails img.active,
.detail-thumbnails img:hover {
    opacity: 1;
    border-color: var(--gold);
}

.project-modal-info {
    display: flex;
    flex-direction: column;
}

.detail-category {
    color: var(--gold);
    font-size: 12px;
    font-family: var(--font-display);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
}

.project-modal-info h2 {
    font-family: var(--font-display);
    color: #FFFFFF;
    font-size: 26px;
    margin: 4px 0 16px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    background: var(--bg-elevated);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--hairline-soft);
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-item i {
    color: var(--gold);
    font-size: 18px;
}

.meta-item small {
    display: block;
    color: var(--text-dim);
    font-size: 11px;
}

.meta-item p {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
}

.detail-description h3 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 8px;
}

.detail-description div {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ==========================================
   9. STATISTIK & CAPAIAN
   ========================================== */
.stats-section {
    padding: 30px 5% 45px;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.stats-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.stats-grid .stat-item {
    flex: 1 1 0;
    min-width: 140px;
    background-color: var(--bg-surface);
    padding: 16px 10px;
    border-radius: 10px;
    border: 1px solid var(--gold);
    text-align: center;
    transition: transform 0.3s ease;
}

.stats-grid .stat-item:hover {
    transform: translateY(-5px);
}

.stats-grid .stat-item i {
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
    color: var(--gold);
    text-shadow: none !important;
}

.stats-grid .stat-item:nth-child(1) i { color: var(--gold); }
.stats-grid .stat-item:nth-child(1) { border-color: var(--gold); }
.stats-grid .stat-item:nth-child(2) i { color: var(--accent-cyan); }
.stats-grid .stat-item:nth-child(2) { border-color: var(--accent-cyan); }
.stats-grid .stat-item:nth-child(3) i { color: var(--accent-rose); }
.stats-grid .stat-item:nth-child(3) { border-color: var(--accent-rose); }
.stats-grid .stat-item:nth-child(4) i { color: var(--accent-emerald); }
.stats-grid .stat-item:nth-child(4) { border-color: var(--accent-emerald); }

.stats-grid .stat-number {
    font-family: var(--font-display);
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 4px;
    font-weight: 700;
}

.stats-grid .stat-item p {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}

/* ==========================================
   10. TESTIMONI & RATING ULASAN
   ========================================== */
.testimonial-section {
    padding: 65px 5%;
    background-color: var(--bg-base);
}

.testimonial-grid {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 25px 5px 30px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 310px;
    background: linear-gradient(145deg, #141414 0%, #080808 100%);
    border: 1px solid #333333;
    border-top: 3px solid var(--gold);
    border-radius: 10px;
    padding: 26px 22px;
    scroll-snap-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.testimonial-card:nth-child(4n+1) { border-top-color: var(--gold); }
.testimonial-card:nth-child(4n+2) { border-top-color: var(--accent-cyan); }
.testimonial-card:nth-child(4n+3) { border-top-color: var(--accent-rose); }
.testimonial-card:nth-child(4n+4) { border-top-color: var(--accent-emerald); }

.testimonial-card .stars {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: 3px;
    text-shadow: none !important;
}

.testimonial-card .quote {
    color: #E0E0E0;
    font-size: 13.5px;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 22px;
}

.client-info h4 {
    font-family: var(--font-display);
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 3px;
    font-weight: 600;
}

.client-info span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================
   11a. HALAMAN ADMIN (FULL PAGE, BUKAN POPUP)
   ========================================== */
.admin-page-section {
    margin-top: 75px;
    padding: 40px 5% 70px;
    background-color: var(--bg-base);
    min-height: 70vh;
}

.admin-page-header {
    margin-bottom: 24px;
}

.admin-back-btn {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.admin-back-btn:hover {
    background: var(--gold);
    color: #000000;
}

.admin-page-box {
    background: var(--bg-elevated);
    border: 1px solid var(--gold);
    border-top: 4px solid var(--gold);
    padding: 34px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

@media (max-width: 700px) {
    .admin-page-box {
        padding: 20px;
    }
}

/* ==========================================
   11. MODAL ULASAN (TETAP POPUP)
   ========================================== */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.admin-modal.active {
    display: flex;
}

.admin-modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--gold);
    border-top: 4px solid var(--gold);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    max-height: 90vh;
    overflow-y: auto;
}

.admin-modal-content--wide {
    max-width: 700px;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 26px;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--gold);
}

.admin-modal-content h2 {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

.admin-modal-content h2 i {
    color: var(--gold);
    margin-right: 8px;
}

.admin-lead {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.form-group,
.admin-form-group {
    margin-bottom: 16px;
}

.form-group label,
.admin-form-group label {
    display: block;
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea,
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 12px;
    background: #000000;
    border: 1px solid var(--hairline-soft);
    color: #FFFFFF;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.admin-form-group textarea {
    resize: vertical;
}

.admin-hint {
    color: var(--text-dim);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.5;
}

.admin-inline-group {
    display: flex;
    gap: 10px;
}

.admin-inline-group input {
    flex: 1;
}

.admin-btn-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-section-heading {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.admin-divider {
    border: none;
    border-top: 1px solid var(--hairline-soft);
    margin: 24px 0;
}

.admin-dashboard-hidden {
    display: none;
}

.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--hairline-soft);
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.admin-dashboard-header h2 {
    margin: 0;
    font-size: 20px;
}

.admin-logout-btn {
    background: transparent;
    color: #FF4444;
    border: 1px solid #FF4444;
    padding: 7px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: var(--font-display);
    transition: background 0.2s ease;
}

.admin-logout-btn:hover {
    background: rgba(255, 68, 68, 0.2);
}

.admin-list-box {
    max-height: 210px;
    overflow-y: auto;
    border: 1px solid var(--hairline-soft);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    background: #000000;
}

.admin-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--hairline-soft);
    padding-bottom: 8px;
}

.admin-list-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.admin-list-row-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-list-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.admin-list-title {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
}

.admin-list-title--block {
    display: block;
}

.admin-list-subtext {
    font-size: 11px;
    color: var(--text-dim);
}

.admin-empty-note {
    font-size: 13px;
    color: var(--text-dim);
}

.admin-list-delete-btn {
    background: transparent;
    color: #FF4444;
    border: 1px solid #FF4444;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: background 0.2s ease;
}

.admin-list-delete-btn:hover {
    background: rgba(255, 68, 68, 0.2);
}

.admin-secondary-btn {
    background: transparent;
    color: var(--accent-misi);
    border: 1px solid var(--accent-misi);
    padding: 11px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.admin-secondary-btn:hover {
    background: rgba(0, 229, 255, 0.2);
}

.admin-danger-btn {
    background: transparent;
    color: #FF4444;
    border: 1px solid #FF4444;
    padding: 11px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 13px;
    transition: background 0.2s ease;
}

.admin-danger-btn:hover {
    background: rgba(255, 68, 68, 0.2);
}

/* Rating Input Bintang */
.star-rating-input {
    display: flex;
    gap: 8px;
    font-size: 28px;
    cursor: pointer;
    margin-top: 5px;
}

.star-btn {
    color: #444444;
    transition: color 0.2s ease;
}

.star-btn:hover,
.star-btn.active {
    color: var(--gold);
}

.admin-submit-btn,
.btn-submit-upload {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-bright) 100%);
    border: none;
    color: #000000;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 6px;
    transition: all 0.3s ease;
}

.admin-submit-btn:hover,
.btn-submit-upload:hover {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
}

/* ==========================================
   12. FOOTER & MAPS
   ========================================== */
.footer {
    background-color: #000000;
    color: var(--text-muted);
    padding: 55px 5% 20px;
    border-top: 2px solid var(--gold);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand .footer-desc {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-column h3 {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 17px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a,
.footer-column p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-column ul li a:hover {
    color: var(--gold);
}

.footer-column p {
    margin-bottom: 10px;
}

.footer-column p i {
    color: var(--gold);
    margin-right: 8px;
    width: 14px;
}

.map-container iframe {
    width: 100%;
    height: 180px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    filter: grayscale(0.2) invert(0.9) contrast(0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--hairline-soft);
    font-size: 12px;
    color: var(--text-dim);
}

/* ==========================================
   13. FLOATING BUTTONS
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.scroll-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    background-color: #000000;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
}

.scroll-top:hover {
    background-color: var(--gold);
    color: #000000;
}

/* ==========================================
   14. RESPONSIVE MOBILE STYLES
   ========================================== */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-overlay {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: #000000;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        z-index: 999;
    }

    .nav-overlay.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a,
    .dropdown-header {
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--hairline-soft);
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding-left: 15px;
        display: none;
    }

    .has-dropdown.open .submenu {
        display: flex;
    }

    .services-content-container {
        flex-direction: column;
    }

    .slide-caption .title {
        font-size: 32px;
    }

    .project-modal-layout {
        grid-template-columns: 1fr;
    }
}

/* Tombol Detail pada Kartu Portofolio */
.btn-detail-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    background-color: #e67e22;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-detail-card:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

/* Tombol Melayang Saat Hover Gambar (Opsional) */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-thumb:hover .portfolio-overlay {
    opacity: 1;
}

.btn-detail-overlay {
    background: #ffffff;
    color: #111111;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}