/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}
header {
    width: 100%;
    height: 60vh;
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                url('https://user-images.strikinglycdn.com/res/hrscywv4p/image/upload/f_auto,q_auto,w_4096/unsplashcom/photo-1579781403261-cbc8f5010479') center/cover;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    color: white;
    margin-bottom: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
header h1 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.3rem; /* Tamanho base */
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.header-content {
    max-width: 80%;
    margin: 0 auto;
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

header p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
    width: 65%;
}

header h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Navegação */
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    position: absolute;
    top: 20px;
    right: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    background-color: None;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.link
{
    border-radius: 13px;
    padding: 13px;
    background-color: #ffd76a;
    color: #403d37;
    margin-bottom: 90px;
}
.link:hover
{
    transition: all 0.4 ease;
    cursor: pointer;
}

/* Slider */
.slider {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    position: relative;
    margin: 0px, 0px, 30px, 0px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    display: flex;
    width: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide .text {
    width: 100%;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    
}
.slide .txt 
{
    margin-bottom: 60px;
}

.slide h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #444444;
}

.slide p {
    font-size: 1rem;
    color: #555;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.controls button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.controls button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
main
{
    background-color: rgb(248, 248, 248);
    min-width: 250px;
    max-width: 1000px;
    padding: 25px;
    border-radius: 0px 0px 10px 10px;
    margin: auto; 
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.349); 
    
}
.intro p
{
    margin: 10px;
    text-indent: 10px;
    line-height: 30px;
}
.negocio {
    display: flex;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
    flex-direction: row; /* Garante que a imagem fique à esquerda e o texto à direita */
}

.negocio:nth-child(even) {
    flex-direction: row-reverse; /* Apenas para os blocos pares: imagem à direita e texto à esquerda */
}

.negocio img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.negocio p {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    color: #333;
}

.negocio:nth-child(2) {
    flex-direction: row-reverse;
}
/* Responsividade */
@media (max-width: 768px) {
    header {
        height: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header h1 {
        font-size: 1.5rem; 
        top: 10px;
        left: 10px;
    }

    .header-content {
        max-width: 90%;
        padding: 10px;
    }

    nav {
        gap: 10px;
        position: static;
        justify-content: center;
    }

    .slide .text h2 {
        font-size: 1.5rem;
    }

    .slide .text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1rem; 
        top: 5px;
        left: 5px;
    }

    .slide .text h2 {
        font-size: 1.2rem;
    }

    .slide .text p {
        font-size: 0.8rem;
    }
}