@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --blue: #123c69;
    --blue-dark: #0b2948;
    --blue-light: #eaf2f9;
    --black: #101418;
    --gray-dark: #4b5563;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --white: #ffffff;
    --background: #f8f9fb;
    --container: 1180px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}


.container {
    width: min(100% - 48px, var(--container));
    margin: auto;
}

.project-hidden,
.blog-hidden {
    display: none !important;
}

/* =========================
   MARGIN
========================= */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 3rem; }
.m-auto { margin: auto; }


/* Margin Top */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }


/* Margin Bottom */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-auto { margin-bottom: auto; }


/* Margin Start / Left */
.ms-0 { margin-left: 0; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }
.ms-4 { margin-left: 1.5rem; }
.ms-5 { margin-left: 3rem; }
.ms-auto { margin-left: auto; }


/* Margin End / Right */
.me-0 { margin-right: 0; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.me-4 { margin-right: 1.5rem; }
.me-5 { margin-right: 3rem; }
.me-auto { margin-right: auto; }


/* Margin Horizontal */
.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-3 { margin-left: 1rem; margin-right: 1rem; }
.mx-4 { margin-left: 1.5rem; margin-right: 1.5rem; }
.mx-5 { margin-left: 3rem; margin-right: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* Margin Vertical */
.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 1rem; margin-bottom: 1rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }


/* =========================
   PADDING
========================= */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }


/* Padding Top */
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }


/* Padding Bottom */
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }


/* Padding Start / Left */
.ps-0 { padding-left: 0; }
.ps-1 { padding-left: 0.25rem; }
.ps-2 { padding-left: 0.5rem; }
.ps-3 { padding-left: 1rem; }
.ps-4 { padding-left: 1.5rem; }
.ps-5 { padding-left: 3rem; }


/* Padding End / Right */
.pe-0 { padding-right: 0; }
.pe-1 { padding-right: 0.25rem; }
.pe-2 { padding-right: 0.5rem; }
.pe-3 { padding-right: 1rem; }
.pe-4 { padding-right: 1.5rem; }
.pe-5 { padding-right: 3rem; }


/* Padding Horizontal */
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }


/* Padding Vertical */
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }


/* =========================
   GENERAL SECTION
========================= */
.section {
    padding: 50px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue);
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 249, 251, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.nav-wrapper {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo img {
    width: 70px;
    margin-top: 10px;
    background: var(--blue);
    padding: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    transition: 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--blue);
}

.nav-contact {
    border: 1px solid var(--black);
    padding: 10px 17px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s;
}

.nav-contact:hover {
    background: var(--black);
    color: white;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ================================
   DOWNLOAD CV
================================ */
.download-cv {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    transition:
        background .3s ease,
        color .3s ease,
        transform .2s ease,
        box-shadow .3s ease;
}

.download-cv:hover {
    transform: translateY(-2px);
}

/* Icon normal */
.download-cv i {
    transition: transform .3s ease;
}


/* =================================
   SAAT DOWNLOAD
================================= */
.download-cv.downloading {
    pointer-events: none;
    cursor: wait;
    transform: none;
}

.download-cv.downloading i {
    animation: downloadSpin 0.8s linear infinite;
}

@keyframes downloadSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.download-cv::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .35),
        transparent
    );
    transform: skewX(-20deg);
}

.download-cv.downloading::after {
    animation: downloadShine 1s ease-in-out infinite;
}

@keyframes downloadShine {
    0% {
        left: -120%;
    }

    100% {
        left: 150%;
    }
}

/* =================================
   DOWNLOAD SELESAI
================================= */
.download-cv.download-success {
    background: #198754 !important;
    color: #fff !important;
    border-color: #198754 !important;
    box-shadow: 0 6px 18px rgba(25, 135, 84, .25);
}

.download-cv.download-success i {
    animation: successCheck .45s ease forwards;
}

