body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    color: #333;
    line-height: 1.6;
    padding-top: 60px;
}

.navbar {
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links > a {
    font-size: 1.5rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links > a:hover {
    color: #007bff;
}

.nav-btn-saweria {
    font-size: 0.9rem !important;
    font-weight: 500;
    padding: 8px 12px;
    background-color: #FFC107;
    color: #1f1f1f !important;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-btn-saweria:hover {
    color: #1f1f1f !important;
    background-color: #ffca2c;
    transform: translateY(-1px);
}

.nav-btn-saweria .fas {
    margin-right: 5px;
}

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

header {
    background-color: #ffffff;
    color: #333;
    padding: 60px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    color: #222;
}

header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#project-count-display {
    margin-top: 20px;
    margin-bottom: -15px;
    font-style: italic;
    color: #555;
}

#search-input {
    margin-top: 30px;
    margin-bottom: 10px;
    max-width: 500px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #eee;
}

.project-preview {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.project-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    pointer-events: none; /* 🔥 ini yang bikin gak bisa interaksi */
}



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

.card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #999;
}

#search-input {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 40px auto;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; 
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}

.no-results {
    grid-column: 1 / -1; 
    text-align: center;
    color: #777;
    font-size: 1.1rem;
    margin-top: 20px;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: #999;
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    font-size: 1.7rem;
    color: #555;
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.social-links a:hover {
    color: #007bff;
}

#project-count-display {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-link {
    margin-bottom: 25px;
}

.btn-saweria {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FFC107;
    color: #1f1f1f;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-saweria:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    background-color: #ffca2c;
}

.btn-saweria .fas {
    margin-right: 8px;
}