* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #eaf6ff;
  text-align: center;
  overflow-x: hidden;
}

/* ============================= */
/* BACKGROUND                    */
/* ============================= */
.night {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #2c4760, #0b1623 60%, #050b14);
  z-index: -2;
}

/* ============================= */
/* SHOOTING STARS                */
/* ============================= */
.shooting-star {
  position: absolute;
  width: 180px;
  height: 2px;
  background: linear-gradient(-45deg, #7df9ff, transparent);
  filter: drop-shadow(0 0 10px #7df9ff);
  animation: shooting 4s linear infinite;
}

.shooting-star:nth-child(1) { top: 15%; left: 5%; }
.shooting-star:nth-child(2) { top: 35%; left: 25%; animation-delay: 1s; }
.shooting-star:nth-child(3) { top: 55%; left: 45%; animation-delay: 2s; }
.shooting-star:nth-child(4) { top: 30%; left: 65%; animation-delay: 3s; }
.shooting-star:nth-child(5) { top: 75%; left: 20%; animation-delay: 4s; }

@keyframes shooting {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(700px); opacity: 0; }
}

/* ============================= */
/* NAVBAR                        */
/* ============================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  max-width: 1200px;
  margin: 0 auto;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  padding: 12px 24px;
  border-radius: 14px;
  
  background: linear-gradient(
    180deg,
    rgba(20, 30, 45, 0.85),
    rgba(20, 30, 45, 0.7)
  );
  
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  object-fit: cover;
}

.logo span {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 0 12px #7df9ff;
}

/* MENU */
.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #eaf6ff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.menu a:hover {
  color: #7df9ff;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #7df9ff;
  transition: width 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* ============================= */
/* HERO SECTION                  */
/* ============================= */
.hero {
  padding: 130px 20px 60px;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Decorative Lines */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background: linear-gradient(90deg, transparent, #7df9ff, transparent);
  animation: lineGlow 3s ease-in-out infinite;
}

.hero::before {
  top: 100px;
  width: 200px;
}

.hero::after {
  bottom: 40px;
  width: 150px;
  animation-delay: 1.5s;
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.3; width: 150px; }
  50% { opacity: 1; width: 250px; }
}

.hero h1 {
  font-size: 2.8rem;
  text-shadow: 0 0 20px rgba(125, 249, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out, gentleFloat 6s ease-in-out 2s infinite;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero p {
  font-size: 1.3rem;
  color: #cfefff;
  margin-top: 10px;
  animation: fadeInUp 1.2s ease-out;
  animation-delay: 0.3s;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* ABOUT SECTION                 */
/* ============================= */
.about {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px 20px;
  animation: fadeIn 1s ease-out;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #7df9ff;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.about h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #7df9ff, transparent);
  margin: 15px auto 0;
  animation: expandWidth 1s ease-out 0.5s backwards;
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 80px; }
}

.about p {
  font-size: 1.15rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: #d9f3ff;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero Decorative Circles */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 249, 255, 0.15), transparent);
  border: 1px solid rgba(125, 249, 255, 0.2);
  animation: float 8s ease-in-out infinite;
}

.circle-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
}

/* ============================= */
/* SERVICES SECTION              */
/* ============================= */
.services {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #7df9ff;
  position: relative;
}

.services h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #7df9ff, transparent);
  margin: 15px auto 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 35px 25px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.4);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffb7ff;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #d9f3ff;
}

/* ============================= */
/* PORTFOLIO SECTION             */
/* ============================= */
.portfolio {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #ffb7ff;
  position: relative;
}

.portfolio h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ffb7ff, transparent);
  margin: 15px auto 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.4);
}

.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 20px;
  text-align: left;
}

.portfolio-item span {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #7df9ff;
  margin-bottom: 10px;
}

.portfolio-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d9f3ff;
}

/* ============================= */
/* LIGHTBOX                      */
/* ============================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.close:hover {
  color: #7df9ff;
}

/* ============================= */
/* CONTACT SECTION               */
/* ============================= */
.contact {
  padding: 80px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #7df9ff;
}

.contact > p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #d9f3ff;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: background 0.3s;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-item img {
  width: 32px;
  height: 32px;
  background: white;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.contact-item.ig { color: #ff4fd8; }
.contact-item.wa { color: #00ffb4; }

.contact-item a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================= */
/* SCROLL MARGIN                 */
/* ============================= */
section,
footer {
  scroll-margin-top: 100px;
}

/* ============================= */
/* MOBILE RESPONSIVE             */
/* ============================= */

/* Tablet & Mobile */
@media (max-width: 768px) {
  
  /* NAVBAR */
  .navbar {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .logo {
    gap: 10px;
  }
  
  .logo img {
    width: 40px;
    height: 40px;
  }
  
  .logo span {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
  
  .menu {
    width: 100%;
    justify-content: center;
    gap: 15px;
  }
  
  .menu a {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
  
  /* HERO */
  .hero {
    padding: 110px 15px 50px;
    min-height: 50vh;
  }
  
  .hero::before {
    top: 80px;
    width: 150px;
  }
  
  .hero::after {
    bottom: 30px;
    width: 100px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  /* Smaller circles on mobile */
  .circle-1 {
    width: 80px;
    height: 80px;
  }
  
  .circle-2 {
    width: 60px;
    height: 60px;
  }
  
  .circle-3 {
    width: 70px;
    height: 70px;
  }
  
  /* ABOUT */
  .about {
    padding: 40px 15px;
    margin-bottom: 40px;
  }
  
  .about h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .about p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  /* SERVICES */
  .services {
    padding: 50px 15px;
  }
  
  .services h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 25px 20px;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  /* PORTFOLIO */
  .portfolio {
    padding: 50px 15px;
  }
  
  .portfolio h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .portfolio-item img {
    height: 220px;
  }
  
  .portfolio-content {
    padding: 15px;
  }
  
  .portfolio-item span {
    font-size: 1rem;
  }
  
  .portfolio-item p {
    font-size: 0.85rem;
  }
  
  /* CONTACT */
  .contact {
    padding: 50px 15px 40px;
  }
  
  .contact h2 {
    font-size: 1.5rem;
  }
  
  .contact > p {
    font-size: 0.95rem;
  }
  
  .contact-item {
    padding: 12px 20px;
    width: 100%;
    max-width: 300px;
  }
  
  .contact-item a {
    font-size: 0.9rem;
  }
  
  /* LIGHTBOX */
  .close {
    top: 20px;
    right: 20px;
    font-size: 30px;
  }
  
  /* SHOOTING STARS - Hide on mobile for performance */
  .shooting-star {
    display: none;
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  
  .navbar {
    padding: 8px 12px;
  }
  
  .logo span {
    font-size: 0.65rem;
  }
  
  .menu a {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }
  
  .hero h1 {
    font-size: 1.3rem;
  }
  
  .hero p {
    font-size: 0.8rem;
  }
  
  .about h2,
  .services h2,
  .portfolio h2 {
    font-size: 1.4rem;
  }
  
  .portfolio-item img {
    height: 200px;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 100px 15px 40px;
    min-height: auto;
  }
  
  .navbar {
    padding: 8px 15px;
  }
  
  .hero::before,
  .hero::after {
    display: none;
  }
}
