/*-- index --*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
    overflow-x: hidden; 
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/gambar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}



.language-toggle {
    cursor: pointer;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    list-style-type: none; 
    margin-left: 20px;
    color: #ffffff !important;
    background-color: rgba(243, 0, 0, 0.1); 
    box-shadow: 0 0 8px rgb(248, 0, 0); 
    animation: flicker 1.5s infinite alternate;
}


.language-toggle:hover {
    box-shadow: 0 0 15px rgb(248, 0, 0); 
}


.language-toggle .fas {
    margin-right: 5px;
    font-size: 1rem;
}

.navbar-nav .nav-item, .language-toggle {
    margin: 0 80px;
}



.btn-theme {
    background-color: var(--button-bg);
    border: 2px solid var(--button-border);
    color: var(--button-text);
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--button-border); /* Efek glow */
}

.btn-theme:hover {
    background-color: var(--hover-bg);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--hover-bg);
}

/* --- Variasi Warna Ikon --- */
.btn-theme #theme-icon {
    color: #E50914;
    transition: color 0.3s ease;
}

.btn-theme:hover #theme-icon {
    color: #E50914;
}



/* Modifikasi elemen navbar */
body.light-theme .navbar {
    background-color: rgb(112, 112, 110) !important;
    backdrop-filter: blur(12px);
}

body.light-theme .navbar-brand {
    color: #ffe600 !important; 
    text-shadow: none;
    animation: neon-flicker-yellow 2s infinite alternate;
}

body.light-theme .navbar-nav .nav-item a {
    color: #eeff00 !important;
}

body.light-theme .navbar-nav .nav-item a:hover {
    color: #ffd000 !important; 
    background-color: transparent;
    box-shadow: none;
    animation: neon-flicker-yellow 1.5s infinite alternate;
}

body.light-theme .navbar-nav .nav-item a.active {
    color: #ffb700 !important; 
    background-color: transparent;
    box-shadow: none;
    animation: neon-flicker-yellow 1.5s infinite alternate;
}

body.light-theme .navbar-toggler {
    border: 2px solid #f0ff00 !important; 
    animation: neon-flicker-yellow 2s infinite alternate;
}

body:not(.light-theme) .language-toggle {
    animation: flicker 1.5s infinite alternate;
}


/* Modifikasi hero section */
body.light-theme .hero-content h1,
body.light-theme .hero-content p {
    color: #ff9d00;
    text-shadow: none;
}




/* Modifikasi konten utama */
body.light-theme .main-content-panel,
body.light-theme #skills,
body.light-theme #projects,
body.light-theme #contact {
    background-color: #565656; 
    color: #ffff00;
    border: 2px solid #333333;
    box-shadow: 4px 4px 0 #1a1a1a; 
}



body.light-theme .row.text-center.align-items-center.mt-4 .col-12 {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

body.light-theme .my-about-title,
body.light-theme h2,
body.light-theme h3 {
    color: #ff9900;
}

body.light-theme .highlight-text {
    color: #f2ff00;
    text-shadow: none;
}

/* Modifikasi skills */
body.light-theme .skill-card {
    background-color: transparent;
    border: 2px solid #d4ff00;
    animation: none;
}

body.light-theme .skill-card:hover {
    border-color: #f0ff00; 
    box-shadow: 0 0 15px rgba(240, 255, 0, 0.5);
    animation: neon-flicker-yellow 1.5s infinite alternate;
}

body.light-theme .skill-card i {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    color: #e5ff00 !important;
}

body.light-theme .skill-card:hover i {
    filter: none;
    opacity: 1;
    color: #ff9900 !important; /* Aksen Hijau Neon */
    text-shadow: 0 0 5px rgb(255, 255, 0);
}

body.light-theme .skills-scroller::before,
body.light-theme .skills-scroller::after {
    background: linear-gradient(to right, #f2ff00 20%, transparent);
}

body.light-theme .skills-scroller::after {
    background: linear-gradient(to left, #ffa200 20%, transparent);
}

/* Modifikasi project */
body.light-theme .project-card {
    background-color: #5c5730;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0 #ffc400;
}

body.light-theme .project-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: none;
}

body.light-theme .project-card h3 {
    color: #fffb00; 
    text-shadow: none;
    animation: neon-flicker-yellow 1.5s infinite alternate;
}

body.light-theme .project-links .btn {
    background-color: transparent;
    border: 2px solid #ff9900; 
    color: #fffb00; 
    box-shadow: none; 
    transition: all 0.4s ease-in-out;
}

body.light-theme .project-links .btn:hover {
    background-color: #ff9900; 
    color: #1a1a1a; 
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.6); 
}


body.light-theme .project-links .btn::before {
    background: none;
}


body.light-theme #contact-form input,
body.light-theme #contact-form textarea {
    background-color: #fbff00;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    box-shadow: none;
}

