:root {
    --white: #ffffff;
    --black: #000000;
    --yellow:rgb(255, 188, 3);
    --yellow:rgb(223, 164, 2);
    --red: #f90000;
    --red2: #870202;
}

body {
  font-family: 'Open Sans', sans-serif;
}

/* SweetAlert */
.swal2-confirm.btn-custom {
    background-color: var(--yellow) !important;
    color: var(--black) !important;
}

/* Navbar */
.dashboard{
    margin-top:100px;
}

/* Navbar */
nav.navbar {
    background: linear-gradient(to right, #000000, #5d0000, #8b0000); /* gradasi hitam ke merah tua */
    transition: background-color 0.3s, box-shadow 0.3s;
    font-family: 'Roboto Condensed', sans-serif !important;
}


img.header-logo{
    max-height: 40px;
    height: auto;
    width: auto;
}

a.nav-link{
    color: var(--white);
}

a.nav-link:hover{
    color: var(--white);
}

a.nav-link.active{
    color: var(--yellow) !important;
    font-weight: bold;
}

a.nav-link.dropdown{
    color: var(--white);
}

a.dropdown-item.active{
    color: var(--yellow);
    background-color: var(--yellow) !important;
}

a.nav-link.dropdown-toggle{
    color: var(--white);
}

.nav-link.dropdown-toggle::after {
    display: none !important;
}

.hover-dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

a.nav-link.dropdown-toggle.show{
    color: var(--white);
}

ul.dropdown-menu{
    background-color: var(--white);
    border-radius: 0;
    border: 0;
}

span.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* End */


/* Hero */
.hero {
  background-image: url('/client/img/cover.jpg');
  background-size: cover;
  background-position: top center;
  height: 100vh;
}

/* Tambahkan ini untuk layar besar */
@media (min-width: 1024px) {
  .hero {
    height: 120vh; /* atau 130vh, tergantung tinggi gambar */
  }
}

/* Tambahan khusus HP */
@media (max-width: 767px) {
  .hero {
    background-position: 70% center; /* geser dikit ke kiri */
  }
}

/* Default (Mobile) */

.hero-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 0;
}

.hero-date {
  font-size: 12px;
  font-weight: bold;
  color: var(--yellow);
  margin: 0; /* Reset margin supaya nggak konflik */
}

.itra-logo {
  max-height: 40px;
  margin-left: 0;
}

/* Desktop (>=768px) */

@media (min-width: 768px) {
  .hero-logo {
    max-width: 500px;
    height: auto;
    margin-top: -50px;
    margin-bottom: -10px;
  }

  .hero-date {
    font-size: 14px;
    font-weight: bold;
    color: var(--yellow);
    margin-left: 100px;
    margin-bottom: 0;
    margin-top: -20px;
  }

  .itra-logo {
    max-height: 40px;
    margin-left: 170px;
  }
}

/* End */

