/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: var(--light-color);
}

/* Hero Section */
.hero-section {
    height: 117vh;
    background: var(--gradient-dark), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: static;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(37,99,235,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: fadeInDown 1s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.3s both;
}

.hero-section .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-lg);
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition);
    animation: fadeInUp 1s 0.6s both;
}

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37,99,235,0.2);
}

/* About Section */
#tentang {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#tentang::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.05;
    pointer-events: none;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-10px);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #4a90e2, #9013fe);
    border-radius: 2px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.skill-tags .badge {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: linear-gradient(135deg, #4a90e2 0%, #9013fe 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.skill-tags .badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

#tentang .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    background: linear-gradient(135deg, #4a90e2 0%, #9013fe 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

#tentang .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

/* Portfolio Section */
.card {
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Section */
#kontak {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

#kontak::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    /* background: linear-gradient(to bottom right, transparent 49%, #f8fafc 50%); */
}

#kontak form {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.form-control {
    border: 2px solid #e2e8f0;
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

/* Footer */
footer {
    background: var(--gradient-dark);
    border-top: none;
    margin-top: 0;
    padding: 60px 0 30px;
    position: relative;
}

/* footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    /* background: linear-gradient(to bottom right, transparent 49%, #1e293b 50%); */


footer h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

footer p {
    color: rgba(255,255,255,0.8);
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 1rem;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.social-links a:hover {
    color: #60a5fa !important;
    transform: translateY(-3px) rotate(8deg);
}

/* Animations */
@keyframes fadeInDown {
    from { 
        opacity: 0; 
        transform: translateY(-40px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        height: auto;
        min-height: 117vh;
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    #tentang img {
        margin-bottom: 2rem;
        max-width: 280px;
    }

    .card {
        margin-bottom: 2rem;
    }

    #kontak form {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .about-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .skill-tags .badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* --- MODERNISASI HALAMAN ARTIKEL --- */
.articles-page .card {
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(44,62,80,0.10), 0 1.5px 4px rgba(44,62,80,0.08);
    border: none;
    transition: box-shadow 0.25s, transform 0.25s;
    z-index: 1;
    background: #fff;
    position: relative;
}
.articles-page .card:hover {
    box-shadow: 0 12px 40px rgba(74,144,226,0.18), 0 2px 8px rgba(144,19,254,0.10);
    transform: translateY(-4px) scale(1.01);
}
.articles-page .card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0.7rem;
}
.articles-page .card-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}
.articles-page .badge, .articles-page .btn, .articles-page .form-control {
    border-radius: 8px !important;
}
.articles-page .badge.bg-primary.text-white {
    background: linear-gradient(90deg, #4a90e2, #9013fe) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}
.articles-page .badge.bg-secondary {
    background: #f0f4f8 !important;
    color: #4a90e2 !important;
    font-weight: 500;
}
.articles-page .btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.articles-page .btn-outline-primary:hover {
    background: linear-gradient(90deg, #4a90e2, #9013fe) !important;
    color: #fff !important;
    border-color: #4a90e2 !important;
}
.articles-page .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74,144,226,0.15);
}
.articles-page .card-img-top {
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    min-height: 180px;
    max-height: 220px;
}
.articles-page .card-body {
    padding: 1.5rem;
}
.articles-page .card {
    overflow: visible !important;
}
.articles-page .dropdown-menu {
    z-index: 3000 !important;
}
.articles-page .container, .articles-page .row {
    z-index: 1 !important;
    position: static !important;
    overflow: visible !important;
}
@media (max-width: 767.98px) {
    .articles-page .card-body {
        padding: 1rem;
    }
    .articles-page .card-img-top {
        min-height: 120px;
        max-height: 150px;
    }
}
/* Animasi filter dan badge */
.articles-page .badge, .articles-page .btn {
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
}
.articles-page .badge:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}
/* --- END MODERNISASI ARTIKEL --- */ 
[data-aos] {
  will-change: transform, opacity;
} 