@keyframes successCheck {
    0% {
        transform: scale(0) rotate(-90deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}


/* =========================
   HERO
========================= */
.hero {
    min-height: 110vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--blue);
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 8vw, 80px);
    line-height: 0.95;
    letter-spacing: -6px;
    max-width: 700px;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero-description {
    max-width: 520px;
    margin-top: 30px;
    color: var(--gray);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.btn-primary {
    background: var(--blue);
    color: white;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--black);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.hero-meta {
    display: flex;
    gap: 45px;
    margin-top: 70px;
}

.hero-meta div {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
}

.hero-meta span {
    color: var(--gray);
    font-size: 12px;
}


/* =========================
   CODE VISUAL
========================= */
.hero-visual {
    position: relative;
}

.hero-visual .img-hero {
    position: absolute;
    width: 340px;
    right: -33px;
    bottom: 0px;
}

.hero-visual .timpa-dev {
    position: absolute;
    top: 85px;
    z-index: 10;
}

.code-card {
    overflow: hidden;
    background: #101820;
    border: 1px solid #24303d;
    box-shadow: 25px 25px 0 var(--blue);
}

.window-bar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border-bottom: 1px solid #27333f;
}

.window-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #64748b;
}

.code-content {
    padding: 42px 35px;
    font-family: monospace;
    font-size: 15px;
    color: #d5dce5;
    line-height: 2;
}

.code-number {
    display: inline-block;
    width: 30px;
    color: #64748b;
}

.purple {
    color: #c4b5fd;
}

.green {
    color: #86efac;
}

.indent {
    padding-left: 30px;
}

.indent-2 {
    padding-left: 60px;
}

.cursor-line {
    padding-top: 5px;
}

.visual-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 12px;
    color: var(--gray);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b9b68;
}

.tech-icon {
    position: absolute;
    z-index: 4;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25);
    animation: techFloat 4s ease-in-out infinite;
}

@keyframes techFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.react {
    top: -50px;
    right: 250px;
    color: #61dafb;
    animation-delay: 0s;
}

.laravel {
    top: 150px;
    right: -50px;
    color: #ff2d20;
    animation-delay: 0.5s;
}

.javascript {
    bottom: 80px;
    right: 200px;
    color: #f7df1e;
    animation-delay: 1s;
}

.php {
    bottom: 20px;
    right: 60px;
    color: #777bb4;
    animation-delay: 1.5s;
}

.css {
    top: 50px;
    right: 250px;
    color: #1572B6;
    animation-delay: 2s;
}

.html {
    color: #E34F26;
    top: 0px;
    right: 10px;
    animation-delay: 2.5s;
}


/* =========================
   PROJECTS
========================= */
.projects {
    scroll-margin-top: 90px;
}

.projects-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
    margin-bottom: 65px;
}

.projects-header p {
    align-self: end;
    color: var(--gray);
    max-width: 400px;
}

.project-list {
    border-top: 1px solid var(--gray-light);
}

.project-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    padding: 45px 0;
    border-bottom: 1px solid var(--gray-light);
    transition: 0.3s;
}

.project-card:hover {
    padding-left: 15px;
}

.project-image {
    width: 400px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--blue);
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    max-width: 850px;
}

.project-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: var(--gray);
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1px;
}

.project-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    margin-bottom: 12px;
}

.project-card p {
    max-width: 650px;
    color: var(--gray);
    font-size: 15px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tech-list span {
    padding: 6px 10px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 11px;
    font-weight: 600;
}

.project-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--blue);
}

.project-load-more {
    display: flex;
    justify-content: center;
}

/* =========================
   ABOUT
========================= */
.about {
    background: white;
    scroll-margin-top: 90px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    border: 2px solid var(--blue);
    padding: 40px;
    box-shadow: 15px 15px 0 var(--blue);
}

.about h2,
.projects-header h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about h2 span,
.projects-header h2 span,
.about-text h4 span {
    color: var(--blue);
}

.about-text {
    max-width: 540px;
}

.about-text h4 {
    font-size: 35px;
    margin-bottom: 10px;
}


.about-text p {
    color: var(--gray);
    font-size: 16px;
}

/* =========================
   ABOUT SOCIAL MEDIA
========================= */
.about-social h2 {
    margin-bottom: 25px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #dce3ea;
    text-decoration: none;
    color: #101820;
    background: #fff;
    transition: 0.3s ease;
}

.social-item i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: white;
    font-size: 19px;
}

.social-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.social-item strong {
    font-size: 15px;
    font-weight: 600;
}

