:root {
    --primary-color: #2B9348;
    --secondary-color: #FFB703;
    --accent-color: #38B000;
    --text-color: #1B4332;
    --light-text: #f8fafc;
    --success-color: #40916C;
    --warning-color: #FB8500;
    --glass-bg: rgba(43, 147, 72, 0.05);
    --glass-border: rgba(43, 147, 72, 0.1);
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Reset de estilos mais elegantes */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

.section-title {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Cursor personalizado */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: rgba(43, 147, 72, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(4px);
    mix-blend-mode: difference;
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(255, 183, 3, 0.3);
}

/* Navbar mais elegante */
.navbar {
    background: transparent;
    transition: all 0.4s ease;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.25rem !important;
    opacity: 0.9;
}

.nav-link:hover {
    opacity: 1;
}

.navbar-scrolled .nav-link {
    color: var(--text-color) !important;
}

.navbar-scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.page-section ~ .navbar .nav-link {
    color: var(--text-color) !important;
}

.page-section ~ .navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

.page-section ~ .navbar .nav-link.fendt {
    color: var(--primary-color) !important;
}

.page-section ~ .navbar .nav-link.valtra {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(27, 67, 50, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    padding: 0;
}

.logo {
    height: 70px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Botões refinados */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-machines .btn-primary,
.view-all-machines {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.featured-machines .btn-primary:hover,
.featured-machines .btn-primary:focus,
.featured-machines .btn-primary:active,
.view-all-machines:hover,
.view-all-machines:focus,
.view-all-machines:active {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Força o texto branco em todos os estados do botão */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:not(:disabled):not(.disabled):active,
.featured-machines .btn-primary,
.featured-machines .btn-primary:hover,
.featured-machines .btn-primary:focus,
.featured-machines .btn-primary:active,
.view-all-machines,
.view-all-machines:hover,
.view-all-machines:focus,
.view-all-machines:active {
    color: white !important;
}

/* Botão circular com seta para baixo */
.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down-btn:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translate(-50%, 5px);
}

.scroll-down-btn i {
    font-size: 20px;
}

/* Cards elegantes */
.card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--glass-border);
}

.card-body {
    padding: 2rem;
}

.card h3 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Seções mais limpas */
section {
    padding: 100px 0;
    position: relative;
}

.content-block {
    padding-right: 3rem;
}

.content-block h3 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lead {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Imagens e mídia */
.image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.image-wrapper img {
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-down-btn:hover {
    opacity: 1;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Animações suaves */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Links elegantes */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Links especiais do navbar */
.nav-link.fendt {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.valtra {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

.navbar-scrolled .nav-link.fendt {
    color: var(--primary-color) !important;
    opacity: 1;
}

.navbar-scrolled .nav-link.valtra {
    color: var(--secondary-color) !important;
    opacity: 1;
}

.page-section ~ .navbar .nav-link.fendt,
.page-section ~ .navbar .nav-link.valtra {
    opacity: 1;
}

.page-section ~ .navbar .nav-link.fendt {
    color: var(--primary-color) !important;
}

.page-section ~ .navbar .nav-link.valtra {
    color: var(--secondary-color) !important;
}

/* Social Media Fixed Buttons */
.social-fixed {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero .social-fixed {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.social-fixed a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(43, 147, 72, 0.9);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.social-fixed a:hover {
    transform: scale(1.1);
    background-color: rgba(30, 114, 53, 0.95);
}

.social-fixed i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .social-fixed {
        right: 10px;
    }
    
    .social-fixed a {
        width: 35px;
        height: 35px;
    }
    
    .social-fixed i {
        font-size: 16px;
    }
}

/* Responsivo */
@media (max-width: 991px) {
    .navbar {
        background: white !important;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-brand img {
        max-width: 150px;
        content: url('../images/gn2.png') !important;
    }

    .navbar-nav {
        background: white;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        color: var(--text-color) !important;
        padding: 10px 15px !important;
    }

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .navbar-toggler {
        border-color: var(--text-color);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(27, 67, 50, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-machines .card {
        margin-bottom: 20px;
    }

    .about-section .btn-primary {
        margin-bottom: 40px;
    }

    .about-section .carousel {
        margin-top: 40px;
    }

    .about-section .carousel-inner {
        margin-top: 20px;
    }

    .about-section .image-wrapper {
        margin-bottom: 30px;
    }

    .social-fixed {
        right: 15px;
    }

    .social-fixed a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        background: white !important;
        padding: 8px 0;
    }

    .navbar-brand img {
        max-width: 120px;
        content: url('../images/gn2.png') !important;
    }

    .navbar-nav {
        background: white;
        margin-top: 5px;
    }

    .nav-link {
        color: var(--text-color) !important;
        padding: 8px 15px !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .featured-machines .card-title {
        font-size: 1.25rem;
    }

    .social-fixed {
        right: 10px;
    }

    .social-fixed a {
        width: 35px;
        height: 35px;
    }

    .social-fixed i {
        font-size: 16px;
    }

    .scroll-down-btn {
        font-size: 1.5rem;
        bottom: 20px;
    }

    /* Ajustes para o carrossel em dispositivos móveis */
    .carousel-item {
        height: 300px;
    }

    .carousel-caption {
        padding: 10px;
    }

    .carousel-caption h3 {
        font-size: 1.25rem;
    }

    /* Ajustes para a seção de máquinas */
    .machine-card {
        margin-bottom: 20px;
    }

    .machine-card img {
        height: 200px;
    }

    /* Ajustes para o formulário de contato */
    .contact-form {
        padding: 20px;
    }

    .contact-info {
        padding: 20px;
        margin-top: 20px;
    }

    .about-section .btn-primary {
        margin-bottom: 30px;
        display: inline-block;
    }

    .about-section .carousel {
        margin-top: 30px;
    }

    .about-section .carousel-inner {
        margin-top: 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .featured-machines .card-title {
        font-size: 1.1rem;
    }

    .social-fixed {
        right: 5px;
    }

    .social-fixed a {
        width: 30px;
        height: 30px;
        margin-bottom: 5px;
    }

    .social-fixed i {
        font-size: 14px;
    }

    /* Ajustes para o footer */
    .footer {
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links {
        margin-bottom: 20px;
    }

    /* Ajustes para a navegação */
    .navbar-brand {
        max-width: 100px;
    }

    .nav-link {
        padding: 8px 12px !important;
    }
}

/* Landscape Mode para Smartphones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-content {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .scroll-down-btn {
        bottom: 10px;
    }

    .social-fixed {
        transform: scale(0.8) translateY(-50%);
    }
}

/* Ajustes para telas muito grandes */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .social-fixed,
    .scroll-down-btn,
    .footer {
        display: none !important;
    }

    .hero-content {
        height: auto;
        color: #000;
    }

    .hero-overlay {
        display: none;
    }
}

/* Estilos para páginas internas */
.page-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #f8fafc;
}

/* Navbar para páginas internas */
.navbar-internal {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: none;
}

.navbar-internal .nav-link {
    color: var(--text-color) !important;
}

.navbar-internal .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-internal .nav-link.fendt {
    color: var(--primary-color) !important;
}

.navbar-internal .nav-link.valtra {
    color: var(--secondary-color) !important;
}

.navbar-internal .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(27, 67, 50, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Formulário de contato */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Cards de notícias */
article.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

article.card:hover {
    transform: translateY(-5px);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

/* Links de categorias */
.list-unstyled a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.list-unstyled a:hover {
    color: var(--primary-color);
}

/* Featured Machines */
.featured-machines {
    background: linear-gradient(to bottom, var(--glass-bg), #ffffff);
    padding: 4rem 0;
    position: relative;
}

.featured-machines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.featured-machines::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.featured-machines h2 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.featured-machines h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.featured-machines .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #ffffff;
}

.featured-machines .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.featured-machines .card-img-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.featured-machines .carousel {
    height: 100%;
}

.featured-machines .carousel-inner {
    height: 100%;
    border-radius: 12px 12px 0 0;
}

.featured-machines .carousel-item {
    height: 100%;
}

.featured-machines .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s ease;
}

.featured-machines .card:hover .card-img-top {
    transform: scale(1.02);
}

.featured-machines .carousel-control-prev,
.featured-machines .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.featured-machines .carousel-control-prev {
    left: 15px;
}

.featured-machines .carousel-control-next {
    right: 15px;
}

.featured-machines .card:hover .carousel-control-prev,
.featured-machines .card:hover .carousel-control-next {
    opacity: 1;
}

.featured-machines .carousel-control-prev:hover,
.featured-machines .carousel-control-next:hover {
    background: var(--primary-color);
}

.featured-machines .carousel-control-prev-icon,
.featured-machines .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.featured-machines .card-body {
    padding: 1.5rem;
}

.featured-machines .card-title {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.featured-machines .table {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0 5px;
}

.featured-machines .table th,
.featured-machines .table td {
    padding: 8px;
    border: none;
    background: var(--glass-bg);
}

.featured-machines .table th {
    width: 40%;
    color: var(--text-color);
    font-weight: 600;
    border-radius: 6px 0 0 6px;
}

.featured-machines .table td {
    color: var(--text-color);
    border-radius: 0 6px 6px 0;
}

.featured-machines .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.featured-machines .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.featured-machines .btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

.featured-machines .btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.featured-machines .btn-success:hover {
    background-color: darken(var(--success-color), 10%);
    transform: translateY(-2px);
}

/* Used Machines */
.used-machines {
    background: linear-gradient(to bottom, var(--glass-bg), #ffffff);
    padding: 4rem 0;
    position: relative;
}

.used-machines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.used-machines::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.used-machines h2 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.used-machines h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.used-machines .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #ffffff;
}

.used-machines .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.used-machines .card-img-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.used-machines .carousel {
    height: 100%;
}

.used-machines .carousel-inner {
    height: 100%;
    border-radius: 12px 12px 0 0;
}

.used-machines .carousel-item {
    height: 100%;
}

.used-machines .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s ease;
}

.used-machines .card:hover .card-img-top {
    transform: scale(1.02);
}

.used-machines .carousel-control-prev,
.used-machines .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.used-machines .carousel-control-prev {
    left: 15px;
}

.used-machines .carousel-control-next {
    right: 15px;
}

.used-machines .card:hover .carousel-control-prev,
.used-machines .card:hover .carousel-control-next {
    opacity: 1;
}

.used-machines .carousel-control-prev:hover,
.used-machines .carousel-control-next:hover {
    background: var(--primary-color);
}

.used-machines .carousel-control-prev-icon,
.used-machines .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.used-machines .card-body {
    padding: 1.5rem;
}

.used-machines .card-title {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.used-machines .table {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0 5px;
}

.used-machines .table th,
.used-machines .table td {
    padding: 8px;
    border: none;
    background: var(--glass-bg);
}

.used-machines .table th {
    width: 40%;
    color: var(--text-color);
    font-weight: 600;
    border-radius: 6px 0 0 6px;
}

.used-machines .table td {
    color: var(--text-color);
    border-radius: 0 6px 6px 0;
}

.used-machines .description {
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.used-machines .description h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.used-machines .description p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.used-machines .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.used-machines .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.used-machines .btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

.used-machines .btn i {
    margin-right: 0.5rem;
}

/* About Section */
#sobre {
    background: linear-gradient(to bottom, var(--glass-bg), #ffffff);
    position: relative;
}

#sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

#sobre h2 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#sobre h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

#aboutCarousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#aboutCarousel .carousel-inner {
    border-radius: 12px;
    margin-top: 10px;
}

#aboutCarousel .carousel-item {
    height: 400px;
}

#aboutCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#aboutCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    padding: 10px;
    bottom: 20px;
}

#aboutCarousel .carousel-caption p {
    margin: 0;
    font-size: 0.9rem;
}

#aboutCarousel .carousel-control-prev,
#aboutCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

#aboutCarousel .carousel-control-prev {
    left: 15px;
}

#aboutCarousel .carousel-control-next {
    right: 15px;
}

#aboutCarousel:hover .carousel-control-prev,
#aboutCarousel:hover .carousel-control-next {
    opacity: 1;
}

#aboutCarousel .carousel-control-prev:hover,
#aboutCarousel .carousel-control-next:hover {
    background: var(--primary-color);
}

#aboutCarousel .carousel-control-prev-icon,
#aboutCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100%) brightness(200%);
}

#sobre .btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    margin-bottom: 20px;
}

#sobre .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#sobre .btn-primary i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    #aboutCarousel .carousel-item {
        height: 300px;
    }
    
    .about-content {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .about-section .btn-primary {
        margin-bottom: 20px;
    }

    #aboutCarousel {
        margin-top: 20px;
    }

    #aboutCarousel .carousel-inner {
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    .about-section .btn-primary {
        margin-bottom: 15px;
        display: inline-block;
    }

    #aboutCarousel {
        margin-top: 15px;
    }

    #aboutCarousel .carousel-inner {
        margin-top: 10px;
    }
}

/* Estilos para os cards de notícias */
.card .card-img-top {
    height: auto !important;
    object-fit: contain !important;
    max-height: 300px;
    width: 100%;
}

/* Ajustes responsivos para as imagens dos cards */
@media (max-width: 991.98px) {
    .card .card-img-top {
        max-height: 250px;
    }
}

@media (max-width: 767.98px) {
    .card .card-img-top {
        max-height: 200px;
    }
}
