/* Import Font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset CSS Dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  visibility: hidden; /* Hide all elements initially */
}



.loading-gif {
            max-width: 500px;
        }

        .pre-loader {
            position: fixed;
            z-index: 100000000000000000000000000; /** make sure this is the highest value compared to all other divs **/
            top: 0;
            left: 0;
            background: #191f26;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            width: 100%;
        }

        .pre-loader.hidden {
            animation: fadeOut 2s; /** change to 1s */
            animation-fill-mode: forwards;
        }

        @keyframes fadeOut {
            100% {
                opacity: 0;
                visibility: hidden;
            }
        }

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}



/* 1. Styling Hero Section (Latar Belakang Penuh) */
.hero-section {
  position: relative;
  height: 100vh; /* Tinggi 100% dari viewport */
  background-image: url('umroh1.jpeg'); /* Memuat gambar Anda */
  background-size: cover; /* Membuat gambar menutupi seluruh area */
  background-position: center; /* Posisi gambar di tengah */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

/* Lapisan Gelap (Overlay) agar teks lebih mudah dibaca */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Hitam dengan 50% transparansi */
}

/* Konten di tengah halaman */
.hero-content {
  position: relative; /* Agar berada di atas overlay */
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem; /* Ukuran judul utama */
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Tombol Aksi Utama (Call to Action) */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #fdb813; /* Warna kuning-emas yang serasi */
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #ffc94a;
  transform: translateY(-3px);
}

.navbar-logo {
  height: 80px; /* Ukuran awal */
  margin-right: 10px;
}

/* 2. Styling Kotak Navigasi WhatsApp (Floating Button) */
.whatsapp-float {
  position: fixed; /* Tetap di posisi yang sama saat di-scroll */
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; /* Warna khas WhatsApp */
  color: #fff;
  border-radius: 50%; /* Membuatnya menjadi lingkaran */
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 100; /* Agar selalu di atas elemen lain */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Sedikit membesar saat disentuh mouse */
}

/* Penyesuaian untuk layar lebih kecil (Mobile Responsive) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem; /* Ukuran judul lebih kecil di mobile */
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}
