* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #fff9f5;
    color: brown;

}

h2 {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.mycontainer {

    width: 90%;
    max-width: 1100px;
    margin: auto;

}

header {

    position: sticky;
    top: 0;
    background-color: #8b4513;
    color: #fff;
    padding: 20px 0;
    z-index: 1000;

}

header h1 {

    margin: 0;
    font-size: 2rem;

}

nav ul {

    list-style: none;
    display: flex;
    gap: 20px;

}

nav a {

    color: #fff;
    text-decoration: none;
    font-weight: bold;

}

nav ul {

    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;

}

nav ul li a {

    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;

}

nav ul li a:hover {

    background-color: white;  
    color: brown;               

}


header .mycontainer {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.banner {

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;

}

.banner::before {

    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #caa765; 
    z-index: 1;

}

.banner .mycontainer {

    position: relative;
    z-index: 2;

}

.banner h2 {

    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;

}

.banner p {

    font-size: 1.5rem;
    margin-bottom: 20px;
    font-style: italic;

}

.produtos {

    padding: 60px 0;
    background-color: #fff;
    text-align: center;

}

.produtos h2 {

    margin-bottom: 40px;
    font-size: 2rem;
    color: #8b4513;

}

.grid {

    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;

}

.produto {

    background: #fff;
    border: 1px solid #e0cbb3;
    border-radius: 8px;
    width: 250px;
    padding: 20px;
    box-shadow: 0 2px 8px black;

}

.produto img {

    width: 100%;
    border-radius: 5px;

}

.produto h3 {

    margin-top: 15px;
    font-size: 1.2rem;
    color: #5a2d0c;

}

.produto h3::after {

    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #c62828;
    margin: 10px auto 0;
    border-radius: 2px;

}


.fotos {

    padding: 60px 0;
    background-color: #caa765;
    text-align: center;

}

.foto {

    background: #fff;
    border: 1px solid #e0cbb3;
    border-radius: 8px;
    width: 250px;
    padding: 20px;
    box-shadow: 0 2px 8px black;

}

.foto img {

    width: 100%;
    border-radius: 5px;

}

.informacoes {

    background-color: #fff; 
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4e342e;
    text-align: center;

}

.informacoes h2 {

    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #8d4f2c; 
    position: relative;

}

.informacoes h2::after {

    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #c62828;
    margin: 10px auto 0;
    border-radius: 2px;

}

.informacoes p {

    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;

}


footer {

    background-color: #8b4513;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;

}

.contato h2{

    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #8d4f2c; 
    position: relative;
    text-align: center;

}

.contato h2::after{

    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #c62828;
    margin: 10px auto 0;
    border-radius: 2px;

}

form {

  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}

input, textarea {

  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;

}

textarea {

  resize: vertical;
  min-height: 100px;

}

form button {

  background-color: #d8b46a;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;

}

form button:hover {

  background-color: #b8974c;

}

@media (max-width: 992px) {

    header .mycontainer {

        flex-direction: column;
        gap: 15px;

    }

    .banner h2 {

        font-size: 2rem;

    }

    .banner p {

        font-size: 1.2rem;

    }

    .grid {

        gap: 20px;

    }

    .produto, .foto {

        width: 45%;

    }

    
}

@media (max-width: 768px) {

    nav {

        display: none;
        width: 100%;

    }

    nav.active {

        display: block;

    }

    nav ul {

        flex-direction: column;
        background: #8b4513;
        padding: 20px 0;
        align-items: center;

    }

    nav ul li {

        text-align: center;
        margin: 10px 0;

    }

    .produto, .foto {

        width: 100%;

    }

    .banner {

        padding: 60px 20px;

    }

    .banner h2 {

        font-size: 1.8rem;

    }

    .banner p {

        font-size: 1rem;

    }

    .informacoes h2 {

        font-size: 2rem;

    }

    .contato h2 {

        font-size: 2rem;

    }

    form {

        width: 100%;
        padding: 0 10px;

    }

}

@media (max-width: 480px) {

    header h1 {

        font-size: 1.5rem;

    }

    nav ul li a {

        padding: 8px;
        font-size: 0.9rem;

    }

    .banner h2 {

        font-size: 1.5rem;

    }

    .banner p {

        font-size: 0.9rem;

    }

    .produto h3 {

        font-size: 1rem;

    }

    .informacoes p {

        font-size: 1rem;

    }

    form button {

        font-size: 0.9rem;
        padding: 0.6rem;

    }

}