body.light-theme #contact-form input:focus,
body.light-theme #contact-form textarea:focus {
    border-color: #f2ff00;
    box-shadow: 0 0 10px rgb(238, 255, 0);
    animation: neon-flicker-yellow 1s infinite alternate;
}

body.light-theme .form-group.floating .form-control:focus {
    border-bottom-color: #ff9900;
    box-shadow: none;
    animation: neon-flicker-yellow 2s infinite alternate;
}

body.light-theme .form-group.floating label {
    color: #444444; 
}

body.light-theme .form-group.floating .form-control:focus + label,
body.light-theme .form-group.floating .form-control:valid + label {
    color: #ff9900; 
}

body.light-theme .form-group.floating .form-control:focus {
    animation: none; 
    border-bottom-color: #ff9900;
    box-shadow: 0 1px 0 0 #ff9900;
}


body.light-theme .contact-socials a i {
    color: #ff9900; 
    text-shadow: none; 
    transition: all 0.3s ease;
    animation: light-theme-icon-glow 2s infinite alternate;
}

body.light-theme .contact-socials a:hover i {
    color: #fffb00; 
    transform: translateY(-5px);
    text-shadow: 0 0 10px rgba(255, 251, 0, 0.7); 
    animation: none;
}

@keyframes light-theme-icon-glow {
  0%, 100% {
    color: #ff9900; 
    text-shadow: 0 0 5px rgb(255, 255, 255);
  }
  50% {
    color: #fffb00; 
    text-shadow: 0 0 15px rgba(255, 251, 0, 0.8);
  }
}


body.light-theme .form-group label {
    color: #ffd500;
}

body.light-theme .form-group:focus-within label {
    color: #f0ff00; 
    animation: none;
}

body.light-theme .btn-submit,
body.light-theme .btn-cv,
body.light-theme .btn-contact {
    border-color: #ffb300; 
    color: #fffb00; 
    animation: neon-flicker-green 1.8s infinite alternate;
}

body.light-theme .btn-submit:hover,
body.light-theme .btn-cv:hover,
body.light-theme .btn-contact:hover {
    color: #1a1a1a;
    background-color: #ff8800; /* Aksen Hijau Neon */
    transform: none;
    box-shadow: 0 0 20px rgba(255, 217, 0, 0.943);
    animation: none;
}

body.light-theme .contact-socials a i {
    color: #1a1a1a;
}

body.light-theme .contact-socials a:hover i {
    color: #fbff00;
    transform: none;
    animation: neon-flicker-green 1.5s infinite alternate;
}

body.light-theme .language-toggle {
    color: #fffb00 !important;
    background-color: transparent;
    border: 2px solid #ffc400;
    box-shadow: 4px 4px 0 #1a1a1a;
    animation: none;
}

body.light-theme .language-toggle:hover {
    box-shadow: none;
    color: #ff6a00 !important;
    border-color: #fbff00;
    animation: neon-flicker-green 2s infinite alternate;
}

body.light-theme .navbar-nav .nav-item a:hover,
body.light-theme .navbar-nav .nav-link.active,
body.light-theme .row.text-center.align-items-center.mt-4 h2 {
    animation: none;
    text-shadow: none;
}



body.light-theme .navbar-nav .nav-item a:hover,
body.light-theme .navbar-nav .nav-link.active,
body.light-theme .row.text-center.align-items-center.mt-4 h2 {
    animation: none;
    text-shadow: none;
}



@keyframes neon-flicker-yellow {
    0%, 100% {
        box-shadow: 0 0 5px rgb(242, 255, 0), 0 0 15px rgb(255, 157, 0);
    }
    50% {
        box-shadow: 0 0 8px rgb(246, 255, 0), 0 0 20px rgb(255, 136, 0);
    }
}

@keyframes neon-flicker-green {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 196, 0, 0.9), 0 0 15px rgb(255, 255, 255);
    }
    50% {
        box-shadow: 0 0 8px rgba(255, 174, 0, 0.8), 0 0 20px rgba(255, 255, 254, 0.884);
    }
}



