/* ================================================
   CYBERLANDJI.COM — ADDITIONAL CSS
   ================================================ */


/* === Force Dark Background (all pages) === */
body,
.ast-separate-container,
.ast-separate-container #content,
.ast-page-builder-template {
  background-color: #121212 !important;
}
.site-content,
.entry-content,
.ast-plain-container {
  background-color: #1A1A1A !important;
}


/* === Heading Text Color === */
h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF !important;
}


/* === Section Heading Divider === */
h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #00CFFF, #39FF14);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.8);
}


/* === Neon Glow Buttons === */
.wp-block-button__link,
button,
input[type="submit"] {
  background-color: #00CFFF;
  color: #121212 !important;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.6);
}
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #0088AA !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(0, 207, 255, 1);
  transform: translateY(-2px);
}


/* === Portfolio Card Hover === */
#portfolio .wp-block-group,
#portfolio .wp-block-column {
  transition: all 0.3s ease;
}
#portfolio .wp-block-group:hover,
#portfolio .wp-block-column:hover {
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.4);
  transform: translateY(-5px);
}


/* === Certifications Section === */
.wp-block-list img {
  max-width: 180px;
  height: auto;
  display: inline-block;
  box-shadow: none !important;
  transform: none !important;
}
#certifications .wp-block-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#certifications .wp-block-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
#certifications .wp-block-list-item img {
  max-width: 160px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}
#certifications .wp-block-list-item img:hover {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.05);
}


/* === Mobile & Tablet Optimization === */
@media (max-width: 768px) {
  h1 { font-size: 28px !important; line-height: 1.2; }
  h2 { font-size: 22px !important; line-height: 1.3; }
  h3 { font-size: 18px !important; }
  p  { font-size: 16px; line-height: 1.6; }
  .wp-block-button__link,
  button,
  input[type="submit"] {
    padding: 12px 24px !important;
    font-size: 16px !important;
  }
  #portfolio .wp-block-group,
  .wp-block-query .wp-block-group {
    margin-bottom: 20px;
  }
  #certifications img {
    max-width: 120px !important;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  p  { font-size: 15px; }
  .wp-block-button__link {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }
}


/* ================================================
   HOMEPAGE ANIMATION BACKGROUND
   Overrides global dark bg on homepage only
   so the canvas animation shows through
   ================================================ */
body.home,
body.home .ast-separate-container,
body.home .ast-separate-container #content,
body.home .ast-page-builder-template,
body.home .site-content,
body.home .entry-content,
body.home .ast-plain-container,
body.home .wp-site-blocks,
body.home main {
  background: transparent !important;
  background-color: transparent !important;
}

/* Keep hero section readable with semi-transparent dark overlay */
body.home .wp-block-group:first-of-type {
  background: rgba(11, 15, 20, 0.82) !important;
}

/* Project cards section — fully transparent so animation shows */
body.home .wp-block-columns,
body.home .wp-block-column {
  background: transparent !important;
  background-color: transparent !important;
}