/* Estilos globais */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('crbst_PI5Send26.jpg');
    background-color: #ffffff;
    background-repeat: repeat;
    color: #333;
}

.container {
    width: 100%;
    max-width: 800px; /* Largura máxima do site original */
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .logo {
    max-width: 100px;
    margin-bottom: 10px;
}

header h1 {
    color: #000000;
    font-size: 23px;
    margin: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    background-color: #d0d0d0;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

nav ul li a img {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

/* Main Content */
main {
    padding: 20px 0;
}

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

.hero p {
    font-style: italic;
    font-size: 16px;
    color: #404040;
}

.qualities {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #ffffff, #e8e8e8);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

.quality-item {
    display: flex;
    align-items: center;
    margin: 10px;
    width: calc(50% - 20px); /* Two items per row on larger screens */
    box-sizing: border-box;
}

.quality-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

.quality-item h3 {
    font-size: 19px;
    color: #971e1d;
    margin: 0;
}

.quality-item:first-child h3 {
    color: #8f191a;
}

.content-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #5b5b5b, #2c2c2c);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    color: #c0c0c0;
}

.content-blocks .block {
    width: calc(50% - 10px); /* Two blocks per row on larger screens */
    box-sizing: border-box;
    margin-bottom: 20px;
}

.content-blocks .block h2 {
    font-size: 19px;
    color: #ffffff;
    margin-top: 0;
}

.news-search {
    margin-bottom: 30px;
    text-align: center;
}

.news h2 {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 10px;
}

.search {
    width: 100%;
    background: linear-gradient(to bottom, #5b5b5b, #2c2c2c);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    color: #c0c0c0;
}

.search label {
    font-weight: bold;
    color: #ffffff;
    margin-right: 10px;
}

.search input[type="text"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: calc(100% - 80px); /* Adjust width for button */
    margin-right: 5px;
}

.search button {
    background-color: #990000;
    color: #ffffff;
    border: 1px solid #660000;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
}

.search p {
    margin-top: 15px;
    font-size: 12px;
}

/* Footer */
footer {
    background-color: #e8e8e8;
    padding: 15px 0;
    text-align: center;
    color: #000000;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

/* Responsividade */
@media (max-width: 768px) {
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .quality-item,
    .content-blocks .block {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 18px;
    }

    .quality-item h3 {
        font-size: 16px;
    }

    .content-blocks .block h2 {
        font-size: 16px;
    }

    .search input[type="text"] {
        width: calc(100% - 70px);
    }
}




/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('crbst_PI5Send26.jpg');
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    max-height: 80px;
}

header h1 {
    margin: 0;
    font-size: 2em;
    color: #a52623;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Conteúdo Principal */
main {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

/* Rodapé */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Seções */
.company-info, .products-services, .structure-info, .human-resources, .contact-info {
    padding: 20px;
}

.mission-contact {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.mission, .contact-details {
    width: 48%;
}

.products-list ul {
    list-style: none;
    padding: 0;
}

.products-list li {
    margin-bottom: 10px;
}

.machines-info .machine-image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

.job-opportunities .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a52623;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.map-container {
    margin-top: 20px;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header h1 {
        margin-top: 10px;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .mission-contact {
        flex-direction: column;
    }

    .mission, .contact-details {
        width: 100%;
        margin-bottom: 20px;
    }
}




/* Estilos para o cabeçalho */
header {
    background-color: #f8f8f8; /* Cor de fundo clara */
    border-bottom: 1px solid #e0e0e0; /* Linha sutil na parte inferior */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sombra suave */
}

header .container {
    padding: 10px 20px; /* Ajuste do padding */
}

header .logo {
    max-height: 70px; /* Ajuste do tamanho do logo */
    margin-right: 15px; /* Espaçamento à direita do logo */
}

header h1 {
    font-size: 1.8em; /* Ajuste do tamanho da fonte do título */
    color: #333; /* Cor do texto mais escura */
    text-transform: uppercase; /* Texto em maiúsculas */
    letter-spacing: 1px; /* Espaçamento entre letras */
}

nav ul li a {
    color: #555; /* Cor do texto dos links */
    padding: 5px 10px; /* Padding nos links */
    transition: color 0.3s ease; /* Transição suave na cor */
}

nav ul li a:hover {
    color: #a52623; /* Cor ao passar o mouse */
}

/* Media Queries para o cabeçalho */
@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* Empilha logo e título */
        text-align: center;
    }

    header h1 {
        font-size: 1.5em;
        margin-top: 10px;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 5px 0; /* Espaçamento vertical para itens de menu */
    }
}

@media (max-width: 480px) {
    header .logo {
        max-height: 50px;
    }

    header h1 {
        font-size: 1.2em;
    }
}




/* Estilos para as seções de conteúdo */
main {
    padding: 40px 0;
}

section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section h2 {
    color: #a52623;
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

section h3 {
    color: #555;
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
}

section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Estilos específicos para a seção Empresa */
.mission-contact {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens quebrem a linha */
    gap: 20px; /* Espaçamento entre os blocos */
}

.mission, .contact-details {
    flex: 1; /* Faz com que os blocos ocupem o espaço disponível */
    min-width: 280px; /* Largura mínima para os blocos */
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.contact-details p {
    margin: 5px 0;
}

/* Estilos específicos para a seção Produtos e Serviços */
.products-list ul {
    list-style: disc inside;
    margin-left: 20px;
}

.products-list li {
    margin-bottom: 5px;
}

/* Estilos específicos para a seção Estrutura */
.machines-info {
    text-align: center;
    margin-top: 30px;
}

.machines-info .machine-image {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Estilos específicos para a seção Recursos Humanos */
.human-resources .job-opportunities {
    text-align: center;
    margin-top: 30px;
}

.human-resources .button {
    background-color: #007bff; /* Cor azul para o botão de vagas */
    padding: 24px 50px;
    font-size: 2.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.human-resources .button:hover {
    background-color: #0056b3;
}

/* Estilos específicos para a seção Contato */
.contact-info .map-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden; /* Garante que o iframe não vaze */
}

.contact-info iframe {
    display: block; /* Remove espaço extra abaixo do iframe */
}

/* Rodapé */
footer {
    background-color: #222; /* Cor de fundo mais escura */
    color: #ccc;
    padding: 20px 0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .mission, .contact-details {
        width: 100%;
    }
}




.hero-text {
    font-size: 4em; /* Tamanho da fonte aumentado para telas de computador */
    font-weight: bold;
    color: #a52623; /* Cor para destacar */
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 1.2em;
    }
}




.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
}

header .container {
    display: flex;
    flex-direction: row; /* Logo e info lado a lado */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite quebra de linha em telas menores */
}

header .logo {
    margin-bottom: 0; /* Remove margem inferior do logo */
    margin-right: 20px; /* Espaçamento entre logo e texto */
}

header h1 {
    margin: 0;
    font-size: 2em; /* Ajuste para o tamanho do título */
}

.phone-number {
    margin: 5px 0 0 0;
    font-size: 1.2em;
    color: #555;
    font-weight: bold;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .header-info {
        align-items: center;
        margin-left: 0;
    }

    header h1 {
        font-size: 1.8em;
    }

    .phone-number {
        font-size: 1em;
    }
}




.address-text {
    color: #333; /* Cor escura para o texto do endereço */
    font-weight: bold;
    font-size: 1.1em;
}




.machine-image {
    width: 20%; /* 1/5 do tamanho original */
    height: auto;
    display: block; /* Para garantir que a largura seja aplicada corretamente */
    margin: 10px auto; /* Centralizar as imagens */
}