.social-item small {
    color: var(--gray);
    font-size: 12px;
}

.social-item:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 var(--blue);
}


/* =========================
   SKILLS
========================= */
.skills{
    scroll-margin-top: 90px;
}

.skills-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
    margin-bottom: 60px;
}

.skills-header h4 {
    font-size: 18px;
    font-family: monospace;
    margin-bottom: 6px;
}

.skills-header h4 span,
.skills-header h2 span {
    color: var(--blue);
}

.skills-header h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.skills-header p {
    align-self: end;
    max-width: 420px;
    color: var(--gray);
    font-size: 15px;
}

/* =========================
   SKILLS CONTENT
========================= */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
    align-items: center;
}

/* Skill List */
.skill-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    font-size: 14px;
}

.skill-info span:last-child {
    color: var(--gray);
    font-family: monospace;
    font-size: 11px;
}

.skill-bar {
    width: 100%;
    height: 7px;
    background: #dfe5eb;
    overflow: hidden;
}

.skill-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--blue);
    transition: width 1.3s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Skills Box */
.skills-box {
    border: 2px solid var(--blue);
    padding: 40px;
    background: white;
    box-shadow: 12px 12px 0 var(--blue);
}

.stack-title {
    font-family: monospace;
    color: var(--gray);
    font-size: 20px;
    margin-bottom: 25px;
}

.stack-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stack-item {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dfe5eb;
    background: #fff;
    transition: 0.3s ease;
}

.stack-item i {
    font-size: 30px;
    color: var(--blue);
    transition: 0.3s ease;
}

.stack-item span {
    font-size: 11px;
    font-weight: 600;
    color: #101820;
}

.stack-item:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 5px 5px 0 var(--blue);
}

.stack-item:hover i {
    transform: scale(1.1);
}

/* =========================
   CONTACT
========================= */
.contact {
    padding-top: 70px;
    padding-bottom: 20px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
    padding: 50px 70px;
    background: var(--blue);
    color: white;
}

.contact-label {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.7;
}

.contact h2 {
    max-width: 650px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(28px, 5vw, 45px);
    line-height: 1;
    letter-spacing: -2px;
}

.contact h2 span {
    opacity: 0.55;
}

.contact-info {
    align-self: end;
}

.contact-info p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-info a {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid white;
    font-weight: 600;
}

/* =========================
   ARTICLE DETAIL
========================= */
.article-detail {
    padding-top: 100px;
    padding-bottom: 30px;
    background: white;
}

/* =========================
   ARTICLE HEADER
========================= */
.article-detail-header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.article-detail-category {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--blue);
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.article-detail-header h1 {
    margin: 0 0 20px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(40px, 6vw, 65px);
    line-height: 1;
    letter-spacing: -3px;
}

.article-detail-intro {
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* =========================
   COVER
========================= */
.article-detail-cover {
    width: 100%;
    max-width: 1100px;
    height: 500px;
    margin: 0 auto 70px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--gray-light);
}

.article-detail-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================
   CONTENT LAYOUT
========================= */
.article-detail-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 70px;
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================
   SIDEBAR
========================= */
.article-detail-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.article-detail-sidebar > span {
    display: block;
    margin-bottom: 18px;
    color: var(--gray);
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1.5px;
}

.article-detail-sidebar a {
    display: block;
    padding: 12px 0;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-light);
    transition: 0.2s;
}

.article-detail-sidebar a:first-of-type {
    padding-top: 0;
}

.article-detail-sidebar a:hover {
    color: var(--blue);
}

.article-detail-sidebar strong {
    display: block;
    margin-bottom: 5px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.article-detail-sidebar small {
    display: block;
    color: var(--gray);
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* =========================
   TECHNOLOGIES
========================= */
.article-detail-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-light);
}

