
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

/* Estilo do Header */
header {
    background-color: #708D81;
    padding: 15px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

header h1 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}

header img {
    height: 100px;
    margin-bottom: 10px;
}

/* Slide exclusivo para a index */
.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 50px;
  flex-wrap: wrap; /* Para responsividade */
}

.grid a {
  flex: 1 1 30%;
  text-align: center;
}

.grid img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.grid img:hover {
  transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #007BFF;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
    padding: 5px;
}

/* Estilo das Seções de Conteúdo */
.content-section {
    margin: 20px auto;
    max-width: 90%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.receita, .dica {
    margin-bottom: 20px;
    font-size: 1em;
}

.receita h3, .dica h3 {
    font-size: 1.2em;
    color: #2e7d32;
}

.receita p, .dica p {
    margin-bottom: 10px;
}

.receita ul, .receita ol {
    margin-left: 15px;
    padding-left: 15px;
}

.receita img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    display: block;
    object-fit: cover;
}

/* Estilo da Seção do Blog */
.blog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
}

.blog h2 {
    grid-column: 1/-1;
    font-size: 2em;
    color: #2E8B57;
    text-align: center;
    margin-bottom: 20px;
}

.blog .post {
    background-color: #F7FAF9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blog .post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.blog .post h3 {
    font-size: 1.3em;
    color: #2E7D32;
    margin-bottom: 10px;
}

.blog .post p {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

.blog .post img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.blog .post .btn {
    background-color: #2E8B57;
    color: #fff;
    padding: 8px 18px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog .post .btn:hover {
    background-color: #76b788;
    transform: scale(1.05);
}

.blog .post .btn:active {
    transform: scale(0.95);
}




/* Estilo do Botão */
.btn {
    display: inline-block;
    background-color: #2E8B57;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.btn:hover {
    background-color: #76b788;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: scale(0.95);
}

/* Estilo do Rodapé */
footer {
    background-color: #708D81;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
    header img {
        height: 80px;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.4em;
    }
    
    .content-section {
        padding: 10px;
    }
    
    .btn {
        font-size: 1em;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .grid {
        flex-direction: column;
        align-items: center;
    }

    .grid a {
        flex: none;
        width: 100%;
        max-width: 90%;
    }

    .grid img {
        max-width: 100%;
    }
}