/* === CSS UNTUK TOMBOL DOWNLOAD CV === */

.btn-cv {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #ff0000;
    color: #fe4343;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 25px;
    margin-left: 0; 
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden; 
    z-index: 1;
}


.btn-cv:hover {
    color: #fff; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.btn-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 77, 77, 0.4), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-cv:hover::before {
    left: 100%; 
}


.btn-cv .fas {
    margin-right: 8px;
}


.btn-cv-nav {
    border: 1px solid #ff4d4d;
    border-radius: 20px !important; 
    margin-left: 15px;
}

.btn-cv-nav:hover {
    background-color: #ff4d4d;
    color: #fff !important; 
}



.hero-buttons {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 20px; 
    margin-top: 35px; 
}

.hero-content .btn-cv + .btn-cv {
    margin-left: 30px; 
}

.btn-contact {
    display: inline-block;
    background-color: #ff4d4d; 
    border: 2px solid #ff4d4d;
    color: #fff; 
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}


.btn-contact:hover {
    background-color: transparent; 
    color: #ff4d4d; 
    transform: translateY(-3px); 
}


.btn-contact .fas {
    margin-right: 8px;
}

/* --- Navigasi --- */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar-brand {
    color: #ff4d4d  !important;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 0 5px rgb(252, 5, 5);
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.navbar-brand:hover {
    text-shadow: 0 0 15px rgba(255, 77, 77, 1);
    transform: scale(1.05);
}


.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 0;
}


.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: #fcc100 !important;   
    font-weight: 600;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #ff4d4d !important;
    animation: flicker 1.5s infinite alternate;
}


.navbar-nav .nav-item {
    margin: 0 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item a {
    color: #cccccc !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 15px; 
    border-radius: 5px;
    position: relative; 
    overflow: hidden; 
    z-index: 1;
}

.navbar-nav .nav-item a:hover {
    color: #ff4d4d !important; 
    background-color: rgba(255, 77, 77, 0.1); 
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.3); 

}

.navbar-nav .nav-item a.active {
    color: #ff4d4d !important;
    background-color: rgba(243, 0, 0, 0.1);
    box-shadow: 0 0 8px rgb(248, 0, 0);
}

.navbar-nav .nav-link {
    color: #ffdd00 !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding: 5px 0;
}



.navbar-toggler {
    border: 2px solid #ff4d4d !important; 
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.5); 
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.8);
    background-color: rgba(255, 77, 77, 0.1); 
}


.navbar-toggler-icon {
    filter: brightness(0) invert(1); 
}




.navbar,
footer {
    background-color: rgba(0, 0, 0, 0.7) !important; 
    backdrop-filter: blur(10px); 
}


.bg-darker {
    background-color: rgba(0, 0, 0, 0.5) !important; 
}


.container-fluid.bg-dark {
    background-color: transparent !important;
}



@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 4px #ff4d4d,
      0 0 11px #ff4d4d,
      0 0 19px #ff4d4d,
      0 0 40px #ff4d4d,
      0 0 80px #ff4d4d,
      0 0 90px #ff4d4d,
      0 0 100px #ff4d4d,
      0 0 150px #ff4d4d;
    color: #ff4d4d !important;
  }
  20%, 24%, 55% {
    text-shadow: none;
    color: #cccccc !important;
  }
}

.highlight-text {
  color: #ff4d4d; 
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); 
}


.navbar-nav .nav-item a:hover {
    animation: flicker 1.5s infinite alternate;
}


.navbar-nav .nav-link.active {
    animation: flicker 1.5s infinite alternate;
}



.btn-outline-light {
    color: #f0f0f0;
    border-color: #f0f0f0;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
    color: #212121;
}


@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-nav {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }
}

.row .col-12 h2 {
    font-size: 2.5rem;
    color: #ff4d4d;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem;
}

.row .col-12 p {
    font-size: 1.1rem;
    color: #b0b0b0;
}


.btn-outline-light {
    color: #f0f0f0;
    border-color: #f0f0f0;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
    color: #212121;
}


.hero-section {
  position: relative; 
  height: 100vh; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden; 
  padding-top: 80px; 
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%); 
  z-index: 1; 
  object-fit: contain;
  object-position: top center;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  z-index: 2; 
  
}

