
/* :root {
    --ub-orange: #E95420;
    --ub-aubergine: #772953;
    --ub-dark-aubergine: #2C001E;
    --ub-mid-aubergine: #5E2750;
    --ub-warm-grey: #AEA79F;
    --ub-cool-grey: #333333;
    --ub-white: #ffffff;
    --terminal-bg: #300A24;
    --terminal-text: #FFFFFF;
} */
/* :root {
    --ub-orange: #16a085; 
    --ub-aubergine: #2c3e50;
    --ub-dark-aubergine: #1a252f;
    --ub-mid-aubergine: #34495e;
    --ub-warm-grey: #ffffff;
    --ub-cool-grey: #2c3e50;
    --ub-white: #f8f9fa;
    --terminal-bg: #0f131a;
    --terminal-text: #2ecc71; 
} */
:root {
    --ub-orange: #0078D4; 
    --ub-aubergine: #102a43;
    --ub-dark-aubergine: #0b1a2a;
    --ub-mid-aubergine: #243b53;
    --ub-warm-grey: #9fb3c8;
    --ub-cool-grey: #102a43;
    --ub-white: #ffffff;
    --terminal-bg: #0a0e14;
    --terminal-text: #f0f4f8;
}

/* :root {
    --ub-orange: #0b57a4;
    --ub-aubergine: #294172;
    --ub-dark-aubergine: #1c2e52;
    --ub-mid-aubergine: #3a5a9b;
    --ub-warm-grey: #e1e8f0;
    --ub-cool-grey: #1c2e52;
    --ub-white: #f5f8fa;
    --terminal-bg: #0f192b;
    --terminal-text: #64b5f6;
} */
    /* :root {
    --ub-orange: #5d42d3;
    --ub-aubergine: #2d3436;
    --ub-dark-aubergine: #181a1b;
    --ub-mid-aubergine: #414b4d;
    --ub-warm-grey: #dfe6e9;
    --ub-cool-grey: #2d3436;
    --ub-white: #f0f2f5;
    --terminal-bg: #0f1011;
    --terminal-text: #a29bfe;
} */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--ub-white);
    color: var(--ub-cool-grey);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- NAVBAR --- */
.navbar {
    background-color: var(--ub-dark-aubergine);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--ub-orange);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    font-weight: 700;
    color: var(--ub-white);
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.logo span { color: var(--ub-orange); }

.nav-links { display: flex; gap: 25px; }
.nav-links a {
    color: var(--ub-white);
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 0.8;
}
.nav-links a:hover {
    opacity: 1;
    color: var(--ub-orange);
}

/* --- HERO SECTION (TERMINAL) --- */
#profile {
    background: linear-gradient(135deg, var(--ub-dark-aubergine) 0%, var(--ub-aubergine) 100%);
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    
    /* Fix: Force full width background */
    max-width: 100%;
    margin: 0;
}

.terminal-window {
    width: 100%;
    max-width: 800px;
    background-color: var(--terminal-bg);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeIn 1s ease-out;
}