/* About */
.about {
  background-image: url('/client/img/aboutcolor.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 120vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  color: white;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 80%);
  z-index: 1;
}

.about-title {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  position: relative;
  z-index: 2;
}

.about-box {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 30px;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

.about-text {
  font-size: 14px;
  line-height: 1.7;
}




/* Mobile - Rata Tengah */
@media (max-width: 768px) {
  .about {
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
  }

  .about-box {
    opacity: 0.80;
    width: 100%;
  }
}
/* End */

/* Information */
.information {
  background: linear-gradient(to bottom, #73f5f5, #022c43);
  color: #000;
  height: 70vh; /* ini bikin tingginya 70% dari layar */
  display: flex;
  align-items: center;
}


.info-box {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* End */

/* Category */
/* Category Section */
.category {
  background: linear-gradient(135deg, #b35364, #c6a1a4);
  color: #fff;
}

.card-category {
  background-color: #111;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.card-category:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.card-category h3 {
  font-size: 2rem;
}

.card-category h5 {
  font-weight: 300;
  margin-bottom: 1rem;
}

.card-category p.fs-4 {
  font-weight: bold;
  font-size: 1.8rem;
}

.card-category ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.card-category .btn {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.btn.btn-register {
  background-color: var(--red);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

.btn.btn-register:hover {
  background-color: var(--red2);
  color: white;
}

.btn.btn-cover {
  background-color: var(--yellow);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

.btn.btn-cover:hover {
  background-color: var(--yellow2);
  color: white;
}
/* End */

/* Categories */
.categories {
  background: linear-gradient(to bottom, #fffef2, #fdf1b7);
  padding: 0 20px 60px; /* top 0, left-right 20px, bottom 60px */
  text-align: center;
}

.categories-title {
  background-color: var(--yellow);
  display: inline-block;
  padding: 10px 50px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 kolom desktop */
  gap: 10px;
  justify-content: center;
}

.category-card {
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
  text-align: left;
}

.category-card img {
  width: 100%;
  height: auto;
  margin-bottom: -45px;
}

.register-btn {
  display: inline-block;
  /* margin: 15px; */
  background-color: var(--red);
  color: var(--white);
  padding: 5px 40px;
  border-radius: 50px;
  text-decoration: none;
  /* font-weight: bold; */
  font-size: 14px;
  /* margin-top: -80px; */
  margin-bottom: 12px;
}


/* Responsive */
@media screen and (max-width: 1024px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr); /* tablet: 2 kolom */
  }
}

@media screen and (max-width: 768px) {
  .category-cards {
    grid-template-columns: 1fr; /* HP: 1 kolom */
  }

  .category-card{
    background: var(--white);
    margin-bottom: 10px;
  }

  .category-card img {
    width: 100%;
    height: auto;
    margin-bottom: -50px;
  }

  .register-btn {
    display: inline-block;
    /* margin: 15px; */
    background-color: var(--red);
    color: var(--white);
    padding: 10px 70px;
    border-radius: 50px;
    text-decoration: none;
    /* font-weight: bold; */
    font-size: 18px;
    margin-top: -50px;
    margin-bottom: 15px;
  }
}
/* End */

/* Maps */
.maps {

}
/* End */

/* Sponsor Section */
.sponsor {
  background: linear-gradient(to bottom, #a7e0eb, #1e4d6b);
  color: #000;
}

.sponsor-img {
  max-width: 900px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

/* Rules and Regulation */
.rules-section {
  background: #000;
  color: #fff;
  padding: 60px 20px;
  background-image: url('/client/img/COVERDEVI.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.rules-title {
  font-size: 2.0rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .rules-title {
    font-size: 1.5rem;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
  }
}
.notice-box {
  background-color: #FFD700;
  color: #000;
  padding: 20px;
  text-align: left;
  margin-bottom: 30px;
}

.notice-box ul {
  list-style: decimal;
  color: #000; /* Biar bullet & teks hitam */
  margin: 10px 0 0 20px;
  padding: 0;
}

.notice-box ul li::marker {
  color: #000; /* Ubah warna marker/bullet jadi hitam */
}

/* End */

/* Categories Page */
.categories-page {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.categories-page .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.categories-page .categories-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
/* End */

/* Categoris Info */
.categories-info {
  background-color: #ffc800; /* warna kuning */
  padding: 20px 0;
  font-size: 14px;
}

.categories-info .info-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.categories-info .info-box {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 20px;
  border-left: 1px solid #000;
  color: #000;
}

.categories-info .info-box:first-child {
  border-left: none;
}

.categories-info h5 {
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
}

.categories-info p {
  margin: 0;
}

/* End */

/* Categories Form */
.categories-form{
  background-color: var(--black); /* hitam elegan */
  padding: 60px 0;
}

.categories-form h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 30px;
}

.form-registration{
  background-color: var(--white);
  padding: 20px;
  font-size: 15px;
  border-radius: 10px;
  border: 0;
  font-family: 'Roboto Condensed', sans-serif !important;
}

.categories-form input,
.categories-form select,
.categories-form textarea {
  border-radius: 0;
  border: 1px solid #ccc;
  box-shadow: none;
}

.error-message {
  color: red;
  font-size: 0.85rem;
  margin-top: 4px;
}

.categories-form button {
  background-color: var(--yellow);
  border: none;
  color: var(--black);
}

img.size-jersey{
  width: 50%;
}

@media (max-width: 768px) {
  img.size-jersey{
    width: 100%;
  }
}
/* End */


/* Entry List */
button#open-tab.nav-link.active{
  color: var(--black);
}

button#open-tab.nav-link{
  color: #9e9e9e;
}

button#master-tab.nav-link.active{
  color: var(--black);
}

button#master-tab.nav-link{
  color: #9e9e9e;
}
/* End */

/* Footer */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 40px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

p.footer-copyright{
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: bold;
  margin-top: 0;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.footer-center a,
.footer-right a {
  display: inline-block;
  color: var(--white);
  margin: 5px;
  text-decoration: none;
  font-size: 14px;
}

.footer-center a:hover,
.footer-right a:hover {
  color: var(--yellow);
}

.footer-right i {
  font-size: 20px;
  color: var(--white);
  margin-top: 5px;
}

/* End */

button.btn.btn-auth{
    background-color: var(--red);
    color: var(--white);
}

button.btn.btn-auth:hover{
    background-color: var(--red-2);
    transition:0.2s;
    color: var(--white);
}