.hero-content {
  position: relative; 
  z-index: 3; 
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem; 
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem; 
  max-width: 600px; 
  margin: auto;
}

.hero-title {
    font-size: 8vw; /* Ukuran default yang besar */
}


@media (max-width: 992px) {
    .carousel-item img {
        height: 400px;
    }

    .carousel-caption h5 {
        font-size: 2rem;
    }

    .row .col-12 h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .carousel-caption {
        bottom: 10px;
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}




.row.text-center.align-items-center.mt-4 .col-12 {
    background-color: rgba(0, 0, 0, 0.3); 
    border: 1px solid #ff0000; 
    border-radius: 15px; 
    padding: 30px 20px; 
    margin-top: 50px !important; 
    margin-bottom: 50px;
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.5); 
}


.row.text-center.align-items-center.mt-4 img {
    display: none;
}


.row.text-center.align-items-center.mt-4 h2 {
    color: #ff0000; 
    font-size: 2.5rem;
    margin: 0;
    animation: flicker 1.5s infinite alternate;
}


.row.text-center.align-items-center.mt-4 p {
    font-size: 1.1rem;
    color: #cccccc; 
    margin-top: 10px;
    letter-spacing: 1px; 
    text-transform: uppercase;
}


/* -- About -- */

.main-content-panel {
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

.my-about-title {
    font-size: 3.5rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-bottom: 30px; 
    color: #fff; 
}

h2 {
  font-weight: bold;      
  text-align: center;     
  font-size: 2.5em;      
  font-family: sans-serif;
  color: white;          
}


.highlight-text {
  color: #ff0000; 
}

.foto-about {
  width: 350px;      
  height: auto;    
  border-radius: 8px; 
}

section {
    padding-top: 100px;
}

#about h2 {
   
    font-weight: 700; 
    margin-bottom: 40px;
}



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* --- Styling Dasar --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
}

.content-wrapper {
    padding-top: 100px;
    padding-bottom: 50px;
}

/* --- Navigasi --- */
.navbar {
    background-color: #212121 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

.navbar-brand {
    color: #ff4d4d !important;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.8);
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 0;
}

.navbar-nav .nav-item {
    margin: 0 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item a {
    color: #cccccc !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 15px; 
    border-radius: 5px;
}

.navbar-nav .nav-item a.active {
    color: #ffffff !important;
    background-color: rgba(255, 77, 77, 0.1);
    box-shadow: 0 0 8px rgb(255, 0, 0);
}

.navbar-toggler {
    border: 2px solid #ff4d4d !important; 
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.5); 
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    box-shadow: 0 0 10px rgb(255, 0, 0);
    background-color: rgba(255, 77, 77, 0.811); 
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1); 
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 4px #ff4d4d,
      0 0 11px #ff4d4d,
      0 0 19px #ff4d4d,
      0 0 40px #ff4d4d,
      0 0 80px #ff4d4d,
      0 0 90px #ff4d4d,
      0 0 100px #ff4d4d,
      0 0 150px #ff4d4d;
    color: #ff4d4d !important;
  }
  20%, 24%, 55% {
    text-shadow: none;
    color: #cccccc !important;
  }
}


.navbar-nav .nav-item a:hover {
    animation: flicker 1.5s infinite alternate;
}

.navbar-nav .nav-link.active {
    animation: flicker 1.5s infinite alternate;
}

.btn-outline-light {
    color: #f0f0f0;
    border-color: #f0f0f0;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
    color: #212121;
}


/* -- SKILLS -- */

.my-title {
    color: #f0f0f0; 
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    text-align: center;
    margin-bottom: 2rem;
}

.my-title .accent-color {
    color: #ff0000; 
}

.description {
    font-size: 1.1rem;
    color: #d31d1d;
    margin-bottom: 2rem;
}


#skills {
    max-width: fit-content; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px 30px ;
    border-radius: 15px; 
    background-color: #121212; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

.skills h2 {
    text-align: center;
    font-weight: 700; 
    margin-bottom: 120px; 
}


.skills-grid {
    display: flex; 
    gap: 20px;
    width: max-content; 
    animation: scroll 40s linear infinite; 
}

.skills-grid:hover {
    animation-play-state: paused;
}


.skills-scroller {
    position: relative;
    overflow: hidden; 
}


.skills-scroller::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px; 
    height: 100%;
    background: linear-gradient(to right, #121212 20%, transparent); 
    z-index: 2;
    pointer-events: none;
}


