/* === VARIABEL WARNA === */ :root { --bg: #0f1115; --bg-secondary: #181a20; --card: #1e2128; --accent: #5e8b7e; --accent-light: #7da399; --text: #d1d5db; --text-secondary: #9ca3af; --heading: #f3f4f6; --border: #2d3139; --shadow: rgba(0, 0, 0, 0.3); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; } /* === HEADER === */ header { position: fixed; top: 0; left: 0; width: 100%; padding: 18px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: rgba(15, 17, 21, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: padding 0.3s ease; } .logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; color: var(--heading); text-decoration: none; } .logo-icon { color: var(--accent); font-size: 1.6rem; } .logo-text { background: linear-gradient(90deg, var(--heading) 0%, var(--accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } nav ul { display: flex; list-style: none; gap: 28px; } nav a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s ease; position: relative; padding: 5px 0; } nav a:hover, nav a.active { color: var(--accent-light); } nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; } nav a:hover::after, nav a.active::after { width: 100%; } .menu-toggle { display: none; font-size: 1.4rem; color: var(--heading); cursor: pointer; } /* === SECTION UMUM === */ .section { padding: 90px 40px; max-width: 1200px; margin: 0 auto; } .bg-alt { background-color: var(--bg-secondary); max-width: 100%; } .bg-alt .container { max-width: 1200px; margin: 0 auto; } .section-title { font-size: 2.2rem; color: var(--heading); text-align: center; margin-bottom: 50px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); } .section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--accent); border-radius: 2px; } /* === HERO === */ .hero { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 60px; padding: 140px 40px 80px; min-height: 100vh; } .content { max-width: 600px; } .content h1 { font-size: 3.2rem; margin-bottom: 12px; background: linear-gradient(90deg, var(--heading) 0%, var(--accent-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; } .content h2 { font-size: 1.6rem; margin-bottom: 20px; color: var(--text-secondary); font-weight: 400; } .typing-text { color: var(--accent-light); position: relative; } .typing-text::after { content: '|'; margin-left: 4px; animation: blink 0.8s infinite; color: var(--accent); } .content > p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.7; } .cta-buttons { display: flex; gap: 16px; margin-bottom: 35px; flex-wrap: wrap; } .btn { padding: 13px 30px; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; } .btn-primary { background: var(--accent); color: #fff; } .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(94, 139, 126, 0.3); } .btn-secondary { border: 1.5px solid var(--accent); color: var(--accent-light); background: transparent; } .btn-secondary:hover { background: rgba(94, 139, 126, 0.1); transform: translateY(-2px); } .social-icons { display: flex; gap: 14px; } .social-icons a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card); color: var(--accent-light); font-size: 1.1rem; transition: all 0.3s ease; border: 1px solid var(--border); } .social-icons a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); } /* === PROFILE IMAGE === */ .profile-container { position: relative; width: 280px; height: 280px; flex-shrink: 0; } .profile-img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; border: 4px solid var(--bg); box-shadow: 0 8px 30px var(--shadow); } .border-outer { position: absolute; width: 280px; height: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(transparent, var(--accent), transparent, transparent); z-index: 1; animation: rotate 5s linear infinite; } .border-middle { position: absolute; width: 255px; height: 255px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(transparent, var(--accent-light), transparent, transparent); z-index: 2; animation: rotate-reverse 4s linear infinite; filter: blur(2px); } .border-inner { position: absolute; width: 230px; height: 230px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(transparent, var(--accent), transparent, transparent); z-index: 3; animation: rotate 3s linear infinite; } .border-container { position: absolute; width: 280px; height: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; z-index: 4; } .border-container::after { content: ""; position: absolute; width: 240px; height: 240px; background: var(--bg); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; } .pulse-ring { position: absolute; width: 280px; height: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(94, 139, 126, 0.25); z-index: 0; animation: pulse 3s ease-out infinite; } .pulse-ring:nth-child(5) { animation-delay: 1s; } /* === TENTANG SAYA === */ .about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; } .about-img-wrapper { position: relative; } .about-img { width: 100%; border-radius: 12px; border: 2px solid var(--border); box-shadow: 0 8px 25px var(--shadow); } .about-content h3 { font-size: 1.6rem; color: var(--heading); margin-bottom: 15px; } .about-content p { color: var(--text-secondary); margin-bottom: 15px; line-height: 1.7; } .about-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 25px; } .info-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--card); border-radius: 8px; border: 1px solid var(--border); font-size: 0.95rem; } .info-item i { color: var(--accent); width: 18px; } .info-item strong { color: var(--heading); } /* === PENDIDIKAN TIMELINE === */ .timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; } .timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--border); } .timeline-item { position: relative; margin-bottom: 35px; padding-left: 35px; } .timeline-dot { position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; background: var(--accent); border-radius: 50%; border: 3px solid var(--bg-secondary); } .timeline-content { background: var(--card); padding: 22px; border-radius: 10px; border: 1px solid var(--border); } .timeline-year { display: inline-block; padding: 4px 12px; background: rgba(94, 139, 126, 0.15); color: var(--accent-light); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; } .timeline-content h3 { color: var(--heading); margin-bottom: 8px; font-size: 1.2rem; } .timeline-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; } /* === KEAHLIAN === */ .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; } .skill-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: transform 0.3s ease, border-color 0.3s ease; } .skill-card:hover { transform: translateY(-5px); border-color: var(--accent); } .skill-icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 15px; } .skill-card h3 { color: var(--heading); margin-bottom: 15px; font-size: 1.15rem; } .skill-bar { width: 100%; height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; margin-bottom: 10px; } .skill-progress { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 4px; width: 0; transition: width 1.5s ease-out; } .skill-percent { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; } /* === PROYEK === */ .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; } .project-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } .project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); } .project-img { width: 100%; height: 200px; overflow: hidden; border-bottom: 1px solid var(--border); } .project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .project-card:hover .project-img img { transform: scale(1.05); } .project-info { padding: 22px; } .project-info h3 { color: var(--heading); margin-bottom: 10px; font-size: 1.2rem; } .project-info p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; } .project-tags { display: flex; flex-wrap: wrap; gap: 8px; } .project-tags span { padding: 5px 12px; background: rgba(94, 139, 126, 0.12); color: var(--accent-light); border-radius: 20px; font-size: 0.8rem; font-weight: 500; } /* === KONTAK === */ .contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1000px; margin: 0 auto; } .contact-info h3 { color: var(--heading); font-size: 1.5rem; margin-bottom: 15px; } .contact-info > p { color: var(--text-secondary); margin-bottom: 30px; line-height: 1.7; } .contact-list { display: flex; flex-direction: column; gap: 20px; } .contact-item { display: flex; align-items: flex-start; gap: 15px; padding: 18px; background: var(--card); border-radius: 10px; border: 1px solid var(--border); } .contact-item i { font-size: 1.3rem; color: var(--accent); margin-top: 3px; } .contact-item span { color: var(--heading); font-weight: 600; font-size: 0.95rem; } .contact-item p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 3px; } .contact-form { background: var(--card); padding: 32px; border-radius: 12px; border: 1px solid var(--border); } .form-group { margin-bottom: 20px; } .form-group label { display: block; color: var(--heading); margin-bottom: 8px; font-size: 0.95rem; font-weight: 500; } .form-group input, .form-group textarea { width: 100%; padding: 12px 15px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s ease; resize: vertical; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); } /* === FOOTER === */ footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 30px 40px; text-align: center; } .footer-content p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 15px; } .footer-social { display: flex; justify-content: center; gap: 18px; } .footer-social a { color: var(--text-secondary); font-size: 1.1rem; transition: color 0.3s ease; } .footer-social a:hover { color: var(--accent); } /* === REVEAL ANIMATION === */ .reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; } .reveal.active { opacity: 1; transform: translateY(0); } /* === KEYFRAMES === */ @keyframes rotate { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } } @keyframes rotate-reverse { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(-360deg); } } @keyframes pulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; } } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } /* === RESPONSIVE === */ @media (max-width: 992px) { .hero { flex-direction: column-reverse; text-align: center; padding: 120px 30px 60px; gap: 50px; } .cta-buttons { justify-content: center; } .social-icons { justify-content: center; } .about-grid { grid-template-columns: 1fr; text-align: center; } .about-img-wrapper { max-width: 280px; margin: 0 auto; } .about-info { text-align: left; } .contact-wrapper { grid-template-columns: 1fr; } } @media (max-width: 768px) { header { padding: 15px 25px; } nav ul { position: fixed; top: 65px; left: -100%; width: 100%; height: calc(100vh - 65px); background: rgba(15, 17, 21, 0.97); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 40px; gap: 0; transition: left 0.3s ease; } nav ul.active { left: 0; } nav a { font-size: 1.1rem; padding: 14px 0; display: block; } .menu-toggle { display: block; } .content h1 { font-size: 2.4rem; } .content h2 { font-size: 1.3rem; } .section { padding: 60px 25px; } .section-title { font-size: 1.8rem; } .profile-container { width: 240px; height: 240px; } .profile-img { width: 185px; height: 185px; } .border-outer { width: 240px; height: 240px; } .border-middle { width: 220px; height: 220px; } .border-inner { width: 200px; height: 200px; } .border-container::after { width: 205px; height: 205px; } .pulse-ring { width: 240px; height: 240px; } .about-info { grid-template-columns: 1fr; } .timeline { padding-left: 20px; } } @media (max-width: 480px) { .content h1 { font-size: 2rem; } .btn { width: 100%; justify-content: center; } .cta-buttons { flex-direction: column; } .skills-grid { grid-template-columns: 1fr; } .projects-grid { grid-template-columns: 1fr; } }