/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../assets/images/media/bannerhomenetflixstore.jpg'); /* URL lokal */
    background-size: cover; /* Membuat gambar memenuhi seluruh layar */
    background-position: center; /* Posisi gambar di tengah */
    background-repeat: no-repeat; /* Tidak mengulang gambar */
    background-attachment: fixed; /* Membuat gambar tetap saat scrolling */
    min-height: 100vh; /* Memastikan background mengisi minimal 100% tinggi layar */
    color: #fff;
    text-align: center;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Pastikan HTML dan body memenuhi tinggi layar */
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Memastikan wrapper mengambil tinggi layar penuh */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    animation: slideDown 1s ease-out; /* Tambahkan animasi slide down */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo img {
    width: 120px;
}

.nav {
    display: flex;
    align-items: center;
}

.language-select {
    margin-right: 20px;
    padding: 5px;
    background-color: #333;
    color: #fff;
    border: none;
}

.sign-in {
    padding: 10px 20px;
    background-color: #e50914;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.sign-in:hover {
    background-color: #f40612;
}

/* Main Content */
.main-content {
    flex: 1; /* Konten utama mengisi ruang yang tersisa */
    padding: 100px 20px;
    text-align: center;
    animation: fadeIn 2s ease-in-out; /* Tambahkan animasi fade-in */
}

.main-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Gift Card Section */
.gift-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    animation: fadeInUp 1.5s ease-out; /* Animasi masuk dari bawah */
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gift-card {
    width: 90%;
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.gift-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.gift-card-image {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.gift-card-title {
    font-size: 1.8em;
    color: #e50914;
    font-weight: bold;
}

.gift-card-description {
    font-size: 1em;
    color: #dcdcdc;
    margin-bottom: 20px;
}

.gift-card-button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #e50914;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.gift-card-button:hover {
    background-color: #f40612;
    transform: scale(1.05);
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column; /* Ubah ke kolom untuk tampilan sempit */
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Warna tetap gelap */
    color: #fff;
    text-align: center;
    transition: background-color 0.3s;
}

.footer .logo img {
    width: 100px; /* Ukuran logo lebih kecil */
    margin-bottom: 10px; /* Jarak bawah dengan navigasi */
}

.footer .nav {
    display: flex;
    flex-wrap: wrap; /* Bungkus jika elemen terlalu panjang */
    justify-content: center; /* Rata tengah */
    gap: 15px; /* Jarak antar elemen */
}

.footer .footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.footer .footer-link:hover {
    background-color: rgba(229, 9, 20, 0.8); /* Warna merah transparan saat hover */
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    .footer {
        padding: 15px; /* Padding lebih kecil */
        text-align: center; /* Pastikan teks rata tengah */
    }

    .footer .logo img {
        width: 80px; /* Logo lebih kecil di layar kecil */
    }

    .footer .footer-link {
        font-size: 0.8em; /* Teks lebih kecil untuk layar kecil */
        padding: 5px; /* Kurangi padding */
    }
}

