/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and HTML for Sticky Footer */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    color: #e0e0e0;
    background-color: #121212;
}

/* Container utama untuk konten yang fleksibel */
.container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Header */
header {
    background: linear-gradient(90deg, #0d7377, #14ffec);
    padding: 1.5rem 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

header h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

.logo {
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #14ffec;
}

/* Main Content */
main {
    text-align: center;
    padding: 2rem;
    flex: 1;
}

.upload-section {
    padding: 4rem 0;
}

.upload-section h2 {
    font-size: 2.5rem;
    color: #14ffec;
    font-weight: 600;
}

.upload-section p {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin: 1rem 0 2rem;
}

.upload-btn {
    background-color: #0d7377;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.upload-btn:hover {
    background-color: #14ffec;
    color: #121212;
}

.g-recaptcha {
    margin-bottom: 20px;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #1b1b1b;
    padding: 1.5rem;
    border-radius: 10px;
    width: 30%;
    min-width: 280px;
    max-width: 320px;
    height: 250px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0.5rem;
}

.feature-card h3 {
    color: #14ffec;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 80%;
        height: auto;
    }
}

/* Footer */
footer {
    background-color: #0d7377;
    padding: 1.5rem;
    text-align: center;
    color: #e0e0e0;
    font-size: 0.9rem;
    width: 100%;
    position: relative;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
}

.modal-content {
    background-color: #1b1b1b;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #14ffec;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #14ffec;
    cursor: pointer;
}

.preview-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #121212, #1e1e1e);
    color: #e0e0e0;
    padding: 3rem 0;
}

.about-container {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
    text-align: center;
    background-color: #1b1b1b;
    border-radius: 12px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-section h2 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #14ffec, #0d7377);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    animation: fadeIn 1s ease forwards;
}

.about-section h3 {
    font-size: 1.8rem;
    color: #14ffec;
    margin-top: 2rem;
    font-weight: 600;
}

.about-section p, .about-section ul li {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin: 1rem 0;
    line-height: 1.6;
}

/* List Item Style */
.about-section ul li {
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #c7c7c7;
}

.about-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #14ffec;
    font-size: 1.2rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-container:hover {
    transform: translateY(-5px);
}

/* Success Modal */
#successPopup .modal-content {
    background-color: #1b1b1b;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #14ffec;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

#successPopup h2 {
    color: #14ffec;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#successPopup p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.copy-button {
    color: #fff;
    background-color: #0d7377; /* Warna saat default, tidak terlalu terang */
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Menambahkan jarak di atas tombol */
    transition: background-color 0.3s ease;
}

.copy-button:hover {
    background-color: #14ffec; /* Warna saat hover */
}

/* Tambahan styling untuk link */
.popup-link {
    color: #14ffec;
    font-weight: 600;
    text-decoration: none;
    display: block; /* Mengatur agar link tampil sebagai block untuk penempatan yang lebih baik */
    margin-bottom: 10px; /* Menambahkan jarak di bawah link */
}

.g-recaptcha {
    width: 80%; /* Membuat lebar reCAPTCHA 100% dari kontainer */
    height: auto; /* Memastikan tinggi mengikuti proporsi */
}