.skills-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px; 
    height: 100%;
    background: linear-gradient(to left, #121212 20%, transparent);
    z-index: 2;
    pointer-events: none;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        
        transform: translateX(-50%);
    }
}

.skill-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    border: 2px solid transparent;
    cursor: pointer;
    animation: card-flicker 2s infinite alternate;
    
}

.skill-card i {
    font-size: 4.5rem;
    transition: transform 0.3s ease;
    .skill-card i {
    color: #cccccc !important;
    font-size: 4rem;
    transition: all 0.3s ease; 
 }

}


.skill-card:hover {
    transform: translateY(-5px) scale(1.05); 
    border-color: #ff0000; 
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.skill-card:hover i {
    transform: scale(1.1);
    .skill-card:hover i {
    color: #ff0000 !important; 
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7); 
    transform: scale(1.1); 
}
}

@keyframes card-flicker {
  0%, 100% {
    box-shadow:
      0 0 5px #ff4d4d,
      0 0 15px #ff4d4d,
      0 0 25px #ff4d4d,
      0 0 40px rgba(255, 77, 77, 0.8);
    border-color: rgba(255, 77, 77, 0.8);
  }
  50% {
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.4);
    border-color: rgba(255, 77, 77, 0.2);
  }
}


.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.5s; }
.skill-card:nth-child(3) { animation-delay: 0.2s; }
.skill-card:nth-child(4) { animation-delay: 0.8s; }
.skill-card:nth-child(5) { animation-delay: 0.4s; }
.skill-card:nth-child(6) { animation-delay: 0.7s; }
.skill-card:nth-child(7) { animation-delay: 0.3s; }
.skill-card:nth-child(8) { animation-delay: 0.6s; }


@media (max-width: 992px) {
    .skill-card {
        height: 100px;
    }
    .skill-card i {
        font-size: 3.5rem;
    }
}


@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-nav {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .carousel-item img {
        height: 400px;
    }
}


.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 100px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 15px auto 0;
}





/* --- MY PROJECT --- */

#projects {
    
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px 30px; 
    border-radius: 15px; 
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);

}

#projects h2 {
    text-align: center;  
    font-weight: 700;   
    margin-bottom: 40px; 
}


.projects-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}


@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr; 
    }
}


.project-card {
    position: relative;
    background-color: #1c1c1c; 
    border-radius: 10px;       
    padding: 20px;             
    transition: all 0.3s ease; 
    display: flex; 
    flex-direction: column; 
}

.project-card h3 {
    color: #ffffff; 
    font-weight: bold; 
    text-shadow: 
        0 0 8px #ff0000,  
        0 0 10px #ff0000; 
}

.project-card:hover {
    transform: translateY(-5px); 
    border-color: #ff0000;      
    box-shadow: 0 5px 15px rgb(255, 0, 0); 
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-info {
    flex-grow: 1;
    display: flex; 
    flex-direction: column; 
}

.project-info h3, .project-info p, .project-info .project-tags {
    margin-bottom: 15px; 
}

.project-info p {
    flex-grow: 1; 
}




.project-links {
    text-align: center; 
    margin-top: auto;   
}


.project-links .btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.project-links .btn:hover {
    color: #fff; 
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.5); 
}


.project-links .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 77, 77, 0.4), transparent);
    transition: all 0.7s ease;
    z-index: -1; /* Posisikan di belakang teks */
}

.project-links .btn:hover::before {
    left: 100%; 
}

.project-links .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 77, 77, 0.4), transparent);
    transition: all 0.7s ease;
    z-index: -1; 
}




/* -- My Contact -- */


#contact {
   
   font-family: 'Source Code Pro', monospace; 
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px;
    border-radius: 15px;
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
}


#contact h2,
#contact .contact-subtitle {
    text-align: center; 
}

#contact h2 {
    font-weight: 700;    
    margin-bottom: 15px; 
}

#contact .contact-subtitle {
    margin-bottom: 40px; 
}



/* --- Styling untuk Formulir Kontak --- */

#contact-form {
    max-width: 700px;  
    margin: 0 auto;    
}

#contact .form-group label {
  font-weight: bold;     
  color: #ffffff;          
  margin-bottom: 8px;    
  display: block;         
}



.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cccccc;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #1c1c1c;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: pulsating-glow 2s ease-in-out infinite;
}

