* {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}
header, footer {
    background-color: #463429;
    color: #C4A08B;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
}

h1 {
font-size: 2rem;
font-family: "brush-script-std", sans-serif;
font-weight: 400;
margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    padding: 10px 15px;
}

a {
    color: #C4A08B;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3.6px;
}

a:hover {
background-color: #705F55;
color: #C4A08B;
padding: 15px 0;
}

main {
    background-image: url(../images/backgroundpattern.jpg);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding:40px 5%;
    flex: 1;
    gap: 80px;
}

main img {
    width: 20%;
    margin: auto;
    float: right;
}

h2 {
    font-size: 1.3rem;
    letter-spacing: 3.8px;
    line-height: normal;
    font-style: normal;
    color:#463429;
}

#macron {
font-weight: 400;
}


main p {
    font-size: 1rem;
    color: #463429;
}

.homedescription{
    padding: 20px 80px 20px 20px;
    flex: 1;
    max-width: 600px;
}
.homeimage {
    flex: 1;
    padding: 20px;
}

.homeimage img {
    width: 80%;
    max-width: 400px;
    height: auto;
}

/*menu page */

.menu-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}

.menu-container h1 {
    text-align: center;
    font-size: 3rem;
    padding: 40px;
    color:#5d4037;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 5%;
  margin-bottom: 80px;
}

.menu-item:nth-child(even) {
  flex-direction: row-reverse;
}

.menu-image, .menu-text{
  flex: 1;
  min-width: 300px;
}

.menu-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.menu-text h2 {
  color: #5d4037;
  font-size: 2rem;
  margin-bottom: 10px;
}

.menu-text p {
  line-height: 1.6;
  color: #444;
}

.price {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #8d6e63;
  font-size: 1.2rem;
}

/*contact form */

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
}

.contact-form {
    width: 100%;
    max-width: 500px;
    background-color: #FFFFFF;
    margin: 0 auto;
}

.form-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 15px;
}

.contact-form h2 {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"], 
.form-group input[type="email"], 
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

#contactheader {
  text-align: center;
  padding: 0;
}

.contactmain button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    background-color: #463429;
}

button:hover {
    background-color: #FFFFFF;
    cursor: pointer;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 20px;
    
}

@media (max-width: 992px) {
    .menu-item {
        gap: 30px;
    }
    
    h1 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
    }

  .menu-item, .menu-item:nth-child(even) {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .menu-image, .menu-text {
        width: 100%;
        min-width: 100%;
    }

    main {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
        text-align: center;
    }

    .homeimage {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
  }

    .homeimage img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }
    
    .homedescription {
        padding: 0;
        max-width: 100%;
        text-align: center;
    }
}