/* Estilos Gerais */
.social-section {
    width: 100%;
    margin: 0 auto;
}

.social-container {
    display: flex;
    min-height: 300px; /* Altura mínima da seção */
}

/* Coluna das Redes Sociais */
.social-column {
    flex: 1;
    background-color: #f5f5f5; /* Cinza claro */
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-content {
    max-width: 500px;
    width: 100%;
}

.section-title {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.8);
}

.social-item:hover {
    transform: translateX(10px);
    background-color: #fff;
    color: #000000;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: #b91217;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color:#ffffff;
    font-size: 20px;
}

.social-label {
    font-size: 18px;
    font-weight: 500;
}

/* Coluna do Logo */
.logo-column {
    flex: 1;
    background-color: #b91217; /* Vermelho Agritech */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.logo-container {
    max-width: 300px;
    width: 100%;
}

.logo-img {
    width: 100%;
    height: auto;
    
}

/* Responsividade */
@media (max-width: 992px) {
    .social-container {
        flex-direction: column;
    }
    
    .social-column, .logo-column {
        flex: none;
        width: 100%;
    }
    
    .logo-column {
        order: -1; /* Coloca o logo em cima em mobile */
        min-height: 200px;
    }
    
    .social-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }
    
    .social-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .icon-wrapper {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Efeito hover para o botão */
.dealers-button:hover {
    background-color: rgb(114, 3, 6);
}

/* Responsividade */
@media (max-width: 768px) {
    .dealers-section {
        height: 250px;
    }

    .dealers-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Estilos Gerais */
.opportunities-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Cabeçalho */
.section-header {
    margin-bottom: 40px;
}

.header-icon {
    margin-bottom: 20px;
}

.highlight {
    color: #b91217;
}

/* Container dos Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Cards */
.opportunity-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.opportunity-card:hover {
    transform: translateY(-5px);
}

/* Imagem em largura total */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.card-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.opportunity-card:hover .hover-img {
    opacity: 1;
}

.opportunity-card:hover .default-img {
    opacity: 0;
}

/* Conteúdo do Card */
.card-content {
    padding: 20px;
    text-align: left;
    border: 1px solid #eee;
    border-top: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    text-decoration: none;
    /* Garante que títulos não sejam sublinhados */
}

.card-text {
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    /* Remove sublinhado dos parágrafos */
}

/* Link de ação - apenas este terá sublinhado no hover */
.card-action {
    margin-top: auto;
    display: flex;
    align-items: center;
    color: #b91217;
    font-weight: 500;
    text-decoration: none;
    /* Remove sublinhado padrão */
}

.card-action:hover {
    text-decoration: underline;
    /* Adiciona sublinhado apenas no hover */
}

.card-action i {
    margin-right: 8px;
}

/* Botão */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #b91217;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: rgb(114, 3, 6);
    color: #ffffff;
    text-decoration: none;
    /* Garante que o botão não fique sublinhado */
}

/* Responsividade */
@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}


/* Estilos Gerais */
.content-section {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

/* Coluna de Texto */
.text-column {
    flex: 1;
    min-width: 300px;
}

.texto-video {
    margin-top: 90px;
}

.background-image {
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    margin-bottom: 30px;
}

.text-block {
    margin-bottom: 25px;
}

.highlight {
    color: #993300;
}

.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

/* Coluna de Vídeo */
.video-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.responsive-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0 20px;
    width: 100%;
}

/* Redes Sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}

.social-icon {
    color: #fff;
    background-color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    ;
}

.social-icon:hover {
    background-color: rgb(117, 1, 1);
    transform: translateY(-3px);
    color: #ffffff;
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background-color: #e4405f;
}

.youtube {
    background-color: #cd201f;
}

/* Responsividade */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }

    .text-column,
    .video-column {
        width: 100%;
    }

    .background-image {
        background-position: center;
    }
}

.two-column-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas de largura igual */
    gap: 30px;
    /* Espaço entre colunas */
    margin: 20px 0;
}

/* Responsividade - volta para 1 coluna em mobile */
@media (max-width: 768px) {
    .two-column-text {
        grid-template-columns: 1fr;
    }
}


 /* Estilos simplificados */
 .image-gallery {
    padding: 20px 0;
    margin: 30px 0;
    width: 100%;
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.image-item {
    flex: 1;
    max-width: 50%;
}

.main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.main-img:hover {
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
        gap: 20px;
    }

    .image-item {
        max-width: 100%;
    }
}






/* Estilos Gerais */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-icon {
    margin-bottom: 15px;
}

.section-title {
    color: #b91217;
    font-size: 32px;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #b91217;
}

/* Linha do Tempo */
.timeline-container {
    position: relative;
    padding-left: 30px;
}

.timeline-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 9px;
    height: 100%;
    width: 2px;
    background-color: #b91217;
}

/* Artigos - Altura fixa de 300px */
.news-article {
    position: relative;
    margin-bottom: 40px;
    height: 300px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 20px;
    width: 20px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: #b91217;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #b91217;
}

.article-content {
    display: flex;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-article:hover .article-content {
    transform: translateY(-5px);
}

/* Imagem proporcional à altura do artigo */
.article-image {
    width: 40%;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-article:hover .article-img {
    transform: scale(1.05);
}

.article-body {
    padding: 25px;
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.timeline-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
}

.article-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.3;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #b91217;
}

.article-meta {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.article-meta i {
    margin-right: 5px;
    color: #b91217;
}

.article-actions {
    margin-top: auto;
    padding-top: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #b91217;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #9a0f14;
    text-decoration: underline;
}

.read-more i {
    margin-right: 8px;
}

/* Botão Mais Notícias */
.news-footer {
    text-align: center;
    margin-top: 40px;
}

.more-news-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #b91217;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.more-news-btn:hover {
    background-color: #9a0f14;
    color: #ffffff;
}

/* Responsividade */
@media (max-width: 768px) {
    .news-article {
        height: auto;
        min-height: 300px;
    }
    
    .article-content {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .timeline-marker {
        left: -25px;
        top: 15px;
    }
    
    .timeline-container {
        padding-left: 25px;
    }
    
    .timeline-container:before {
        left: 4px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 26px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .article-image {
        height: 160px;
    }
}






/* Estilos do Carrossel */
.masthead {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 600px; /* Altura ajustável conforme necessidade */
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo do Banner */
.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: white;
    z-index: 5;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.banner-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-title span {
    color: #b91217;
    display: block;
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.banner-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #b91217;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.banner-button:hover {
    background-color: #9a0f14;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Controles de Navegação */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background-color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .banner-carousel {
        height: 400px;
    }
    
    .banner-content {
        left: 5%;
        right: 5%;
        max-width: none;
        padding: 20px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .banner-carousel {
        height: 350px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}