/* === FONT GLOBAL === */
body {
  font-family: 'Fredoka', sans-serif;
  background-color: #fffaf2;
  color: #333;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  background: linear-gradient(to bottom, #FFEDD5 0%, #FFE5B4 40%, #FFFFFF 100%);
  color: #333;
  flex-direction: column;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}


.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: 4rem;
  font-weight: 900;
  color: #ff8c00; /* oranye utama */
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow:
    -3px -3px 0 #fff,
     3px -3px 0 #fff,
    -3px  3px 0 #fff,
     3px  3px 0 #fff,
     0 5px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}



.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #333;
}

.btn {
  border: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* === BUTTON GROUP FIXED === */
.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 700px;
  margin: 0 auto;
}

.button-group .btn {
  border-radius: 30px;
  font-size: 1.1rem;
  padding: 12px 24px;
  min-width: 240px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Hover efek */
.button-group .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Warna tombol */
.btn-warning { background-color: #ffc107; border: none; color: #fff; }
.btn-success { background-color: #28a745; border: none; color: #fff; }
.btn-primary { background-color: #007bff; border: none; color: #fff; }
.btn-info { background-color: #17a2b8; border: none; color: #fff; }
.btn-dark { background-color: #333; border: none; color: #fff; }

/* === RESPONSIVE === */

/* ✅ Tablet & PC besar → dua tombol per baris */
@media (min-width: 768px) {
  .button-group {
    display: grid !important; /* paksa grid override flex */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 25px;
  }

  .button-group .btn {
    width: 100%;
  }

  /* tombol terakhir (WhatsApp) jadi satu baris tengah */
  .button-group .btn:last-child {
    grid-column: 1 / 3;
    justify-self: center;
    max-width: 350px;
  }
}

/* ✅ HP → tombol jadi vertikal */
@media (max-width: 767px) {
  .button-group {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  .button-group .btn {
    width: 100%;
    max-width: 320px;
    margin: 6px 0;
  }
}



/* === ABOUT SECTION === */
.about {
  background-color: #fff8e8;
}

.about h2 {
  color: #ff9b00;
}

/* === COMPETITION SECTION === */
.competitions {
  background: linear-gradient(to bottom, #fff7ef 0%, #ffffff 100%);
  padding: 60px 20px;
  text-align: center;
}

/* Judul Section */
.competitions h2 {
  color: #ff7a5c;
  font-family: 'Fredoka One', cursive;
  font-size: 2.5rem;
  text-shadow: 2px 2px 0 #fff, 4px 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* Baris utama agar tinggi card sama */
.competitions .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* jarak antar card */
}

/* Setiap kolom flex container biar isi (card) rata tinggi */
.competitions .col-md-4 {
  display: flex;
  align-items: stretch;
}

/* Kartu lomba */
.competitions .card {
  flex: 1; /* isi penuh tinggi kolom */
  border-radius: 25px;
  background: linear-gradient(145deg, #fff, #fff2ea);
  border: 3px solid #ffe0d1;
  box-shadow: 0 5px 15px rgba(255, 140, 100, 0.15);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
}

.competitions .card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 123, 100, 0.4);
  background: linear-gradient(145deg, #fff8f4, #fff2ea);
}

/* Judul di dalam kartu */
.competitions .card h5 {
  font-family: 'Fredoka One', cursive;
  color: #ff8c42;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Teks isi kartu */
.competitions .card p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

/* Gambar ikon (opsional) */
.competitions .card img {
  margin-top: 15px;
  width: 50px;
  align-self: center;
}


/* === SCHEDULE SECTION === */
.schedule {
  background: linear-gradient(135deg, #8EC5FC, #E0C3FC);
}

.schedule h2 {
  color: #fff;
}

/* === CONTACT SECTION === */
.contact {
  background-color: #fff;
}

.contact h2 {
  color: #ff7a5c;
}

.social-icons img {
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* === FOOTER === */
footer {
  background: #ff9b73;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* === DEKORASI HERO === */
/* === DEKORASI HERO (posisi baru) === */
.decor {
  position: absolute;
  opacity: 0.8;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

/* bintang kiri atas */
.decor1 {
  top: 8%;
  left: 5%;
  width: 70px;
  transform: rotate(-15deg);
  animation-delay: 0.5s;
}

/* planet kanan atas */
.decor4 {
  top: 12%;
  right: 8%;
  width: 100px;
  transform: rotate(10deg);
  animation-delay: 1s;
}

/* balon kanan bawah */
.decor3 {
  bottom: 5%;
  right: 15%;
  width: 90px;
  animation-delay: 1.5s;
}

/* bintang kiri bawah */
.decor2 {
  bottom: 10%;
  left: 10%;
  width: 60px;
  transform: rotate(25deg);
  animation-delay: 2s;
}

/* efek mengambang lembut */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

