:root {
    --primary-color: #ff3c78;
    --secondary-color: #1e1e1e;
    --background-color: #f0f0f0;
    --text-color: #333;
    --white: #fff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack containers */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 30px; /* Space between containers */
    background-image: linear-gradient(45deg, #e3e3e3 25%, transparent 25%),
                      linear-gradient(-45deg, #e3e3e3 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #e3e3e3 75%),
                      linear-gradient(-45deg, transparent 75%, #e3e3e3 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

#food-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    min-height: 450px; /* Taller to accommodate image */
    justify-content: center;
}

#food-display img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#food-display p {
    font-size: 1.2em; /* Slightly smaller to complement image */
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0;
}

#recommend-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 60, 120, 0.4);
}

#recommend-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 60, 120, 0.6);
}


/* Contact Section */
.contact-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.contact-section label {
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 60, 120, 0.2);
}

.contact-section button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 60, 120, 0.4);
    align-self: center;
    margin-top: 20px;
}

.contact-section button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 60, 120, 0.6);
}
