/* Base Styles for Hearth & Stone - Specials Page */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Playfair Display', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Necessary for overlay positioning */
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Background Image with Overlay */
body::before {
    content: "";
    position: fixed; /* Keeps the background fixed while scrolling */
    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; /* Adjust opacity as needed */
    z-index: -1; /* Places the background behind all content */
}

/* Mobile Frame */
#mobile-frame {
    width: 375px;
    height: 667px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: url('../assets/images/bgbistro.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    margin: 20px auto;
    position: relative;
}

/* Go to Home Button Styling */
#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);
}

/* Logo Styling */
#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    animation: fadeInUp 1s ease-out forwards 0.6s;
}

#logo-container img {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

#logo-container img:hover {
    transform: scale(1.1);
}

/* Content Section */
#content {
    text-align: center;
    flex-grow: 1;
    padding: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.9s;
}

/* Dish Styling */
.dish {
    margin: 20px auto;
    width: 90%;
    max-width: 340px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dish:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.dish img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.dish img:hover {
    transform: scale(1.05);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: capitalize;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 1.5s;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: #ffd700; /* Gold color for headings */
}

p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 18px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 1.8s;
    color: #ffffff;
    line-height: 1.6;
}

/* Footer Section */
footer {
    background: linear-gradient(90deg, #600000, #8B0000);
    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;
}

/* Hover Effect */
.footer-button:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

footer:hover {
    background: linear-gradient(90deg, #8B0000, #600000);
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #mobile-frame {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    #logo-container img {
        width: 120px;
    }
}
