/* New Style for Flames Restaurant Website
   Created to modernize the look and feel while remaining lightweight and responsive.
*/

/* Import a custom font for the restaurant logo */
/* Import Google font for the restaurant logo. Great Vibes offers an elegant script ideal for a sophisticated dining experience. */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Navigation */
header {
    background: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

header .logo {
    /* Increase font size and weight to make the logo stand out more */
    /* Increase the size and weight of the restaurant name so it stands out more on the page. */
    /* Make the restaurant name even more eye‑catching.  Increase the
       base size slightly and bump up the weight for a bolder look. */
    font-size: 3rem;
    font-weight: 900;
    color: #d24d57;
    text-decoration: none;
    /* Use a distinctive cursive font for the restaurant name */
    font-family: 'Great Vibes', cursive;
    /* Add a bit more spacing between the letters so it feels airy */
    letter-spacing: 0.05em;
    /* Strengthen the drop shadow to help the logo pop against
       light and dark backgrounds */
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #d24d57;
}

/* Hero Section */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #d24d57;
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #b03a48;
}

/* Generic Section */
.section {
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #d24d57;
}

.section p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.about-content .text {
    flex: 1;
    min-width: 250px;
}

/* Menu Preview Section */
.menu-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.menu-item {
    width: 250px;
    text-align: center;
}

.menu-item img {
    width: 100%;
    border-radius: 8px;
    height: 180px;
    object-fit: cover;
}

.menu-item h4 {
    margin: 0.5rem 0 0.2rem;
    font-size: 1.25rem;
}

.menu-item span {
    font-weight: bold;
    color: #d24d57;
    font-size: 1.1rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
}

/* Contact Section */
.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #d24d57;
}

/* Full Menu Grid */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.menu-grid .menu-item {
    width: 260px;
    text-align: center;
}

.menu-grid .menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.menu-grid .menu-item h4 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.menu-grid .menu-item span {
    font-weight: bold;
    color: #d24d57;
    font-size: 1.1rem;
}

.menu-grid .menu-item p {
    font-size: 1rem;
    margin: 0.5rem 0 0;
}

/* Footer */
footer {
    background: #111;
    color: #eee;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero {
        height: 70vh;
    }
    .menu-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .menu-item {
        width: 100%;
    }
    header nav ul li {
        margin-left: 1rem;
    }
}