/* Variabel Warna */
:root {
    --dark-gray: #1a1c1e;
    --white: #ffffff;
    --blue-light: #00c2ff;
    --blue-dark: #0c71ff;
    --gradient-blue: linear-gradient(135deg, #00c2ff, #0c71ff);
    --text-dark: #2d2d2d;
    --text-light: #666666;
    --bg-light: #fafafa;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Navbar --- */
nav {
    background-color: var(--dark-gray);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 75px;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
}

.nav-left {
    text-align: right;
    padding-right: 40px;
}

.nav-right {
    text-align: left;
    padding-left: 40px;
}

.nav-left a, .nav-right a {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-left a:hover, .nav-right a:hover {
    color: var(--blue-light);
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    justify-self: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

/* --- Hero Section --- */
#hero {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-text {
    flex: 1.2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-greeting {
    color: #888;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

/* Class untuk teks dengan gradient biru */
.highlight {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 550px;
    margin-bottom: 40px;
}

.btn-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--gradient-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(12, 113, 255, 0.2);
}

/* --- Tentang Section --- */
#tentang {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.tentang-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.tentang-content {
    flex: 1;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 4px;
    background: var(--gradient-blue);
}

.tentang-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.social-title {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.social-icons a:hover {
    border-color: var(--blue-dark);
    background: var(--gradient-blue);
    color: var(--white);
}

/* Stats Grid */
.tentang-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #ddd;
}

.stat-box h3 {
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* --- Projects Section --- */
#projects {
    padding: 100px 0;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(12, 113, 255, 0.1);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background-color: #f0f8ff; /* Biru sangat muda */
    color: var(--blue-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.card-link:hover {
    color: var(--blue-dark);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Logo Footer Baru */
.footer-logo {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #aaa;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--blue-light);
}

.copyright {
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 20px;
    width: 100%;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .hero-wrapper { flex-direction: column-reverse; text-align: center; }
    .hero-image { justify-content: center; }
    .hero-desc { margin: 0 auto 30px; }
    .btn-group { justify-content: center; }
    .tentang-wrapper { flex-direction: column; }
    .tentang-stats { width: 100%; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .section-title::after { left: 50%; transform: translateX(-50%); }
    .tentang-content { text-align: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .nav-left, .nav-right { padding: 0 10px; }
    .nav-left a, .nav-right a { font-size: 0.85rem; }
    .logo img { max-height: 35px; }
    .tentang-stats { grid-template-columns: 1fr; }
}