/* Mi Mesa Color Palette

Warm beige: #bcb69d
Dark brown: #3b3328
Terracotta: #b7742d
Olive green: #75704c
Deep blue: #2b4078
Cream: #f7f3e8
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #bcb69d;
    color: #3b3328;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* Header */

header {
    background-image:
        linear-gradient(
            rgba(59, 51, 40, 0.75),
            rgba(59, 51, 40, 0.75)
        ),
        url("images/talavera brown.jpg");

    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 6px solid #b7742d;
}

header h1 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    letter-spacing: 4px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

header h1::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background-color: #b7742d;
    margin: 18px auto;
}

header h2 {
    margin: 0 0 8px;
    color: #f7f3e8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: normal;
    text-transform: none;
}

header h3 {
    margin: 0 0 25px;
    color: #f7f3e8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.tagline {
    margin: 0 0 25px;
    color: #f7f3e8;
    font-size: 1.2rem;
    font-style: italic;
}

/* Navigation */

nav {
    margin-top: 20px;
}

nav a {
    display: inline-block;
    background-color: #b7742d;
    color: #ffffff;
    text-decoration: none;
    margin: 5px 10px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 30px;
    font-weight: bold;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

nav a:hover,
nav a:focus {
    background-color: #75704c;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Main */

main {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #2b4078;
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    font-size: 2rem;
}

p {
    color: #3b3328;
}

/* homepage; hero section */

.hero {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.hero-text {
    text-align: center;
    padding: 30px;
}

.hero-text h2 {
    color: #b7742d;
    margin-top: 0;
}

/* featured dishes section */

.featured-dishes {
    background-color: #75704c;
    color: #ffffff;
    padding: 35px;
    border-radius: 12px;
}

.featured-dishes h2 {
    color: #ffffff;
    margin-top: 0;
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dish-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.dish-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.dish-card h3 {
    color: #b7742d;
    margin: 18px 15px 10px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.dish-card p {
    padding: 0 20px 22px;
    margin: 0;
    text-align: center;
    color: #3b3328;
    line-height: 1.5;
}

/* about page */

.about-story {
    background-color: #ffffff;
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border-left: 8px solid #b7742d;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 25px;
}

.about-text {
    line-height: 1.7;
}

/* Google Map section */

.location {
    background-color: #ffffff;
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    border-top: 8px solid #75704c;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    display: block;
    margin-top: 20px;
}

/* Footer */

footer {
    background-color: #2b4078;
    color: #ffffff;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
    border-top: 6px solid #b7742d;
}

footer p {
    color: #ffffff;
    margin: 0;
}
/* Jennifer was here! */
