
/*   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Rajdhani:wght@500;700&family=Inter:wght@400;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --accent-blue: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --text-main: #e2e8f0;
    --card-bg-glass: rgba(30, 41, 59, 0.4); 
    --border-glass: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    padding: 20px;
    line-height: 1.6;
    overflow-x: hidden;
}

#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1e293b 0%, #000 100%);
}

h1, h2 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.section {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 30px;
    background: var(--card-bg-glass);  
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.section:hover {
    border-color: var(--accent-blue);
}

.header { 
    display: flex; 
    align-items: center; 
    gap: 30px;

    position: sticky;
    top: 10px;
    z-index:1000;
    margin-top: 0; 
}

.logo-box {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-content h1 {
    font-size: 2.25rem;
    line-height: 1.2;
}

.at-glance, .services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.media-box-static {
    width: 100%;
    height: 280px; 
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.full-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.full-img:hover { transform: scale(1.03); }

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
}
.horizontal-scroll::-webkit-scrollbar { display: none; }

.portofolio-item { 
    flex: 0 0 calc(33.333% - 14px); 
    min-width: 300px; 
}

.item-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 1px var(--accent-blue);
}

.item-media img, .item-media video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

.item-info-box {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 12px;

    border: none; 
    text-align: left;
    box-shadow: none !important;
    transition: background 0.3s ease;
}

.portofolio-item:hover .item-info-box {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none !important;
    outline: none;
}

.item-media {
    box-shadow: none !important; 
    border: 1px solid var(--border-glass); 
}

.item-desc-title {
    color: var(--accent-blue);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.item-desc-text {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.client-box {
    flex: 0 0 calc(33.333% - 14px);
    height: 140px;
    border-radius: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.client-box:hover { transform: translateY(-5px); box-shadow: 0 10px 20px var(--accent-glow); }
.client-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

.nav-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px; height: 45px;
    border-radius: 50%; cursor: pointer; z-index: 10;
    transition: 0.3s;
}
.nav-btn:hover { background: var(--accent-blue); color: var(--bg-dark); }
.prev { left: -20px; } .next { right: -20px; }

@media (max-width: 768px) {
    .header { gap: 15px; }
    .logo-box { width: 70px; height: 70px; }
    .header-content h1 { font-size: 1.4rem !important; }

    .at-glance, .services { grid-template-columns: 1fr; }
    .media-box-static { height: 240px; order: -1; }

    .portofolio-item, .client-box { flex: 0 0 85%; }
    .nav-btn { display: none; }
}


.spaceship {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    font-size: 40px; 
    pointer-events: none; 
    z-index: 10000; 
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 10px var(--accent-blue)); 
    will-change: transform;
}

.particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-blue); 
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998; 
    box-shadow: 0 0 10px var(--accent-blue), 0 0 20px #fff;
}

body {
    cursor: none;
}

a, button, .portofolio-item, .client-box {
    cursor: pointer;
}

.signal-wave {
    position: absolute;
    top: calc(50% - 60px); 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    will-change: transform, opacity;
}

.ghost-logo {
    position: absolute; 
    top: 50%;
    left: calc(50% - 0px);
    transform: translate(-50%, -50%); 
    max-width: 60%; 
    height: auto;
    opacity: 0; 
    z-index: 5; 
    pointer-events: none; 
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); 
    display: block;
}
