/* =========================================================
   CUSTOM OJS STYLE - JVCH Theme Enhanced by Daboy
   ========================================================= */

/* ---- GLOBAL ---- */
body {
  font-family: "Poppins", "Open Sans", sans-serif;
  background-color: #f4f9fd;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ---- HEADER ---- */
#header {
  background: linear-gradient(90deg, #001f3f, #0077b6);
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  border-bottom: 4px solid #00b4d8;
}

#headerTitle h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- NAVBAR ---- */
#navbar {
  background: #001f3f;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#navbar a {
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  font-weight: 500;
  transition: 0.3s;
}

#navbar a:hover {
  background: #00b4d8;
  border-radius: 6px;
}

/* ---- MAIN AREA ---- */
#main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ---- ABOUT THE JOURNAL ---- */
#aboutJournal, .about_section, .journalDescription, .custom_about {
  background: linear-gradient(180deg, #e6f4ff, #ffffff);
  border: 1px solid #cce6f5;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

#aboutJournal:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

#aboutJournal h3, .about_section h3, .journalDescription h3 {
  border-left: 5px solid #00b4d8;
  padding-left: 12px;
  margin-bottom: 20px;
  font-size: 22px;
  color: #003366;
}

/* ---- TABLE STYLE ---- */
#aboutJournal table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

#aboutJournal td {
  padding: 12px 10px;
  border-bottom: 1px solid #d6e9f5;
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.25s ease, color 0.25s ease;
}

#aboutJournal td:first-child {
  font-weight: 600;
  color: #003366;
  width: 35%;
}

/* 🌈 Hover effect per baris */
#aboutJournal tr:hover td {
  background: #cce9ff;
  color: #002244;
}

/* Link di About */
#aboutJournal a {
  color: #0077b6;
  font-weight: 600;
  text-decoration: none;
}

#aboutJournal a:hover {
  color: #0096c7;
  text-decoration: underline;
}

/* ---- CURRENT ISSUE ---- */
.current_issue, .issue {
  background: #f9fafc;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.current_issue h3 {
  color: #003366;
  border-left: 4px solid #00b4d8;
  padding-left: 10px;
  font-weight: 600;
}

/* ---- ARTICLE LIST ---- */
.article-summary {
  background: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.article-summary:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.article-summary h4 {
  color: #003366;
  font-size: 18px;
  font-weight: 600;
}

/* ---- SIDEBAR ---- */
#sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  margin-top: 20px;
}

#sidebar h3 {
  border-bottom: 3px solid #00b4d8;
  padding-bottom: 8px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #003366;
}

/* ---- BUTTONS ---- */
.btn, button, input[type="submit"] {
  background: #00b4d8;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  background: #0077b6;
}

/* ---- FOOTER ---- */
#footer {
  background: #001f3f;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  margin-top: 40px;
  font-size: 14px;
}

/* ---- LINKS ---- */
a {
  color: #0077b6;
  text-decoration: none;
}

a:hover {
  color: #0096c7;
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media screen and (max-width: 992px) {
  #main {
    margin: 15px;
    padding: 15px;
  }
  #navbar {
    flex-direction: column;
  }
  #navbar a {
    width: 100%;
    text-align: center;
  }
  #aboutJournal td:first-child {
    width: 40%;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 15px;
  }
  #headerTitle h1 {
    font-size: 22px;
  }
  #aboutJournal {
    padding: 20px;
  }
  #aboutJournal table {
    border: none;
  }
  #aboutJournal td {
    display: block;
    width: 100%;
    border-bottom: 1px solid #cce6f5;
  }
  #aboutJournal td:first-child {
    font-weight: bold;
    color: #003366;
    margin-top: 10px;
  }
  #aboutJournal tr:hover td {
    background: #d9f2ff;
  }
}
