/* --- GLOBAL RESET & BODY --- */
html {
  overflow-x: hidden;
}

body {
  background-color: #2D1218;
  background-image: url('../images/pattern2.png');
  background-repeat: repeat;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: clip; /* Memastikan sticky navbar berfungsi tanpa bocor horizontal */
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* --- NAVBAR STICKY --- */
.navbar {
  margin: 0;
  padding: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: rgba(45, 18, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

/* Burger Toggle */
.nav-toggle,
.nav-burger {
  display: none;
}

/* Flexbox Layout Navbar */
.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
  box-sizing: border-box;
}

/* Logo Navbar */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0;
}

.nav-logo a:hover {
  background-color: transparent !important;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-size: 20px; 
  font-weight: 700;
  line-height: 1; 
  letter-spacing: -0.3px;
}

.text-pyladies {
  color: #FFFFFF; 
}

.text-yellow {
  color: #F3C649;
}

/* Menu Links (Tengah) */
.nav-item {
  display: flex;
  align-items: center;
}

.nav-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-item a:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

/* Tombol Primary & Join Now (Kanan) */
.nav-button {
  display: flex;
  align-items: center;
}

.primary-btn,
.btn-join {
  background-color: #C82333;
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px !important;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(200, 35, 51, 0.35);
  transition: all 0.2s ease;
}

.primary-btn:hover,
.btn-join:hover {
  background-color: #e02638 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 35, 51, 0.5);
}

/* --- SECTION SUPPORTED BY --- */
.supported {
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 4px solid #cfa343;
}

.supported-container {
  max-width: 1100px;
  margin: 0 auto;
}

.supported h2 {
  color: #8B2635;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.supported h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #cfa343;
  margin: 8px auto 0;
  border-radius: 2px;
}

.support-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.support-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  padding: 16px 28px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.support-card span {
  color: #4a4a4a;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.support-card img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  border-color: #c82333;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(200, 35, 51, 0.18),
              0 0 12px rgba(207, 163, 67, 0.25);
}

.support-card:hover span {
  color: #8B2635;
}

.support-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- RESPONSIVE MOBILE MENU --- */
@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
  }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: absolute;
    top: 22px;
    right: 20px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 20;
  }

  .nav-burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0;
  }

  .nav-logo {
    padding: 12px 20px;
    height: 70px;
    box-sizing: border-box;
  }

  .nav-item,
  .nav-button {
    display: none;
    width: 100%;
    padding: 0;
    text-align: left;
  }

  .nav-toggle:checked ~ ul {
    background-color: #2D1218;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-toggle:checked ~ ul .nav-item,
  .nav-toggle:checked ~ ul .nav-button {
    display: block;
  }

  .nav-item a {
    padding: 14px 24px;
    display: block;
    border-radius: 0;
  }

  .nav-button {
    padding: 16px 24px 8px 24px;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}