/* Reset dan variabel */
:root {
    --primary-color: #00FF95;
    --secondary-color: #00CC78;
    --bg-dark: #0B0F15;
    --bg-card: #151921;
    --text-color: #ffffff;
    --text-secondary: #8A8F98;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Header */
.header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.header::before {
    content: '';
    position: absolute;
    right: -5%;
    top: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 30px 0 0 70%;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.shape-1 { top: 10%; left: 5%; width: 50px; height: 50px; transform: rotate(45deg); }
.shape-2 { top: 40%; right: 10%; width: 30px; height: 30px; }
.shape-3 { bottom: 20%; left: 15%; width: 40px; height: 40px; transform: rotate(30deg); }

.profile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.profile-content {
    padding-right: 2rem;
}

.profile-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.profile-content h1 span {
    color: var(--primary-color);
    display: block;
}

.profile-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.profile-img-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.profile-img-placeholder {
    width: 100%;
    height: auto;
    position: relative;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
}

.profile-img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 0 10px rgba(0, 255, 149, 0.3));
    transform: translateY(-10%);
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.section h2::after {
    display: none;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-areas: 
        "api ai python"
        "web editor sql";
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.skill-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Specific skill items positioning */
.skill-item:nth-child(1) { grid-area: api; }
.skill-item:nth-child(2) { grid-area: web; }
.skill-item:nth-child(3) { grid-area: ai; }
.skill-item:nth-child(4) { grid-area: python; }
.skill-item:nth-child(5) { grid-area: sql; }
.skill-item:nth-child(6) { 
    grid-area: editor;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tech enthusiast text styling */
.tech-enthusiast {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 1.1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 255, 149, 0.1);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* Tambahan animasi untuk angka statistik saat hover */
.stat-item:hover .stat-number {
    animation: pulseGlow 1s ease infinite;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 5px rgba(0, 255, 149, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 149, 0.3);
    }
    100% {
        text-shadow: 0 0 5px rgba(0, 255, 149, 0.1);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    background: rgba(11, 15, 21, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Untuk Safari/iOS */
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name span {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn {
    color: var(--bg-dark);
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    border-radius: 50px;
}

/* Project Tags */
.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 149, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    min-width: 200px;
}

.social-link i {
    font-size: 1.5rem;
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(0, 255, 149, 0.1);
}

.contact-email {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-email:hover {
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: 2rem;
    }

    .profile-content {
        padding-right: 0;
        order: 2;
    }

    .profile-img-container {
        order: 1;
    }

    .profile-img-placeholder {
        max-width: 500px;
        margin: 0 auto;
    }

    .profile-img-placeholder img {
        transform: translateY(0);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-areas: 
            "api ai"
            "web python"
            "sql editor";
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .profile-content h1 {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .navbar .container {
        padding: 0 0.8rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .nav-links .btn {
        padding: 0.7rem 1.2rem;
    }

    .profile-img-placeholder {
        max-width: 350px;
    }

    .contact-content {
        padding: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        min-width: auto;
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-areas: 
            "api"
            "web"
            "ai"
            "python"
            "sql"
            "editor";
    }

    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-links .btn {
        padding: 0.6rem 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.experience-header {
    margin-bottom: 1rem;
}

.experience-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.experience-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.experience-title {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(21, 25, 33, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease-in-out;
        padding: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
        opacity: 0.9;
    }

    .nav-links a:hover {
        opacity: 1;
    }

    .nav-links .btn {
        margin-top: 1rem;
        background: var(--primary-color);
        padding: 0.8rem 2rem;
        border-radius: 50px;
    }

    .profile-content h1 {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .navbar {
        padding: 1rem 0;
    }

    .profile-img-placeholder {
        max-width: 350px;
    }
}

/* Specific iOS/iPhone Styles */
@media screen and (max-width: 430px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar .container {
        padding: 0 0.5rem;
    }

    .nav-links {
        gap: 0.6rem;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    .nav-links .btn {
        padding: 0.6rem 1rem;
    }

    /* Pastikan logo tidak terlalu besar di mobile */
    .logo-text {
        font-size: 1.5rem;
    }

    .logo-name span {
        font-size: 0.8rem;
    }
} 