/* Font & Base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f8f8f8;
}

/* Section */
.contact-section {
    position: relative;
    padding: 120px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../img/food.png') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: #103f2f;
    z-index: 2;
}

/* Container */
.contact-container {
    position: relative;
    z-index: 2;
    background: #97d5be;
    width: 85%;
    max-width: 1100px;
    padding: 40px;
    border-radius: 0px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: slideUp 1s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

/* Animasi Form */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title & Subtitle */
.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    animation: zoomIn 1s ease forwards;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Form */
.contact-form {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-left,
.form-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #97d5be;
    border-radius: 0px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

textarea {
    height: 160px;
    resize: none;
}

input:focus,
textarea:focus {
    border-color: #f44336;
}

/* Button */
button {
    width: 30%;
    padding: 15px 0;
    background: transparent;
    color: #ffffff;
    border: 2px solid #fcfbfb;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: block;
    margin: 15px auto 0 auto;
    transition: 0.25s;
}

button:hover {
    background: #e9c347;
    color: #fff;
    border-color: #e9c347;
}

/* Responsive Mobile*/
@media (max-width: 768px) {
    .contact-form {
        flex-direction: column;
    }

    button {
        width: 80%;
        font-size: 16px;
        white-space: nowrap;
    }
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    text-align: center;
}

.modal-content p {
    color: #000; /* teks pesan hitam */
    font-size: 16px;
}

.modal-content button {
    margin-top: 15px;
    padding: 8px 15px;
    cursor: pointer;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #000;  /* teks hitam */
    font-weight: bold;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background: #ddd; /* efek hover abu-abu */
}
