/*  RESET  */
body {
  background: radial-gradient(circle at top,#0a0f1f,#000);
  color:#e0e6ff;
  font-family:sans-serif;
 
  margin: 0;      
  padding: 0;
}


/*  NAVBAR  */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.9);
    flex-wrap: wrap;
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;

    width: 100%;       
    margin: 0;         
    box-sizing: border-box;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    color: #00C1FF;
    font-size: 22px;
    font-weight: bold;
}

/* MENU */
.menu {
    display: flex;
}

.menu a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    color: #00C1FF;
}

.menu a.active {
    color: #00C1FF;
    border-bottom: 2px solid #00C1FF;
}

/* bar atas */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .grid {
    grid-template-columns: 1fr !important; 
  }
  .modal-avatar {
    width: 90%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1/1;
  }
   .card {
    max-width: 300px;
    margin: auto;
  }
    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1a1a1a;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        margin: 10px;
    }

    body {
        font-size: 14px;
    }
    .logo-text {
        font-size: 18px; 
    }
    .slider {
        height: 85vh; 
    }
    .caption h1 {
        font-size: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: left;
    }

    .social-icons a {
        font-size: 24px;
    }
}
/*xxx*/
header {
  text-align:center;
  padding:30px;
}

header h1 {
  color:#ffffff;
}

input, select {
  margin:10px;
  padding:10px;
  border-radius:10px;
  border:none;
}
/* ================= GRID ================= */
.grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  padding:40px;

  max-width:1000px;   
  margin:auto;
  padding:20px; 
}


/* ================= CARD ================= */
.card {
  background:rgba(20,30,60,0.6);
  border-radius:20px;
  padding:20px;
  text-align:center;
  cursor:pointer;
  transition:.3s;
}

.card:hover {
  transform:scale(1.05);
  box-shadow:0 0 20px rgb(76, 76, 76);
}

/* ================= AVATAR ================= */
.avatar {
  width:100%;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  background:#000;
}

.avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.3s;
}

/* zoom */
.card:hover .avatar img {
  transform:scale(1.1);
}


/* scan animation */
@keyframes scan {
  0% { transform:translateY(-100%); }
  100% { transform:translateY(100%); }
}

/* ================= BACKGROUND ================= */
.stars {
  position:fixed;
  width:100%;
  height:100%;
  background:url('https://www.transparenttextures.com/patterns/stardust.png');
  z-index:-1;
  animation:moveStars 60s linear infinite;
}

@keyframes moveStars {
  0% { background-position:0 0; }
  100% { background-position:10000px 5000px; }
}

/* ================= MODAL ================= */
.modal {
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.8);
  justify-content:center;
  align-items:center;
}

.modal-content {
  background:#0a0f1f;
  padding:30px;
  border-radius:20px;
  width:90%;
  max-width:1000px;
  box-shadow:0 0 20px rgb(16, 16, 16);
  animation : fadeIn 0.3s;
}

/* close button */
.close {
  float:right;
  font-size:20px;
  cursor:pointer;
}

/* modal image 3D */
.modal-avatar {
  width:500px;
  height:500px;
  margin:0 auto 20px;
  perspective:1000px;
}

.modal-avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 0 20px rgb(0, 0, 0);
  animation:float3D 4s ease-in-out infinite;
}

/* 3D floating */
@keyframes float3D {
  0%,100% { transform:rotateY(0deg) rotateX(0deg); }
  50% { transform:rotateY(10deg) rotateX(5deg); }
}

/* modal animation */
@keyframes fadeIn {
  from { opacity:0; transform:scale(0.8); }
  to { opacity:1; transform:scale(1); }
}
/* ================= LOADER ================= */
.loader {
  text-align:center;
  padding:20px;
  color:#ffffff;
  animation:blink 1s infinite alternate;
}

@keyframes blink {
  from { opacity:0.3; }
  to { opacity:1; }
}

/* ================= FOOTER STYLE (UPGRADE CERN STYLE) ================= */

.footer {
    background: linear-gradient(to right, #000000, #000000);
    color: white;
    padding: 60px 30px 20px;
    
}

/* GRID FOOTER */
.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* BOX */
.footer-box h3 {
    border-bottom: 2px solid #00C1FF;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

/* LIST */
.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box li {
    margin: 10px 0;
}

/* LINK */
.footer-box a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-box a:hover {
    color: #00C1FF;
}

/* ICON SOSIAL */
.social-icons a {
    display: inline-block;
    background: #333;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    margin-right: 10px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #E1306C; /* warna khas Instagram */
}

/* TEXT */
.footer-box p {
    color: #ccc;
    line-height: 1.6;
}

/* BAWAH */
.footer-bottom {
    text-align: left;
    margin-top: 40px;
    color: #aaa;
    font-size: 14px;
}

/* isi */

.overlay h1 {
    font-size: 50px;
}

.line {
    width: 120px;
    height: 2px;
    background: #00C1FF;
    margin: 20px auto;
}

.overlay p {
    font-size: 18px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    
    gap: 10px; /* jarak logo & teks */
    margin-top: 40px;
    color: #aaa;
    font-size: 14px;
    justify-content: flex-end;
}

.footer-logo {
   max-width: 00px;  /* 🔥 batasi lebar */
    height: auto;
    margin-bottom: 10px;
    height: 40px;
    width: auto;
}