.terminal-header {
    background-color: #3E3E3E;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.window-controls { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background-color: #FF5F56; }
.yellow { background-color: #FFBD2E; }
.green { background-color: #27C93F; }

.terminal-title {
    flex-grow: 1;
    text-align: center;
    color: #AAA;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 50px; /* Balance the dots */
}

.terminal-body {
    padding: 2rem;
    font-family: 'Ubuntu Mono', monospace;
    color: var(--ub-white);
    font-size: 1.1rem;
    line-height: 1.6;

    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.prompt { color: var(--ub-orange); font-weight: bold; }
.path { color: #6D9EEB; font-weight: bold; }
.command { color: var(--ub-white); }

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: var(--ub-white);
    animation: blink 1s infinite;
    vertical-align: middle;
}

.typewriter-text { color: #DDD; }

.btn-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 10px 25px;
    background-color: var(--ub-orange);
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.btn-cta:hover { background-color: #c04218; transform: translateY(-2px); }

/* --- SECTION COMMON --- */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--ub-dark-aubergine);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: var(--ub-orange);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- TECH STACK GRID --- */
.tech-category { margin-bottom: 3rem; }
.tech-cat-title {
    font-size: 1.3rem;
    color: var(--ub-aubergine);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--ub-orange);
    padding-left: 15px;
    font-weight: 700;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #EEE;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(233, 84, 32, 0.15); /* Orange shadow */
    border-color: var(--ub-orange);
}

.tech-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.tech-name { font-size: 0.9rem; font-weight: 500; color: var(--ub-cool-grey); }

/* Icon Colors */
.c-sharp { color: #9B4F96; }
.dotnet { color: #512BD4; }
.vue { color: #4FC08D; }
.js { color: #F7DF1E; }
.ts { color: #3178C6; }
.sql { color: #003B57; }
.redis { color: #D82C20; }
.azure { color: #0078D4; }
.docker { color: #2496ED; }
.git { color: #F05032; }

/* --- SLIDER GENERAL STYLES (Used for Projects & Certs) --- */
.slider-wrapper {
    position: relative;
    padding: 0 20px; /* Space for buttons */
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px 0; /* Extra padding for shadow/hover space */
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slider-item {
    /* 3 Items per view by default */
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px; /* Gutter */
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--ub-orange);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.slider-btn:hover { background-color: #c74316; }
.slider-btn:disabled { background-color: #ccc; cursor: not-allowed; }
.slider-btn.prev { left: -15px; }
.slider-btn.next { right: -15px; }

/* --- CERTIFICATES STYLES --- */
.cert-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #EEE;
}

.cert-item:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cert-img-container {
    width: 100%;
    height: 180px;
    background-color: #EEE;
    overflow: hidden;
    border-bottom: 4px solid var(--ub-aubergine);
    position: relative;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-item:hover .cert-img {
    transform: scale(1.05);
}

.cert-body { 
    padding: 1.5rem; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cert-title { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--ub-dark-aubergine); 
    margin-bottom: 0.5rem; 
}

.cert-issuer { 
    font-size: 0.85rem; 
    color: var(--ub-orange); 
    font-weight: 600; 
    text-transform: uppercase;
    margin-bottom: 10px; 
    letter-spacing: 0.5px;
}

.cert-desc { 
    font-size: 0.9rem; 
    color: #666; 
    line-height: 1.5; 
    margin-bottom: 15px;
}

.cert-date {
    margin-top: auto;
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- PROJECT CARD STYLES --- */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #EEE;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    border-color: var(--ub-orange);
}
.project-body img {
    transition: transform 0.4s ease;
}

.project-card:hover .project-body img {
    transform: scale(1.05);
}


.project-header {
    background: #EAEAEA;
    padding: 8px 12px;
    border-bottom: 1px solid #DDD;
    display: flex;
    gap: 6px;
}
.project-header .dot { width: 10px; height: 10px; background: #CCC; }

.project-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column;}
.project-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--ub-cool-grey); }
.project-body img {
    width: 100%;
    aspect-ratio: 16 / 9;   
    object-fit: cover;     
    border-radius: 8px;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.tag {
    background-color: rgba(233, 84, 32, 0.1);
    color: var(--ub-orange);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-desc { font-size: 0.9rem; color: #555; margin-bottom: 20px; flex-grow: 1; }

.btn-project {
    text-align: center;
    display: block;
    width: 100%;
    padding: 8px 0;
    background: var(--ub-aubergine);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}
.btn-project:hover { background: var(--ub-dark-aubergine); }

.action-buttons {
    display: flex;       /* Membuat anak elemen menjadi fleksibel (horizontal) */
    gap: 10px;           /* Memberikan jarak antar tombol */
    align-items: center; /* Meratakan posisi vertikal (opsional) */
}

/* --- CONTACT --- */
#contact {
    background-color: var(--ub-dark-aubergine);
    color: white;
    max-width: 100%;
    padding: 4rem 2rem;
    text-align: center;
}

#contact .section-title { color: white; }
#contact .section-title::after { background-color: var(--ub-orange); }

.contact-text { font-size: 1.1rem; margin: 2rem 0; opacity: 0.9; }

.social-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: 0.3s;
}
.social-icon:hover {
    background: var(--ub-orange);
    transform: scale(1.1);
}

/* --- FOOTER --- */
footer {
    background-color: var(--ub-dark-aubergine);
    color: #777;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

section .air{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background: url(https://1.bp.blogspot.com/-xQUc-TovqDk/XdxogmMqIRI/AAAAAAAACvI/AizpnE509UMGBcTiLJ58BC6iViPYGYQfQCLcBGAsYHQ/s1600/wave.png);
background-size: 1000px 100px;

pointer-events: none;
}
section .air.air1{
animation: wave 30s linear infinite;
z-index: 1000;
opacity: 1;
animation-delay: 0s;
bottom: 0;
}
section .air.air2{
animation: wave2 15s linear infinite;
z-index: 999;
opacity: 0.5;
animation-delay: -5s;
bottom: 10px;
}
section .air.air3{
animation: wave 30s linear infinite;
z-index: 998;
opacity: 0.2;
animation-delay: -2s;
bottom: 15px;
}
section .air.air4{
animation: wave2 5s linear infinite;
z-index: 997;
opacity: 0.7;
animation-delay: -5s;
bottom: 20px;
}
@keyframes wave{
0%{
    background-position-x: 0px; 
}
100%{
    background-position-x: 1000px; 
}
}
@keyframes wave2{
0%{
    background-position-x: 0px; 
}
100%{
    background-position-x: -1000px; 
}
}

/* --- ANIMATIONS --- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    .slider-item { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified for demo */
    .terminal-window { margin: 0 10px; }
    .tech-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
    
    /* Slider Mobile */
    .slider-item { flex: 0 0 100%; max-width: 100%; }
    .slider-btn { width: 35px; height: 35px; }
}