.article-detail-tech span {
    padding: 6px 10px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.article-detail-content h2 {
    margin-top: 15px;
    font-size: 22px;
}

.article-detail-content p {
    color: var(--gray);
}

/* =========================
   ARTICLE LIST
========================= */
.article-detail-content ul,
.article-detail-content ol {
    margin: 5px 0 25px;
    padding-left: 28px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.3;
}

/* UL - Bullet */
.article-detail-content ul {
    list-style-type: disc;
}

/* LI */
.article-detail-content li {
    margin-bottom: 8px;
    padding-left: 5px;
}

/* Sub List */
.article-detail-content ul ul,
.article-detail-content ol ul,
.article-detail-content ul ol,
.article-detail-content ol ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Bullet tingkat kedua */
.article-detail-content ul ul {
    list-style-type: circle;
}

/* Bullet tingkat ketiga */
.article-detail-content ul ul ul {
    list-style-type: square;
}

/* OL angka */
.article-detail-content ol {
    list-style-type: decimal;
}

/* OL huruf */
.article-detail-content ol[type="A"] {
    list-style-type: upper-alpha;
}

/* OL huruf kecil */
.article-detail-content ol[type="a"] {
    list-style-type: lower-alpha;
}

/* OL angka romawi */
.article-detail-content ol[type="I"] {
    list-style-type: upper-roman;
}

.article-detail-content ol[type="i"] {
    list-style-type: lower-roman;
}

/* Nested numbering */
.article-detail-content ol ol {
    list-style-type: lower-alpha;
}

/* Penekanan teks dalam list */
.article-detail-content li strong {
    color: #1f2937;
    font-weight: 600;
}

/* Link dalam list */
.article-detail-content li a {
    color: var(--blue);
    text-decoration: none;
}

.article-detail-content li a:hover {
    text-decoration: underline;
}

/* =========================
   ARTICLE SHARE
========================= */
.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-light);
}

.article-share-title {
    color: #374151;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.article-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    background: white;
    color: #4b5563;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
    background: var(--blue);
    border-color: var(--blue);
}

.share-btn i {
    font-size: 15px;
}

/* =========================
   BLOG
========================= */
.blog {
    padding-top: 100px;
    padding-bottom: 30px;
    background: white;
}

/* =========================
   BLOG HEADER
========================= */
.blog-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
    margin-bottom: 45px;
}

.section-label {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--blue);
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.blog-header h1 {
    max-width: 650px;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2.5px;
}

.blog-header h1 span {
    color: var(--blue);
}

.blog-header p {
    align-self: end;
    max-width: 400px;
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   FEATURED ARTICLE
========================= */
.blog-featured {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    padding: 30px 0 55px;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.blog-featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--gray-light);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.4s ease;
}

.blog-featured:hover .blog-featured-image img {
    transform: scale(1.03);
}

.blog-featured-content {
    align-self: center;
    max-width: 550px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray);
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1px;
}

