/* ==================================== */
/* 1. VARIABEL WARNA & FONT */
/* ==================================== */
:root {
    --primary-color: #0077B6; 
    --secondary-color: #00B4D8;
    --accent-color: #FF007A; 
    
    --bg-light: #f0f0f5; 
    --bg-glass: rgba(255, 255, 255, 0.5); 
    --text-dark: #1f1f1f; 
    --text-gray: #4a4a4a; 
    --border-glass: rgba(255, 255, 255, 0.7); 

    --font-pixel: 'Pixelify Sans', cursive;
    --font-default: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-default); 
    overflow-x: hidden;
    scroll-behavior: smooth;
    
    background-image: url('https://files.catbox.moe/vuzxrh.jpg'); 
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}


h1, h2, h4, .navbar-brand, .hero-profession {
    font-family: var(--font-pixel) !important;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1); 
}


.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.divider { border-top: 1px solid rgba(0, 0, 0, 0.1); }


/* ==================================== */
/* 2. BACKGROUND & UTILITY (GLASSMORPHISM) */
/* ==================================== */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}


/* ==================================== */
/* 3. NAVBAR */
/* ==================================== */
.navbar {
    backdrop-filter: blur(15px); 
    background: var(--bg-glass); 
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--text-dark);
    font-weight: 700;
}

.navbar .nav-link {
    color: var(--text-gray);
    font-weight: 600;
    margin: 0 12px;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
    left: 0;
}


/* ==================================== */
/* 4. HERO SECTION (Layout & Profile) */
/* ==================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px; 
    padding-bottom: 80px;
}

.hero-content {
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hero-content.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-title {
    color: var(--text-dark);
    font-size: 5rem; 
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title #typewriter {
    color: var(--primary-color);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.hero-profession {
    color: var(--text-gray);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: var(--text-gray);
    max-width: 550px;
    margin-bottom: 2rem;
    font-size: 1.15rem;
}

/* Rotating Skills */
.rotating-skills-wrapper {
    backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    max-width: fit-content;
    padding: 10px 15px;
}

.skills-input-container {
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.typing-cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    font-weight: 300;
    margin-left: 5px;
    color: var(--primary-color);
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Profile Image */
.profile-container {
    width: 350px; 
    height: 350px; 
    position: relative;
    z-index: 5;
    margin: 0 auto; 
}

.profile-image-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 119, 182, 0.6); 
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.profile-image-container:hover {
    box-shadow: 0 0 50px rgba(0, 119, 182, 0.8);
    transform: scale(1.03); 
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    
    image-rendering: pixelated; 
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
}

.profile-image:hover {
    transform: scale(1.08);
}


/* Social Links */
.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-gray); 
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    background: rgba(0, 119, 182, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}


/* ==================================== */
/* 5. SECTIONS GENERAL & TITLE */
/* ==================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 70px;
    color: var(--text-dark);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 3px;
}


/* ==================================== */
/* 6. ABOUT ME & SKILLS / DREAM CARD (GLASSMORPHISM) */
/* ==================================== */
.about-intro {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.skill-card, .project-card {
    backdrop-filter: blur(15px);
    background: var(--bg-glass); 
    border-radius: 15px; 
    padding: 30px; 
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.skill-card.hover-lift:hover, .project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-7px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--text-light);
    background: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 119, 182, 0.6);
}

.skill-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0;
}

.skill-card p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 20px;
}

.skill-technologies {
    margin-bottom: 20px;
}
.skill-tech {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 0 0;
    border-radius: 5px;
    font-size: 0.85rem;
    background: rgba(0, 119, 182, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 119, 182, 0.2);
}
.skill-card:nth-child(2) .skill-icon-container {
    background: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.6);
}
.skill-card:nth-child(2) .skill-tech {
    color: var(--accent-color);
    background: rgba(255, 0, 122, 0.1);
    border-color: rgba(255, 0, 122, 0.2);
}
.skill-card:nth-child(2) .experience-fill {
    background: var(--accent-color);
}
.skill-card:nth-child(2) .experience-text {
    color: var(--accent-color);
}


.skill-experience {
    margin-top: 20px;
}

.experience-bar {
    background: rgba(0, 0, 0, 0.1); 
    height: 8px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.experience-fill {
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.8);
    transition: width 1s ease-out;
}

.experience-text {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.dream-intro {
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    color: var(--text-gray) !important;
    max-width: 700px !important;
    margin: 0 auto 3rem !important;
}

.project-content h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project-description {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ==================================== */
/* 8. FOOTER (Sederhana & Glassmorphism) */
/* ==================================== */
.footer-simple {
    background: var(--bg-glass); 
    border-top: 1px solid var(--border-glass); 
    backdrop-filter: blur(10px);
}

.footer-simple .text-light {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-simple .text-muted {
    color: var(--text-gray) !important;
}


/* ==================================== */
/* 9. MEDIA QUERIES (RESPONSIVENESS) */
/* ==================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem; 
    }
}

@media (max-width: 992px) {
    .hero-section {
        text-align: center; 
    }
    .hero-title {
        font-size: 3.5rem; 
    }
    .hero-profession {
        font-size: 1.2rem;
    }
    .hero-description {
        max-width: none;
    }
    .social-links {
        justify-content: center; 
    }
    .profile-container {
        width: 280px; 
        height: 280px;
        margin-bottom: 40px !important; 
    }
    .rotating-skills-wrapper {
        justify-content: center; 
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-profession {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .profile-container {
        width: 220px; 
        height: 220px;
    }
    .section-title {
        font-size: 2rem;
    }
}