/* --- Variables & Reset --- */
:root {
    --bg-color: #121214; /* Warna dasar gelap */
    --text-main: #ffffff;
    --text-muted: #8b8b99;
    --accent-red: #e62b34;
    --font-main: 'Poppins', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* --- Header / Navbar --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.logo-top-line {
    width: 30px;
    height: 2px;
    background-color: var(--accent-red);
    margin-bottom: 5px;
}

.logo h1 {
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 1;
}

.logo p {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-top: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-red);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 7%;
    position: relative;
    /* Ganti URL di bawah dengan gambar orang merokok untuk background */
    background: linear-gradient(to right, rgba(18, 18, 20, 1) 40%, rgba(18, 18, 20, 0) 100%), 
                url('img1.webp') no-repeat center right / cover;
}

.greeting {
    color: var(--accent-red);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.title {
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.cursor {
    font-weight: 300;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.locations {
    display: flex;
    gap: 40px;
    border-left: 2px solid #333;
    padding-left: 20px;
}

.loc-item h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.loc-item p {
    font-size: 12px;
    color: var(--text-muted);
}

.scroll-icon {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

/* --- About Me Section --- */
.about {
    padding: 100px 10%;
    text-align: center;
    background-color: #17171a;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
}

.underline {
    width: 40px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 10px auto 0;
}

.about-desc {
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Circular Skills Bar */
.skills-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    /* CSS conic-gradient untuk membuat ring chart. Nilai --p diambil dari inline style HTML */
    background: conic-gradient(var(--accent-red) calc(var(--p) * 1%), #2a2a2e 0);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.inner {
    width: 136px; /* Lebih kecil 4px dari circle utama untuk membuat garis pinggir */
    height: 136px;
    background-color: #17171a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.skill h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Quote Section --- */
.quote-section {
    padding: 150px 10%;
    /* Ganti URL di bawah dengan gambar siluet untuk background */
    background: linear-gradient(rgba(18, 18, 20, 0.8), rgba(18, 18, 20, 0.8)), 
                url('https://via.placeholder.com/1920x800/111/111') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.quote-container {
    max-width: 800px;
}

.quote-mark {
    font-size: 100px;
    color: var(--accent-red);
    line-height: 1;
    font-family: serif;
    display: block;
    margin-bottom: -20px;
}

blockquote {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

.author {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.author span {
    display: inline-block;
    width: 2px;
    height: 15px;
    background-color: var(--accent-red);
    margin-right: 10px;
}