/* Base & Variable */
:root {
    --bg-color: #000000;
    --text-main: #D4D4D4; /* Main Text VS Code */
    --text-muted: #858585;
    --border-color: #333333;
    
    /* Estuary Interactive Color */
    --estuary-sand: #E3C28D;
    --estuary-ocean: #0077BE;
}

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

/* VS Code Typograph */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Vibe-Coding */
h1, h2, h3, .bracket, .github-link, .btn, code {
    font-family: Consolas, "Courier New", monospace;
}

/* Estuary Line */
.estuary-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--estuary-sand), var(--estuary-ocean));
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.bracket {
    color: var(--estuary-ocean);
}

.github-link {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: var(--estuary-sand);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

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

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--estuary-ocean);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--estuary-sand);
    color: var(--estuary-sand);
}

/* Values Section */
.values {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

.value-item {
    flex: 1;
    text-align: center;
}

.value-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.value-item h3 {
    margin-bottom: 10px;
    color: #fff;
}

/* Projects Grid */
.projects {
    padding: 60px 0;
}

.projects h2 {
    margin-bottom: 30px;
    color: var(--estuary-sand);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Project Card */
.card {
    background-color: #111;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.tech-stack {
    font-size: 0.8rem;
    color: var(--estuary-sand);
    margin-bottom: 15px;
}

.card-links a {
    color: var(--estuary-ocean);
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 15px;
}

.card-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.estuary-text {
    color: var(--estuary-sand);
    font-style: italic;
}

.copyright {
    margin-top: 10px;
    font-size: 0.8rem;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    letter-spacing: -1px;
}
.logo-img {
    height: 35px;
    width: auto;
    display: block;
}

.custom-icon {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.project-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: invert(1) brightness(200%);
}

/* --- CSS UNTUK HALAMAN DETAIL APP --- */
.detail-container {
    padding: 60px 20px;
    min-height: 70vh;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px dashed var(--border-color);
}

.detail-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: invert(1) brightness(200%);
}

.detail-title-area h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tech-stack-large {
    font-family: Consolas, monospace;
    color: var(--estuary-sand);
    font-size: 1rem;
}

.detail-body {
    margin-bottom: 40px;
}

.detail-body h3 {
    color: var(--estuary-sand);
    margin-bottom: 15px;
}

.detail-body p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tombol Khusus Windows */
.btn-windows {
    background-color: #0078D7;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-windows:hover {
    background-color: #005A9E;
    color: #fff;
}

.btn-detail {
    color: #fff !important;
    font-weight: bold;
}