/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
}

/* Header Styles */
header {
    background-color: #6a1b9a;
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out;
}

header p {
    font-size: 18px;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Section Styles */
section {
    padding: 40px 20px;
    margin: 20px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    width: 90%;
    animation: fadeIn 1.2s ease-out;
}

section h2 {
    font-size: 32px;
    color: #6a1b9a;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

/* Main Image */
.main-image {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

/* Feature List */
.features ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.features ul li {
    font-size: 20px;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.features ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #6a1b9a;
}

/* Pricing Table */
.pricing-table {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    gap: 20px;
}

.pricing-option {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    width: 45%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-option:hover {
    transform: translateY(-10px);
}

.pricing-option h3 {
    font-size: 26px;
    color: #6a1b9a;
    margin-bottom: 15px;
}

.pricing-option p {
    font-size: 18px;
    color: #777;
    margin-bottom: 20px;
}

.pricing-option p strong {
    font-weight: 600;
}

.pricing-option .price {
    font-size: 28px;
    font-weight: 700;
    color: #6a1b9a;
    margin-bottom: 20px;
}

/* Contact Form */
.contact {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    color: #6a1b9a;
    margin-bottom: 30px;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: #6a1b9a;
    outline: none;
}

form button {
    background-color: #6a1b9a;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #9c4dcc;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #6a1b9a;
    color: white;
    font-size: 14px;
    margin-top: 40px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }

    .pricing-option {
        width: 80%;
        margin-bottom: 20px;
    }

    header h1 {
        font-size: 36px;
    }

    section h2 {
        font-size: 28px;
    }

    section p {
        font-size: 16px;
    }
}

/* Button Styles */
button {
    background-color: #6a1b9a;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background-color: #9c4dcc;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(106, 27, 154, 0.3);
}

/* Order Button Styles */
.order-btn {
    display: inline-block;
    background-color: #6a1b9a;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background-color: #9c4dcc;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Portfolio Section */
.portfolio {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    margin: 30px auto;
    max-width: 1100px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.portfolio h2 {
    font-size: 28px;
    font-weight: 600;
    color: #6a1b9a;
    margin-bottom: 15px;
}

.portfolio p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #555;
}

.portfolio-item {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .portfolio {
        padding: 20px 10px;
    }

    .portfolio h2 {
        font-size: 24px;
    }

    .portfolio p {
        font-size: 14px;
    }

    .portfolio-item {
        width: 100%;
        padding-top: 56.25%;
    }
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-selector:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #6a1b9a;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #9c4dcc;
}
/* General Button Styles */
.lang-btn {
    background-color: #4CAF50; /* Green background */
    color: white; /* Text color */
    border: none; /* Remove border */
    padding: 12px 20px; /* Add padding */
    text-align: center; /* Center align text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Allow buttons to be inline */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer on hover */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition */
}

/* Hover State for Buttons */
.lang-btn:hover {
    background-color: #45a049; /* Darker green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Active State for Buttons */
.lang-btn:active {
    background-color: #3e8e41; /* Even darker green when clicked */
    transform: scale(0.98); /* Slight shrink effect */
}

/* Language Selector Container */
.language-selector {
    position: fixed; /* Fixed position so it's always visible */
    top: 10px; /* Distance from the top */
    right: 10px; /* Distance from the right */
    z-index: 9999; /* Ensure it's above other content */
}

/* FAQ Section */
.faq {
    margin: 2rem auto; /* Menggunakan auto untuk margin kiri dan kanan agar berada di tengah */
    padding: 2rem;
    max-width: 800px; /* Menentukan lebar maksimal untuk menyesuaikan ukuran */
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: left; /* Mengatur teks ke kiri agar lebih rapi */
    box-sizing: border-box; /* Memastikan padding dan margin tidak membuat elemen lebih besar dari lebar yang ditentukan */
}

/* Judul FAQ */
.faq h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center; /* Memusatkan judul FAQ */
}

/* Item FAQ */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Pertanyaan FAQ */
.faq-question {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #0056b3; /* Warna saat hover */
}

/* Jawaban FAQ (disembunyikan secara default) */
.faq-answer {
    font-size: 1rem;
    color: #666;
    display: none;
    margin-top: 0.5rem;
}

/* Menampilkan jawaban saat item aktif */
.faq-item.active .faq-answer {
    display: block;
}

/* Memberikan efek hover pada setiap item FAQ */
.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Efek shadow saat hover untuk memberikan efek responsif */
}

/* Responsivitas untuk layar kecil */
@media (max-width: 768px) {
    .faq {
        padding: 1rem; /* Mengurangi padding untuk layar lebih kecil */
        width: 90%; /* Menyesuaikan lebar untuk layar kecil */
    }

    .faq h2 {
        font-size: 1.6rem; /* Ukuran font judul menyesuaikan */
    }

    .faq-item {
        padding: 1rem; /* Menyesuaikan padding item FAQ untuk layar lebih kecil */
    }
}

