/* Global Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --dark-color: #2f2e41;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

[data-theme="dark"] {
    --dark-color: #1a1a2e;
    --light-color: #16213e;
    --text-color: #f8f9fa;
    --text-light: #cccccc;
    --white: #0f3460;
    --black: #f8f9fa;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--light-color);
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 90%;
}

.splash-text {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loading-bar {
    width: min(80%, 300px);
    height: 4px;
    background-color: rgba(108, 99, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: loading 4s linear forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--white);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 50px;
    margin-right: 10px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.theme-switch-wrapper i {
    color: var(--text-color);
    font-size: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section - Linktree Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-content {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.profile-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.profile-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.profile-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Linktree Buttons */
.linktree-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.linktree-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.linktree-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: left 0.5s;
}

.linktree-btn:hover::before {
    left: 100%;
}

.linktree-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    border-color: var(--primary-color);
}

.linktree-btn i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.linktree-btn span {
    flex: 1;
    text-align: left;
}

/* Music Player */
.music-player {
    background: rgba(108, 99, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.music-info {
    text-align: center;
    margin-bottom: 15px;
}

.music-title {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.music-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.music-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.music-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.play-btn {
    width: 50px;
    height: 50px;
}

.music-progress {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(108, 99, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.1s ease;
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.25);
    border-color: var(--primary-color);
}

/* Warna khusus untuk setiap platform */
.social-icon:nth-child(1):hover { background: #FF0000; } /* YouTube */
.social-icon:nth-child(2):hover { background: #E4405F; } /* Instagram */
.social-icon:nth-child(3):hover { background: #333333; } /* GitHub */
.social-icon:nth-child(4):hover { background: #0077B5; } /* LinkedIn */

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.info-item {
    display: flex;
}

.info-label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--primary-color);
    min-width: 100px;
}

.info-value {
    color: var(--text-color);
}

/* Skills Section - Modern Design */
.skills {
    position: relative;
    overflow: hidden;
}

.skills-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
}

.skill-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.1);
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.2);
    border-color: rgba(108, 99, 255, 0.3);
}

.skill-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

/* Custom icon untuk editing skills */
.skill-icon.custom-icon {
    background: transparent;
    border-radius: 0;
    width: 40px;
    height: 40px;
}

.skill-icon.custom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.skill-item:hover .skill-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.skill-item:hover .skill-icon.custom-icon {
    background: transparent;
    transform: scale(1.1);
}

.skill-item:hover .skill-icon.custom-icon img {
    filter: brightness(0) invert(1);
}

.skill-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Skill specific colors */
.skill-item:nth-child(1) .skill-icon { color: #E44D26; }
.skill-item:nth-child(2) .skill-icon { color: #264DE4; }
.skill-item:nth-child(3) .skill-icon { color: #F0DB4F; }
.skill-item:nth-child(4) .skill-icon { color: #61DAFB; }
.skill-item:nth-child(5) .skill-icon { color: #42B883; }
.skill-item:nth-child(6) .skill-icon { color: #38B2AC; }
.skill-item:nth-child(7) .skill-icon { color: #F05032; }
.skill-item:nth-child(8) .skill-icon { color: #339933; }

.skill-item:hover .skill-icon {
    color: var(--white);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.projects-container {
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    min-height: 400px;
}

.project-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
    background: var(--white);
}

.project-item.hidden {
    display: none;
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-overlay p {
    color: var(--white);
    margin-bottom: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.project-link:hover {
    transform: rotate(45deg);
}

/* Projects Navigation */
.projects-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.project-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.project-nav-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.project-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.page-info {
    font-weight: 500;
    color: var(--text-color);
    min-width: 100px;
    text-align: center;
}

/* Comments Section */
.comments-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 60px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .comments-section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 0 0 0 200px;
    z-index: 0;
}

.comments-section .section-title {
    color: var(--text-color);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.comment-form-container {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .comment-form-container {
    background: var(--dark-color);
}

.comment-form-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.comment-input-group {
    margin-bottom: 20px;
}

.comment-input-group input,
.comment-input-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background-color: var(--light-color);
    color: var(--text-color);
    font-size: 1rem;
}

[data-theme="dark"] .comment-input-group input,
[data-theme="dark"] .comment-input-group textarea {
    background-color: #2d3748;
    border-color: #4a5568;
}

.comment-input-group input:focus,
.comment-input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.comment-input-group textarea {
    height: 120px;
    resize: none;
}

.comment-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.comments-list-container {
    position: relative;
    z-index: 1;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.comments-title {
    font-size: 1.5rem;
    color: var(--text-color);
}

.comments-count {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.comments-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-item {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .comment-item {
    background: var(--dark-color);
}

.comment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.comment-author {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 10px;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: auto;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 15px 0;
}

[data-theme="dark"] .comment-divider {
    background: #4a5568;
}

.comments-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.notification {
    padding: 12px 20px;
    margin: 15px 0;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 500;
}

.notification.error {
    background-color: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
    display: block;
}

.notification.success {
    background-color: #f0fff4;
    color: #2f855a;
    border: 1px solid #9ae6b4;
    display: block;
}

[data-theme="dark"] .notification.error {
    background-color: #742a2a;
    color: #fed7d7;
    border-color: #c53030;
}

[data-theme="dark"] .notification.success {
    background-color: #22543d;
    color: #9ae6b4;
    border-color: #2f855a;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer Section - PERBAIKAN UTAMA */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-section h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: #cccccc;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cccccc;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    font-size: 0.9rem;
}

/* PERBAIKAN: Warna teks footer untuk mode dark */
[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section ul li,
[data-theme="dark"] .footer-section ul li a,
[data-theme="dark"] .footer-contact li,
[data-theme="dark"] .footer-bottom {
    color: #ffffff !important;
}

[data-theme="dark"] .footer-section h4 {
    color: #ffffff !important;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: -80px;
    width: 60px;
    height: 60px;
    background-color: #a29bfe;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    text-decoration: none;
    transition: background 0.3s;
    animation: slideInRight 0.6s forwards 1s;
}

.floating-btn:hover {
    background-color: #6c5ce7;
}

@keyframes slideInRight {
    to {
        right: 20px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 0;
        max-width: 100%;
        padding-top: 20px;
    }

    .about-content,
    .skills-content,
    .contact-content {
        flex-direction: column;
    }

    .about-image,
    .about-text,
    .skills-description,
    .skills-bars,
    .contact-info,
    .contact-form {
        width: 100%;
    }

    .about-image {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .comments-section {
        padding: 30px 20px;
    }
    
    .comment-form-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.2rem;
    }

    .theme-switch-wrapper {
        margin: 20px 0 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .comments-section {
        padding: 25px 15px;
    }
    
    .comment-item {
        padding: 20px;
    }
    
    .comment-header {
        flex-wrap: wrap;
    }
    
    .comment-date {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
    }
    
    .projects-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .profile-card {
        padding: 30px 20px;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .comments-pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-form-title {
        font-size: 1.3rem;
    }
    
    .comments-title {
        font-size: 1.3rem;
    }
    
    .linktree-buttons {
        gap: 10px;
    }
    
    .linktree-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}
