/* Global Styles */
:root {
    --primary-color: #2C5530;
    --secondary-color: #4A7856;
    --accent-color: #8B4513;
    --text-color: #333333;
    --light-bg: #F5F5F5;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.page-header {
    margin-top: 30px; /* Ajuste o valor conforme necessário */
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding-top: 20px;  /* Ajuste o valor conforme necessário */
    padding-bottom: 20px;  /* Ajuste o valor conforme necessário */
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
    margin: 0 10px; /* Espaçamento horizontal entre os itens */
}

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

.navbar-brand img {
    height: 80px; /* Ajuste a altura da logomarca */
    max-width: 100%; /* Garante que a imagem não exceda o tamanho do contêiner */
    display: block; /* Remove possíveis margens ou espaçamentos */
}


/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    background-image: url('../images/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Destaques Section */
.destaque-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.destaque-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.destaque-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Blog Post Styles */
.blog-post-header {
    background-color: var(--light-bg);
    border-bottom: 1px solid #dee2e6;
}

.blog-post-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin: 1rem 0;
}

.blog-post-meta {
    color: #6c757d;
    margin-bottom: 1rem;
}

.blog-post-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post-body h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.blog-post-share {
    border-top: 1px solid #dee2e6;
    padding-top: 2rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color) !important;
}

.footer h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links a {
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.blog-card img {
    width: 400px !important;
    height: 280px !important;
}

img.product-image {
    width: 480px !important;
    height: 300px !important;
}

/* Efeito das bandeiras na navbar*/

.nav-item a img {
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  opacity: 0.9;
  filter: brightness(0.90);
}
.nav-item a:hover img {
  transform: scale(1.2);
  opacity: 1;
  filter: brightness(1.15);
}


@media (max-width: 768px) {
    img.product-image {
        width: 100%; /* Faz a imagem ocupar 100% da largura do contêiner */
        max-width: 400px; /* Limita a largura máxima */
        height: auto;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .destaque-card {
        margin-bottom: 2rem;
    }
}

/* Adiciona um risco divisório entre os itens no responsivo */
@media (max-width: 768px) {
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Risco entre os itens */
        padding: 10px 0; /* Espaçamento vertical para melhor aparência */
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none; /* Remove o risco do último item */
    }
}