.blog-featured-content h2 {
    margin-bottom: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.blog-featured-content p {
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   ARTICLE HEADER
========================= */
.blog-section-header {
    margin: 60px 0 30px;
}

.blog-section-header h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    letter-spacing: -1px;
}

/* =========================
   BLOG GRID
========================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--gray-light);
    background: white;
    transition: 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.blog-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.04);
}

.blog-content {
    padding: 25px;
}

.blog-content .blog-meta {
    margin-bottom: 15px;
}

.blog-content h3 {
    margin-bottom: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.blog-content p {
    min-height: 70px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================
   BLOG LINK
========================= */
.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.blog-link i {
    font-size: 11px;
    transition: 0.25s;
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* =========================
   TAMPILKAN LEBIH BANYAK
========================= */
.blog-more {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.blog-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--blue);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.blog-more-btn i {
    font-size: 11px;
    transition: 0.25s ease;
}

.blog-more-btn:hover {
    background: var(--blue);
    color: white;
}

.blog-more-btn:hover i {
    transform: translateX(4px);
}

/* =========================
   FOOTER
========================= */
footer {
    margin-top: 20px;
    background: white;
    border-top: 1px solid var(--gray-light);
}

.footer-wrapper {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gray);
    font-size: 14px;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {

    /*  Responsive Hero : 900  */
    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 100px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(42px, 6vw, 65px);
        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-visual .timpa-dev {
        top: 78px;
    }

    .hero-meta {
        gap: 30px;
        margin-top: 50px;
    }

    .hero-visual .img-hero {
        width: 280px;
        right: -20px;
    }

    .code-content {
        padding: 35px 25px;
        font-size: 13px;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 13px;
    }

    .react {
        top: -35px;
        right: 190px;
    }

    .css {
        top: 45px;
        right: 190px;
    }

    .html {
        top: 0;
        right: 0;
    }

    .laravel {
        top: 130px;
        right: -25px;
    }

    .javascript {
        bottom: 70px;
        right: 160px;
    }

    .php {
        bottom: 15px;
        right: 35px;
    }

    /*  Responsive Skill : 1100 */
    .skills-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .skills-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .skills-box {
        padding: 30px;
    }

    .stack-icons {
        grid-template-columns: repeat(4, 1fr);
    }
}



@media (max-width: 900px) {

    .section {
        padding:40px 0;
    }


    /*  Responsive Toggle : 900  */
    .menu-toggle {
        display: flex;
    }

    /*  Responsive Navbar : 900  */
    .nav-menu {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: white;
        border-bottom: 1px solid var(--gray-light);
        transition: 0.3s ease;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-contact,
    .download-cv {
        display: none;
    }

    /*  Responsive Hero : 768  */
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 45px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .hero-content {
        text-align: left;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 60px);
        line-height: 0.98;
        letter-spacing: -3px;
    }

    .hero-description {
        max-width: 100%;
        margin-top: 25px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-wrap: wrap;
        margin-top: 30px;
    }

    .hero-meta {
        gap: 30px;
        margin-top: 45px;
        flex-wrap: wrap;
    }

    .hero-meta strong {
        font-size: 19px;
    }

    /*  Responsive Visual : 900  */
    .code-card {
        box-shadow: 15px 15px 0 var(--blue);
    }

    /*  Responsive About : 900 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 25px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
    
    /*  Responsive Project : 900 */
    .project-card {
        grid-template-columns: 300px 1fr;
    }

    .project-image {
        width: 300px;
        height: 160px;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid var(--blue);
    }

}


@media (max-width: 768px) {

    /*  Responsive Visual : 768  */
    .hero-visual p, 
    .hero-visual .visual-label,
    .hero-visual .window-bar {
        display: none;
    }

    .code-card {
        height: 340px;
        box-shadow: none;
        border: 2px solid var(--blue);
        background: var(--blue-light);
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        box-shadow: 15px 15px 0 var(--blue);
    }

    .hero-visual .img-hero {
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }

    .react {
        top: -50px;
        left: 100px;
    }

    .laravel {
        top: 150px;
        right: 70px;
    }

    .javascript {
        bottom: 50px;
        left: 110px;
    }

    .php {
        bottom: 20px;
        right: 100px;
    }

    .css {
        top: 100px;
        left: 50px;
    }

    .html {
        top: 10px;
        right: 100px;
    }

    .hero-meta {
        margin-bottom: 40px;
    }
    
    /*  Responsive Project : 768  */
    .projects-header {
        grid-template-columns: 1fr;
        margin-bottom: 25px;
    }

    .about h2,
    .projects-header h2 {
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .projects-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .projects-header h2 {
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .projects-header p {
        align-self: start;
        max-width: 100%;
        margin: 0;
        line-height: 1.6;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px 0;
    }

    .project-card:hover {
        padding-left: 0;
    }

    .project-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .project-image img {
        width: 100%;
        height: 100%;
    }

    .project-info {
        max-width: 100%;
    }

    .project-card h3 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .project-card p {
        max-width: 100%;
        line-height: 1.6;
    }

    .tech-list {
        margin-top: 18px;
    }

    .project-link {
        margin-top: 22px;
    }

    /*  Responsive Contact : 768  */
    .contact {
        padding-bottom: 15px;
    }

    .contact-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 35px;
    }

    .contact h2 {
        max-width: 100%;
        font-size: clamp(30px, 6vw, 40px);
        line-height: 1.1;
        letter-spacing: -1.5px;
    }

    .contact-info {
        align-self: start;
    }

    .contact-info p {
        max-width: 500px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    /*  Footer : 768 */
    .footer-wrapper {
        min-height: auto;
        padding: 20px 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        font-size: 14px;
    }

    .article-detail-header {
        margin-bottom: 40px;
    }

    .article-detail-header h1 {
        font-size: 46px;
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .article-detail-intro {
        font-size: 14px;
    }

    .article-detail-cover {
        height: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 50px;
    }

    .article-detail-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .article-detail-sidebar {
        position: static;
        padding-bottom: 20px;
    }

    .article-detail-sidebar a {
        display: block;
        margin-right: 0;
    }

    .article-detail-content {
        max-width: 100%;
    }

    .blog {
        padding: 70px 0;
    }

    /* HEADER */
    .blog-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 45px;
    }

    .blog-header h1 {
        max-width: 600px;
        font-size: 42px;
        line-height: 1.1;
        letter-spacing: -1.5px;
    }

    .blog-header p {
        max-width: 100%;
        align-self: start;
        line-height: 1.6;
    }

    /* FEATURED */
    .blog-featured {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px 0 40px;
    }

    .blog-featured-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .blog-featured-content {
        max-width: 100%;
    }

    .blog-featured-content h2 {
        font-size: 30px;
    }

    .blog-featured-content p {
        max-width: 650px;
    }

    /* GRID */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 22px;
    }

    .blog-content p {
        min-height: auto;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

}

@media (max-width: 576px) {

    /*  Responsive Hero : 576  */
    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    /*  Responsive Skill : 576  */
    .stack-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-detail-header {
        margin-bottom: 30px;
    }

    .article-detail-category {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .article-detail-header h1 {
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -1.5px;
    }

    .article-detail-intro {
        margin: 0 0 20px;
        font-size: 14px;
        line-height: 1.6;
    }

    .article-detail-meta {
        font-size: 10px;
    }

    .article-detail-cover {
        margin-bottom: 40px;
        border-radius: 8px;
    }

    .article-detail-sidebar {
        padding-bottom: 15px;
    }

    .article-detail-sidebar a {
        margin-right: 10px;
        font-size: 11px;
    }

    .article-detail-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .article-detail-tech {
        margin-top: 35px;
    }

    .article-detail-next {
        justify-content: flex-start;
    }

    .article-detail-tech {
        gap: 7px;
    }

    .article-detail-tech span {
        font-size: 10px;
        padding: 5px 8px;
    }

    .article-detail-content ul,
    .article-detail-content ol {
        font-size: 14px;
    }

    .article-share {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .article-share-buttons {
        width: 100%;
    }

    .share-btn {
        width: 34px;
        height: 34px;
    }

    .blog {
        padding: 55px 0;
    }

    /* HEADER */
    .section-label {
        margin-bottom: 14px;
        font-size: 10px;
    }

    .blog-header {
        gap: 15px;
        margin-bottom: 35px;
    }

    .blog-header h1 {
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .blog-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* FEATURED */
    .blog-featured {
        gap: 25px;
        padding: 20px 0 35px;
    }

    .blog-featured-image {
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }

    .blog-featured-content h2 {
        margin-bottom: 14px;
        font-size: 27px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .blog-featured-content p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.6;
    }


    /* META */
    .blog-meta {
        gap: 10px;
        margin-bottom: 12px;
        font-size: 9px;
        letter-spacing: 0.7px;
    }


    /* ARTICLE */
    .blog-section-header {
        margin: 40px 0 25px;
    }

    .blog-section-header h2 {
        font-size: 23px;
    }


    /* GRID */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 22px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-content p {
        min-height: auto;
        font-size: 13px;
        line-height: 1.6;
    }

    /* MORE BUTTON */
    .blog-more {
        margin-top: 35px;
    }

    .blog-more-btn {
        width: 100%;
    }

}

@media (max-width: 440px) {

    /*  Responsive Hero : 440 */
    .hero h1 {
        font-size: clamp(38px, 8vw, 70px);
    }

    .hero-buttons {
        d flex-direction: column;
        width: 100%;
    }

    .btn {
         width: 100%;
        justify-content: center;
    }

    .react {
        top: -50px;
        left: 40px;
    }

    .laravel {
        top: 150px;
        right: 10px;
    }

    .javascript {
        bottom: 50px;
        left: 60px;
    }

    .php {
        bottom: 20px;
        right: 50px;
    }

    .css {
        top: 100px;
        left: 20px;
    }

    .html {
        top: 10px;
        right: 20px;
    }

}