/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
}

.titlecontainer {
    text-align: center;
    margin-bottom: 2rem;
}

.titlecontainer h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.btncontainer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.sparkle {
    transition: transform 0.3s ease;
}

.btn:hover .sparkle {
    transform: rotate(180deg);
}

.showpassword {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    min-height: 50px;
    width: 100%;
    word-break: break-all;
}

/* Add these new styles for password parts */
.password-adjective {
    color: #FF9B73;
}

.password-color {
    color: #7DFFB3;
}

.password-noun {
    color: #73C2FF;
}

.password-number {
    color: #FFD873;
}





/* menu page  */

/* Menu Section */
.menu-category {
    margin: 40px 0;
}

.menu-category h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Menu Card */
.menu-card {
    background: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 100%; /* Allow the card to take full space inside the grid */
}
.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-card-content {
    padding: 15px;
}

.menu-card-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #333;
}

.menu-card-content p {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 10px;
}

.price {
    font-weight: bold;
    color: #E74C3C;
    display: block;
    margin: 10px 0;
}

.menu-card-content button {
    padding: 8px 15px;
    background-color: #333;
    color: #FFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.menu-card-content button:hover {
    background-color: #555;
    transform: scale(1.05);
    
}

.menu-card-content button:focus {
    outline: 2px dashed #FEC6A1;
    outline-offset: 3px;
    
}


/* Responsive Styles */
@media (max-width: 768px) {
    .menu-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* menu item hover effect */
.menu-item:hover {
    /* Basic hover effect */
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.menu-item:hover {
    /* Subtle background change */
    background-color: rgba(137, 247, 27, 0.05);
    cursor: pointer;
}

nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(90deg);
}

.theme-text {
    font-weight: 500;
}

/* Serious Mode Styles */
.serious-container {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 2rem auto;
}

.serious-container h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.serious-container p {
    color: #666;
    margin-top: 0.5rem;
}

.serious-container .password-display {
    position: relative;
    margin: 1.5rem 0;
    display: flex;
    gap: 0.5rem;
}

.serious-container #generatedPassword {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #666;
}

.serious-container .copy-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
}

.serious-container .settings {
    margin: 1.5rem 0;
}

.serious-container .setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

/* Range Slider Styling */
.serious-container #lengthSlider {
    width: 100%;
    height: 4px;
    background: #8860D0;
    border-radius: 2px;
    appearance: none;
    margin-top: 0.5rem;
}

.serious-container #lengthSlider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #8860D0;
    border-radius: 50%;
    cursor: pointer;
}

/* Toggle Switch Styling */
.serious-container .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.serious-container .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.serious-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E0E0E0;
    transition: .4s;
    border-radius: 34px;
}

.serious-container .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.serious-container input:checked + .slider {
    background-color: #8860D0;
}

.serious-container input:checked + .slider:before {
    transform: translateX(24px);
}

/* Generate Button Styling */
.serious-container .generate-btn {
    width: 100%;
    padding: 1rem;
    background-color: #8860D0;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.serious-container .generate-btn:hover {
    background-color: #7550b8;
}

.serious-container .generate-btn svg {
    stroke: currentColor;
}

/* Serious Mode Body Background */
.serious-mode {
    background-color: #F5F3FF !important;
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(5px);     

    -webkit-backdrop-filter: blur(5px);
}

.footer a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer a:hover {
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.8);
}

