/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* For overlay positioning */
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Background Image with Overlay */
body::before {
    content: "";
    position: fixed; /* Fixed background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.4;
    z-index: -1;
}

/* Mobile Frame */
#mobile-frame {
    width: 375px;
    height: 667px;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    position: relative;
}

/* Dimmer Overlay for Mobile Frame */
#mobile-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0.5); /* Lighter overlay so background remains visible */
    z-index: 0;
}

/* Ensure content sits above the overlay */
#mobile-frame > * {
    position: relative;
    z-index: 1;
}

/* Header / Logo Container */
#logo-container {
    text-align: center;
    padding: 20px;
    animation: fadeInDown 1s ease-out forwards;
}
#logo-container img {
    width: 150px;
    transition: transform 0.3s ease;
}
#logo-container img:hover {
    transform: scale(1.1);
}

/* Main Content */
#content {
    padding: 20px;
    text-align: center;
    animation: fadeInUp 1s ease-out forwards;
}
#content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #F5E6E8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

#home-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
    transition: background 0.2s ease, transform 0.3s ease;
  }
  
  #home-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
  }

/* Dish Items */
.dish {
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
.dish img {
    width: 90%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.dish img:hover {
    transform: scale(1.05);
    opacity: 0.95;
}
.dish h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #F5E6E8;
    margin: 10px 0 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.dish p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Footer Section */
footer {
    background: linear-gradient(90deg, #f4bceb, #f4bceb);
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    position: sticky;
    bottom: 0;
    font-family: 'Lora', serif;
    font-weight: 700;
    transition: background 0.5s ease-in-out;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  }
  
/* Footer Buttons */
.footer-button {
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Footer Icons */
.footer-button img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
