body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    color: #333;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: #555;
}

main {
    padding-top: 80px; /* Adjust for fixed header */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    display: none; /* Hidden by default */
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}

.page.active {
    display: block; /* Show active page */
}

.container {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

#home .container {
     margin-bottom: 0;
}


.menu-recommendation {
    margin: 30px 0;
    min-height: 50px;
}

.menu-recommendation h2 {
    font-size: 2em;
    color: #ff6347; /* Tomato color */
    margin-top: 0;
}

#generate-btn {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
    border: none;
    background-color: #ff6347;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#generate-btn:hover {
    background-color: #e5533d;
}

.contact-form-section {
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin: 0 auto; /* Center the form */
}

.contact-form-section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    background-color: #4CAF50; /* Green color for submit button */
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.contact-form button[type="submit"]:hover {
    background-color: #45a049;
}

#comments-section {
    width: 100%;
    max-width: 800px; /* Disqus content can be wider */
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

#comments-section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
}

#rps-ai-section {
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin: 0 auto;
}

#rps-ai-section h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

#rps-ai-section p {
    margin-bottom: 25px;
}

#image-upload {
    margin-bottom: 20px;
}

#image-preview-container {
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#image-preview {
    max-width: 100%;
    max-height: 100%;
    display: none; /* Hidden by default */
}

#label-container {
    margin-top: 20px;
    font-size: 1.2em;
}

#label-container div {
    padding: 5px 0;
}