/* ==========================================================
   STYLE SHEET UTAMA - KOETARADJA ARCHERY CHAMPIONSHIP IV
   ========================================================== */

html { scroll-behavior: smooth; }

:root {
  --primary-gold: #D4AF37;
  --dark-emerald: #0A1F1C;
  --deep-forest: #122C27;
  --text-muted-custom: #A3B8B5;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dark-emerald);
  color: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-cinzel, .modal-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

section {
  scroll-margin-top: 85px;
}

/* GRADIENT & WARNA EMAS */
.gold-gradient-text {
  background: linear-gradient(135deg, #FFE89C 0%, #D4AF37 50%, #9B7208 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-bright {
  color: #FFD700 !important;
}

.text-muted-custom {
  color: var(--text-muted-custom) !important;
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #0A1F1C;
  font-weight: 700;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  color: #000;
}

.glass-card {
  background: rgba(18, 44, 39, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
}

/* NAVBAR */
.navbar {
  background: transparent;
  transition: all 0.4s ease-in-out;
  padding: 15px 0;
}

.navbar.scrolled {
  background: rgba(10, 31, 28, 0.98);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-gold) !important;
}

.nav-link {
  color: #E2E8F0 !important;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--primary-gold) !important;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 180px 0 100px 0;
  background: radial-gradient(circle at center, rgba(18, 44, 39, 0.75) 0%, rgba(10, 31, 28, 1) 100%), url('https://res.cloudinary.com/p1qmzrhx/image/upload/f_auto,q_auto/IMG-20260708-WA0029') center/cover no-repeat;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.hero-logo {
  max-width: 180px;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.stat-box {
  border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-box:last-child {
  border-right: none;
}

/* INFO TERKINI / CAROUSEL */
.banner-img {
  height: 380px;
  object-fit: cover;
  filter: brightness(0.6);
  transition: all 0.5s ease;
  border-radius: 8px;
}

.info-carousel-item:hover .banner-img {
  filter: brightness(0.85);
  transform: scale(1.02);
}

.carousel-caption-info {
  background: rgba(10, 31, 28, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  bottom: 30px;
  left: 10%;
  right: 10%;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .banner-img { height: 250px; }
  .carousel-caption-info { left: 5%; right: 5%; padding: 10px; bottom: 15px; }
  .carousel-caption-info p { display: none; }
}

/* TIMELINE JADWAL */
.timeline {
  border-left: 2px solid var(--primary-gold);
  padding-left: 25px;
  margin-left: 15px;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 3px;
  width: 13px;
  height: 13px;
  background: var(--primary-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.timeline-date {
  font-family: 'Cinzel', serif;
  color: var(--primary-gold);
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* TABEL & PENCARIAN */
#filterNama::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1; 
  }
  
.table-dark-custom {
  color: #FFFFFF !important;
  border-spacing: 0;
}

.table-dark-custom th {
  background-color: rgba(212, 175, 55, 0.2) !important;
  color: #FFE89C !important;
  border-bottom: 2px solid #D4AF37 !important;
  padding: 14px 16px;
  font-family: 'Cinzel', serif;
}

.table-dark-custom td {
  background-color: rgba(10, 31, 28, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  vertical-align: middle;
  padding: 12px 16px;
}

.search-input {
  background: rgba(10, 31, 28, 0.8) !important;
  border: 1px solid var(--primary-gold) !important;
  color: #fff !important;
}

.search-input:focus {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
}

option {
  background-color: var(--dark-emerald);
  color: #FFF;
}

.badge-verified {
  background-color: rgba(40, 167, 69, 0.2) !important;
  color: #28a745 !important;
  border: 1px solid #28a745 !important;
  font-weight: 700 !important;
}

.badge-pending {
  background-color: rgba(220, 53, 69, 0.25) !important;
  color: #ff4d4d !important;
  border: 1px solid #ff4d4d !important;
  font-weight: 700 !important;
}

/* PAGINATION */
.custom-pagination .page-link {
  background-color: rgba(10, 31, 28, 0.8);
  border-color: rgba(212, 175, 55, 0.3);
  color: #FFD700;
  margin: 0 4px;
  border-radius: 6px;
}

.custom-pagination .page-item.active .page-link {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #0A1F1C;
  font-weight: 700;
}

.custom-pagination .page-item.disabled .page-link {
  background-color: rgba(0, 0, 0, 0.2);
  color: #A3B8B5;
}

/* MERCHANDISE & SPONSOR */
.carousel-item img {
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.carousel-caption-custom {
  background: rgba(10, 31, 28, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 15px 20px;
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: all 0.3s;
}

.sponsor-card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.25);
}

/* GALERI */
.filter-btn {
  border-color: rgba(212, 175, 55, 0.5);
  color: #FFD700;
}

.filter-btn:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.filter-btn.active {
  background-color: var(--primary-gold) !important;
  color: #0A1F1C !important;
  border-color: var(--primary-gold) !important;
  font-weight: 700;
}

.gallery-col {
  transition: all 0.4s ease-in-out;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,28,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  backdrop-filter: blur(2px);
}

/* FAQ */
.accordion-item {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  margin-bottom: 12px;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  background: rgba(18, 44, 39, 0.6) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(212, 175, 55, 0.15) !important;
  color: var(--primary-gold) !important;
}

.accordion-body {
  background: rgba(10, 31, 28, 0.8);
  color: #E2E8F0;
}

/* MODAL & FOOTER */
.modal-content {
  background-color: var(--deep-forest);
  border: 1px solid var(--primary-gold);
  color: #FFFFFF;
}

footer {
  background: #05100E;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

  /* Animasi Skeleton Premium */
  .skeleton {
    background-color: #2a2a2a;
    background-image: linear-gradient(90deg, #2a2a2a 0px, #3a3a3a 40px, #2a2a2a 80px);
    background-size: 200vw 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
  }
  @keyframes shimmer {
    0% { background-position: -100vw 0; }
    100% { background-position: 100vw 0; }
  }
  .skeleton-text { height: 1rem; margin-bottom: 0.5rem; width: 100%; }
  .skeleton-title { height: 1.5rem; margin-bottom: 1rem; width: 60%; }
  .skeleton-img { height: 200px; width: 100%; border-radius: 8px 8px 0 0; }
