/* ==============================
   Reset
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==============================
   Header & Navbar
============================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #0077cc;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 20px;
}

.nav-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  text-decoration: underline;
}

.cta-button {
  background: #ffcc00;
  color: #333 !important;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
}

/* Hamburger (Mobile Menu Button) */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #0077cc;
}

.mobile-nav a {
  color: #fff;
  padding: 10px;
  border-bottom: 1px solid #005fa3;
  text-decoration: none;
}

/* ==============================
   Hero Section
============================== */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('https://picsum.photos/1600/900') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* ==============================
   Sections & Cards
============================== */
section {
  padding: 50px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ==============================
   Makalah Page
============================== */
.makalah-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: left;
}

.makalah-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: #0077cc;
}

.makalah-list {
  list-style: none;
  padding: 0;
}

.makalah-list li {
  background: #f9f9f9;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.makalah-list li:hover {
  background: #eef6ff;
  transform: translateX(5px);
}

.makalah-list a {
  color: #0077cc;
  font-weight: 500;
  text-decoration: none;
}

.makalah-list a:hover {
  text-decoration: underline;
}

/* ==============================
   Makalah Buttons
============================== */
.action-buttons {
  float: right;
}

.lihat-btn, .download-btn {
  display: inline-block;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

/* Tombol Lihat */
.lihat-btn {
  background: #0077cc;
  color: #fff !important;  /* Paksa teks putih */
}

.lihat-btn:hover {
  background: #005fa3;
  color: #fff !important;  /* Tetap putih saat hover */
}

/* Tombol Download */
.download-btn {
  background: #ffcc00;
  color: #333;
}

.download-btn:hover {
  background: #e6b800;
  color: #333;
}


/* ==============================
   Login Page
============================== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

.login-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  width: 350px;
  text-align: center;
}

.login-box h2 {
  margin-bottom: 20px;
  color: #0077cc;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #005fa3;
}

.login-box p {
  margin-top: 15px;
  font-size: 14px;
}

.login-box a {
  color: #0077cc;
  text-decoration: none;
}

.login-box a:hover {
  text-decoration: underline;
}

/* ==============================
   About Section
============================== */
.about {
  padding: 50px 20px;
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.about-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.about-content p {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.about-extra {
  margin-top: 25px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.about-extra p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    text-align: left;
  }

  .about-content img {
    flex: 1;
  }

  .about-content p {
    flex: 2;
  }
}

#user-info {
  color: #fff;
  margin: 0 10px;
  font-weight: bold;
}






/* ==============================
   Footer
============================== */
footer {
  background: #0077cc;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}
