/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  z-index: 0;
}

/* === VIDEO BACKGROUND === */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}

/* === HEADER === */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100vw;
  margin: 0;
  padding: 14px 30px;
  box-sizing: border-box;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,255,231,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.logo {
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 6px #00ffe7);
}

/* === MENU TOGGLE === */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #00ffe7;
  cursor: pointer;
}

/* === NAVIGATION === */
nav {
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav ul li a {
  color: #00ffe7;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00ffe7;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* === HERO === */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  animation: fadeIn 2s ease forwards;
}

#hero h1 {
  font-size: 64px;
  color: #00ffe7;
  text-shadow: 0 0 30px rgba(0,255,231,0.6);
  letter-spacing: 2px;
  white-space: nowrap;
  border-right: 2px solid #00ffe7;
  overflow: hidden;
  animation: typing 3s steps(30) 1s forwards;
  width: 0;
}

@keyframes typing {
  to { width: 100%; border-right: 0; }
}

.hero-sub {
  font-size: 20px;
  color: #ccc;
  margin-top: 20px;
  animation: fadeInUp 2s ease 2s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* === GLASS SECTIONS === */
.glass-section {
  background: rgba(0,0,0,0.6);
  margin: 80px auto;
  padding: 50px;
  max-width: 1000px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0,255,231,0.1);
  animation: fadeInUp 1.2s ease forwards;
}

/* === SERVISI === */
.services {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.service-box {
  text-align: center;
  max-width: 280px;
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 12px rgba(0,255,231,0.05);
}

.service-box:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 0 20px rgba(0,255,231,0.3);
}

.service-box img {
  width: 100px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 6px #00ffe7);
}

.service-box h3 {
  color: #00ffe7;
  font-size: 20px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 15px;
  color: #ccc;
}

/* === PORTFOLIO === */
#portfolio {
  text-align: center;
  padding: 80px 20px;
}

#portfolio h2 {
  font-size: 36px;
  color: #00ffe7;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0,255,231,0.5);
}

.project-card {
  background: rgba(255,255,255,0.05);
  margin: 0 auto;
  padding: 40px;
  border-radius: 18px;
  max-width: 600px;
  animation: fadeInUp 1.5s ease forwards;
}

.project-card h3 {
  font-size: 32px;
  color: #00ffe7;
  text-shadow: 0 0 12px rgba(0,255,231,0.6);
  letter-spacing: 3px;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% { text-shadow: 0 0 10px #00ffe7; }
  50% { text-shadow: 2px -2px 0 #00cfc0, -2px 2px 0 #00ffe7; }
  100% { text-shadow: 0 0 10px #00ffe7; }
}

/* === KONTAKT === */
#kontakt {
  padding: 60px 30px;
  text-align: center;
}

.call-link, .email-link {
  color: #00ffe7;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 10px 0;
}

.call-link:hover, .email-link:hover {
  color: #00cfc0;
  transform: scale(1.05);
}

.call-tag {
  margin-left: 8px;
  font-size: 16px;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(0,255,231,0.4);
}

/* === IKONICE === */
.contact-icons {
  margin-top: 20px;
}

.contact-icons img {
  width: 40px;
  margin: 0 10px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 4px #00ffe7);
}

.contact-icons img:hover {
  transform: scale(1.2);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #00ffe7;
  color: #000;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 0 12px rgba(0,255,231,0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0,255,231,0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0,255,231,0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0,255,231,0.3);
  }
}
@media screen and (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    font-size: 16px;
  }

  .sticky-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    gap: 10px;
    width: 100vw;
    box-sizing: border-box;
  }

  .logo {
    width: 26px;
    height: auto;
    margin: 6px auto;
    display: block;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: #00ffe7;
    cursor: pointer;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    display: none;
    width: 100%;
    margin-top: 10px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li a {
    font-size: 18px;
    padding: 12px 0;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(0,255,231,0.2);
  }

  #hero {
    margin-top: 100px;
    padding: 0 10px;
    height: auto;
  }

  #hero h1 {
    font-size: 32px;
    width: 100%;
    border: none;
    white-space: normal;
    text-align: center;
    overflow: visible;
    letter-spacing: 1px;
  }

  .hero-sub {
    font-size: 16px;
    margin-top: 12px;
    line-height: 1.4;
    text-align: center;
  }

  .glass-section,
  .project-card,
  .contact-section {
    padding: 30px 15px;
    margin: 30px auto;
    max-width: 100%;
  }

  .services {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .service-box {
    max-width: 100%;
    padding: 20px;
  }

  #portfolio {
    padding: 40px 10px;
  }

  #kontakt {
    padding: 30px 15px;
  }

  .contact-icons img {
    width: 32px;
    margin: 0 6px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    padding: 10px 12px;
  }
}