body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;

  background:
    radial-gradient(circle at 20% 20%, rgba(0,193,255,0.1), transparent),
    radial-gradient(circle at 80% 80%, rgba(0,193,255,0.05), transparent),
    #020617;
}

/* ================= STARS ================= */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: -1;
  background: url('../../www.transparenttextures.com/patterns/stardust.png');
  animation: moveStars 120s linear infinite;
}
  

@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: 10000px 5000px; }
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #000000;
    flex-wrap: wrap;
}

.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;
    letter-spacing: 1px;
}

/* 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;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1a1a1a;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        margin: 10px;
    }

    .logo-text {
        font-size: 14px;
    }
}

/* ================= SLIDER ================= */
.slider {
    position: relative;
    height: 95vh;
    overflow: hidden;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    display: block;
}


/* TEXT SLIDER */
.caption {
    position: absolute;
    top: 30%;
    left: 10%;
}

.caption h1 {
    font-size: 45px;
}

.caption span {
    color: #00C1FF;
}

/* BUTTON SLIDER */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ================= SECTION ================= */
.section {
    padding: 60px;
    text-align: center;
}
.news {
    padding: 50px 20px;
    padding: 50px 20px;
    background: transparent;
    text-align: center;
}

.news h2 {
    color: #00C1FF;
    font-size: 28px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.news-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.news-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;

    background: rgba(0,193,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,193,255,0.2);

    transition: 0.3s;
}

.news-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0,193,255,0.4);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.overlay {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.overlay h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.overlay p {
    font-size: 12px;
}

.view-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border: 1px solid #00C1FF;
  border-radius: 25px;
  color: #00C1FF;
  text-decoration: none;
  transition: 0.3s;
}

.view-btn:hover {
  background: #00C1FF;
  color: black;
  box-shadow: 0 0 15px #00C1FF;
}

.card {
    background: rgba(0,193,255,0.05);
    border: 1px solid rgba(0,193,255,0.2);
    backdrop-filter: blur(10px);
}
 
/* GRID (optional untuk gallery) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 10px;
}

.grid img {
    width: 100%;
    border-radius: 10px;
}

/* ================= FOOTER STYLE (UPGRADE CERN STYLE) ================= */

.footer {
    background: linear-gradient(to right, #0a0a0a, #1a1a1a);
    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;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .logo-text {
        font-size: 18px; /* dari 14 → jadi lebih besar */
    }
    .slider {
        height: 85vh; /* biar HP tidak terlalu tinggi */
    }
    .caption h1 {
        font-size: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .social-icons a {
        font-size: 24px;
    }
}

.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: 300px;  /* 🔥 batasi lebar */
    height: auto;
    margin-bottom: 10px;
    height: 40px;
    width: auto;
}