.form-group:focus-within label {
  color: #ff0000; 
  animation: pulsating-text-glow 2s ease-in-out infinite;
}




.form-group.floating {
  position: relative; 
  margin-bottom: 2rem; 
}


.form-group.floating .form-control {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #555; 
  border-radius: 0;
  color: #EAEAEA; 
  padding: 10px 0; 
  width: 100%;
  font-size: 1rem;
  transition: border-color 0.3s ease; 
}


.form-group.floating label {
  color: #aaa; 
  font-size: 1rem;
  font-weight: normal; 
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 10px;
  transition: all 0.2s ease; 
}

.form-group.floating .form-control:focus + label,
.form-group.floating .form-control:valid + label {
  top: -30px;         
  font-size: 1rem;      
  color: #E50914;
}


.form-group.floating .form-control:focus {
  outline: none; 
  border-bottom-color: #E50914; 
}

@keyframes pulsating-glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 0, 0, 1);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  }
}


.btn-submit {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}


.btn-submit:hover {
    color: #fff; 
    transform: scale(1.02); 
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.5); 
}


.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 77, 77, 0.4), transparent);
    transition: all 0.7s ease;
    z-index: -1;
}


.btn-submit:hover::before {
    left: 100%;
}


.contact-socials {
    text-align: center;  
    margin-bottom: 30px; 
}

.contact-socials a {
    color: #cccccc;     
    font-size: 2rem;    
    margin: 0 15px;       
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    color: #ff0000;         
    transform: scale(1.1); 
}

.contact-socials a i {
    color: #cccccc; 
    font-size: 2rem;
    margin: 0 15px;
    transition: all 0.3s ease; 
}


.contact-socials a:hover i {
    transform: translateY(-5px); 
}




@keyframes pulsating-icon-glow {
  0% {
   
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.7);
    color: #ff8a8a;
  }
  50% {
    
    text-shadow: 0 0 20px rgba(255, 0, 0, 1);
    color: #ffffff; 
  }
  100% {
    
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.7);
    color: #ff8a8a; 
  }
}


.contact-socials a i {
  animation: pulsating-icon-glow 2s ease-in-out infinite;
}

footer {
    text-align: center; 
    padding: 20px 0;    
    margin-top: 50px;   
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.copyright-text .fa-coffee {
    color: #966A4A; 
}




.reveal-section {
    opacity: 0;
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}


.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0); 
}



.reveal-from-left {
    transform: translateX(-50px);
}

.reveal-from-left.is-visible {
    transform: translateX(0);
}

.reveal-from-bottom {
    transform: translateY(50px);
}

.reveal-from-bottom.is-visible {
    transform: translateY(0);
}

.reveal-from-scale {
    transform: scale(0.9);
}

.reveal-from-scale.is-visible {
    transform: scale(1);
}


/* ======================================================= */
/* --- MEDIA QUERIES BARU --- */
/* ======================================================= */


/* Tablet & Mobile (Max Width: 992px) */
@media (max-width: 992px) {
    
    html {
        font-size: 58%; 
    }

    /* NAVIGASI */
    .navbar-nav {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    /* HERO SECTION */
    .hero-section {
    
        height: 85vh; 
        padding-top: 80px;
    }
    
    /* SKILLS */
    #skills {
        
        min-height: auto; 
        max-width: 95%; 
    }

    /* PROJECTS */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* KONTAK */
    #contact {
        max-width: 95%;
    }
}


/* Smartphone (Max Width: 768px) */
@media (max-width: 768px) {
    
    html {
        font-size: 54%;
    }

    .container-fluid {
     
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* HERO BUTTONS */
    .hero-buttons {      
        flex-direction: column; 
        align-items: center;    
        gap: 30px; 
    }

    .btn-cv,
    .btn-contact {
        width: 80%; 
        max-width: 350px; 
        text-align: center;
        margin-top: 20px; 
      
    }
    

    /* SKILLS */
    #skills {   
        width: 100%; 
        padding: 20px 0; 
    }
    
    .skills-scroller {    
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding: 0 15px; 
    }
    
    .skills-scroller::before,
    .skills-scroller::after {
        
        content: none;
    }

    /* PROJECTS */
    .projects-grid {
        
        grid-template-columns: 1fr;
    }
    
    /* ABOUT */
    #about .row {
       
        flex-direction: column; 
    }
}
