/* General Styling & Modern Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header and Navigation */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8A2BE2;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

.nav-link:hover {
    color: #fff;
    background-color: #3498db;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    min-width: 180px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #f4f4f4;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* Image Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s;
    opacity: 0;
    position: absolute;
}

.slide.active {
    opacity: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.slider-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.slider-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: #9400D3;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #9932CC;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: #333;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Content Sections & Animation */
.content-section {
    padding: 8rem 5% 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4B0082;
}

/* Contact Footer & Form Styles */

/* Contact Footer */
.main-footer-contact {
    background: #4B0082;
    color: #fff;
    padding: 4rem 5%;
    text-align: center;
}

.footer-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #5dade2;
}



/* Responsive Design (Media Queries) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px; /* Adjust based on header height */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f9f9f9;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }

    .dropdown.active .dropdown-menu {
        display: block; /* Show on click via JS */
    }

    .slider-content h1 {
        font-size: 2.5rem;
    }

    .slider-content p {
        font-size: 1.2rem;
    }
}
.custom-image {
  width: 50%; /* Sets the image to be 50% of its container's width */
  max-width: 400px; /* Ensures the image doesn't get larger than 400px */
  height: auto; /* Keeps the image's original proportions */
  display: block; /* Allows for centering */
  margin: 20px auto; /* Adds space above/below and centers it */
  border-radius: 10px; /* Optional: gives the image rounded corners */
}
/* Example CSS for your style.css file */
.gold-price-widgets iframe {
    width: 19%; /* Adjust as needed */
    height: 130px;
    border: 0;
    overflow: hidden;
}

/* A more robust version to ensure centering */
.widget-wrapper {
  width: 100%;                  /* Ensures the container has space */
  display: flex !important;         /* Forces flex display */
  justify-content: center !important; /* Forces horizontal centering */
}


/* === Mulai Kode CSS Pembayaran Kripto === */
#crypto-payment-container {
    max-width: 860px;
    margin: 2rem auto; /* Membuat seluruh kontainer berada di tengah */
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-align: center; /* Membuat semua teks di dalamnya center */
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.crypto-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap; /* Penting untuk responsif */
    gap: 20px;
}

.crypto-column {
    flex: 1;
    min-width: 280px; /* Lebar minimum sebelum pindah baris */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.qr-code {
    max-width: 180px; /* Ukuran maksimum gambar */
    width: 100%;      /* Membuat gambar mengecil jika kontainer lebih kecil */
    height: auto;     /* Menjaga rasio aspek gambar */
    margin: 10px 0;
}

.wallet-address {
    background-color: #f0f2f5;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    word-wrap: break-word;
    margin: 15px 0;
}

.amount-input-section {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

#paymentAmount {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 80%;
    max-width: 250px;
    margin-top: 5px;
    font-size: 16px;
    text-align: center;
}

.payment-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.payment-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btc-button { background-color: #8A2BE2; }
.eth-button { background-color: #8A2BE2; }
/* === Selesai Kode CSS Pembayaran Kripto === */


/* --- Script CSS untuk Pembatas Footer Gradasi --- */

.footer-gradasi {
  position: relative; /* Diperlukan untuk posisi pseudo-element */
  margin-top: 50px;
  padding-top: 40px;
}

.footer-gradasi::before {
  content: ''; /* Wajib ada untuk pseudo-element */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Lebar garis, tidak sampai ujung */
  height: 3px; /* Ketebalan garis */
  
  /* Gradasi dari transparan ke emas, lalu transparan lagi */
  background-image: linear-gradient(to right, 
    rgba(212, 175, 55, 0),   /* Emas transparan di kiri */
    rgba(212, 175, 55, 1),   /* Emas solid di tengah */
    rgba(212, 175, 55, 0)    /* Emas transparan di kanan */
  );
}

