/* Estilos Globais */
body {
    /*padding-top: 56px;*/
    /* Altura do navbar fixo */
    font-family: "Noto Sans", sans-serif;
    transition: 0.3s;

}

h1, h2, h3, h4, h5, h6 {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
}

/* 1. Topo com logo e menu */
.top-nav {
    /* Nenhum estilo aninhado especÃ­fico necessÃ¡rio por enquanto */
}

/* 2. Header Cover */
.header-cover {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/img/hero.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh !important;
    color: white;

}

.shadow-text {
    color: #FFFFFF;    
    text-shadow: 4px 3px 0 #000d06;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {    
    box-shadow: none;
}

.btn-primary {
    background-color: #5d7d00;
    --bs-btn-border-color: #5d7d00;
}
.btn-primary:hover {
    background-color: #9fd843;
    border: #5d7d00;
}

.text-hero {
    color: #5d7d00;
}

.header2-style .current-menu-item {
    color: #ffffff !important;
    background-color: #5d7d00 !important;
}


.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand img {
    background-color: transparent !important;
}

/* 3. Header com carrossel */
.header-carousel-section .carousel-item,
.header-carousel-section .carousel-item img {
    height: 60vh;
    object-fit: cover;
}

/* 4. Features Section */
.features-section .feature-item {
    padding: 20px;
    transition: transform 0.3s;
}

.features-section .feature-item:hover {
    transform: translateY(-10px);
}

/* 5. Testimonial Carousel Section */



.testimonial-carousel-section .testimonial-slider .testimonial-item {
    padding: 0 15px;
}

.testimonial-carousel-section .testimonial-slider .testimonial-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto;
}

.testimonial-carousel-section .slick-dots li button:before {
    font-size: 12px;
    color: #007bff;
}

.testimonial-carousel-section .slick-dots li.slick-active button:before {
    color: #0056b3;
}

/* 6. Faq Section */
.faq-section .accordion-button:not(.collapsed) {
    color: #0c63e4;
    background-color: #e7f1ff;
}

/* 7. CTA Section */
.cta-section {
    /* Estilos diretos no HTML via classes Bootstrap */
}

/* 8. Image and text side by side */
.image-text-section,
.form-section,
.table-price-section {
    /* Estilos diretos no HTML via classes Bootstrap */
}

/* 11. Gallery image carousel section */
.gallery-carousel-section .gallery-slider .slick-slide {
    padding: 0 10px;
}

.gallery-carousel-section .gallery-slider img {
    height: 250px;
    /* Altura fixa para todas as imagens da galeria */
    width: 100%;
    object-fit: cover;
}

/* 12. Gallery masonry section */
.gallery-masonry-section {
    /* O JavaScript do Masonry cuida do layout */
}

.gallery-masonry-section .card img {
    height: 300px;
    /* VocÃª pode ajustar esta altura */
    object-fit: cover;
}

/* 13. Pricing section */
.pricing-section .card {
    border: none;
    border-radius: 1rem;
    transition: all 0.2s;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

.pricing-section .card-body ul {
    min-height: 150px;
}

.pricing-section .card:hover {
    margin-top: -.25rem;
    margin-bottom: .25rem;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.3);
}

.pricing-section .card-price {
    font-size: 3rem;
    margin: 0;
}

.pricing-section .card-price .period {
    font-size: 0.8rem;
}

/* 14. Jumbotron Section */
.jumbotron-section {
    /* Estilos diretos no HTML via classes Bootstrap */
}

/* 15. Contact Us Section */
.contact-us-section iframe {
    border-radius: 0.25rem;
}

/* 16. About Section */
.about-section {
    /* Estilos diretos no HTML via classes Bootstrap */
}

.about-section h2 {
    margin-bottom: 35px;
}

.about-section img {
    object-fit: cover;
	max-height: 500px;
}

/* Footer AvanÃ§ado */
.footer-advanced {
    background-color: #1a253c;
    color: #adb5bd;
}

.footer-advanced a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-advanced a:hover {
    color: #ffffff;
}

/* --- Feed / Product Grid Styles (Migrated) --- */
.product-item {
    position: relative;
    cursor: pointer;
    /*aspect-ratio: 1 / 1;*/
    overflow: hidden;
    border: solid 3px #ccc;
}

.product-item img {
    width: 100%;
    /*height: 100%;
    object-fit: cover;*/
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

/* Ensure container has some padding if needed, similar to .container in style.css */
/* Grid classes if used by bootstrap are already there, but let's ensure .product-item behaves */


/* --- Feed Block Modal Styles (from Vitrine) --- */
/* --- Estilos para o Modal do Bootstrap 5 --- */
#productModal .modal-dialog {
    max-width: 900px;
    margin: 1.75rem auto;
}

#productModal .modal-content {
    border: none;
    border-radius: 4px;
    height: 85vh;
    max-height: 550px;
}

#productModal .modal-body {
    padding: 0;
    display: flex;
}

.modal-image-col {
    flex: 0 0 60%;
    background: #000;
    height: 100%;
}

.modal-text-col {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Estilos para o Slick Slider dentro do Modal */
.product-slider-bootstrap {
    width: 100%;
    height: 500px;
}

.product-slider-bootstrap .slick-slide img {
    width: 100%;
    max-width: 450px;
    height: 100%;
    object-fit: contain;
    height: 500px;
    border-radius: 5px;
}

/* Ajustes nas setas e pontos do Slick */
.modal-image-col .slick-dots {
    bottom: 10px;
}

.modal-image-col .slick-dots li button:before {
    color: white;
}

.modal-image-col .slick-prev {
    left: 15px;
    z-index: 1;
}

.modal-image-col .slick-next {
    right: 15px;
    z-index: 1;
}

/* Botão de fechar do Bootstrap */
#productModal .btn-close {
    position: absolute;
    top: -25px;
    right: -15px;
    z-index: 1056;
    background-color: white;
    border-radius: 50%;
    padding: 0.5em;
    opacity: 0.9;
}

.product-item img {
    max-width: 100%;
    
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pagination .page-numbers.current {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
    cursor: default;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 12px 20px;
    margin: 5px;
    border: 1px solid #dee2e6;
    color: #212529;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    border-radius: 4px;
    font-weight: 500;
}

.article-featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.article-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: 'MonumentExtended-Black';
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    margin-top: -15px;
    /* Ajuste para subir um pouco */
    margin-bottom: 30px;
}

.article-featured-image {
    margin-bottom: 50px;
    border-radius: 8px;
    /* Adiciona um leve border-radius à imagem principal */
    overflow: hidden;
    /* Garante que a imagem siga o border-radius */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

/* --- Navigation Buttons --- */
.article-navigation {


    /*border-top: 1px solid #eee;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-navigation .btn-custom {
    background-color: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-navigation .btn-custom:hover {
    background-color: #000;
    color: #fff;
}

.article-navigation .btn-back {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.article-navigation .btn-back:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

#headPage {
    padding-top: 70px;
}

/* --- Media Query para o Modal no Mobile --- */
@media (max-width: 767px) {
    .product-slider-bootstrap {
        width: 100%;
        height: 300px;
    }

    .product-slider-bootstrap .slick-slide img {
        height: 300px;
    }

    #productModal .modal-dialog {
        margin: 0;
        max-width: 100%;
    }

    #productModal .modal-content {
        height: 100vh;
        max-height: 75vh;
        border-radius: 0;
    }

    #productModal .modal-body {
        flex-direction: column;
    }

    .modal-image-col {
        height: 60%;
        flex-basis: auto;
    }

    .product-slider-bootstrap .slick-slide {
        height: 100%;
    }

    .modal-text-col {
        height: 40%;
        padding: 20px;
    }

    #productModal .btn-close {
        top: 15px;
        right: 15px;
    }
}

/* Hero Video Block */
.hero-video {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-video .lead {
    color: #f0f0f0;
}

video {
    background: #000;
}

#back-to-top {
	position: absolute;
	bottom:0;
	right: 0;
	background-color: #000;
	color: #fff;
	border-radius: 50px;
	max-width: 30px;
	max-height: 30px;
}

.card-block {
	padding: 30px;
}

/* --- Feed Block Filter Bar --- */
.feed-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.feed-filter-bar .filter-btn {
    background-color: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.feed-filter-bar .filter-btn:hover {
    background-color: #333;
    color: #fff;
}

.feed-filter-bar .filter-btn.active {
    background-color: #333;
    color: #fff;
}

/* --- Feed Block Title --- */
.feed-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* --- Feed Items Container --- */
.feed-items-container {
    display: flex;
    flex-wrap: wrap;
}

.feed-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Product Item Link and Overlay --- */
.product-item-link {
    text-decoration: none;
    display: block;
}

.product-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: solid 3px #ccc;
    border-radius: 8px;
}

.product-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-item-overlay {
    opacity: 1;
}

.product-item-title {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- Feed Gallery on Single Page --- */
.feed-gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.feed-gallery img:hover {
    transform: scale(1.05);
}

/* --- Feed Block Responsive --- */
@media (max-width: 991px) {
    .feed-filter-bar .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .feed-block-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .feed-filter-bar {
        gap: 8px;
    }
    
    .feed-filter-bar .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .feed-block-title {
        font-size: 1.75rem;
    }
    
    .product-item-overlay {
        opacity: 1;
        padding: 10px;
    }
    
    .product-item-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .feed-filter-bar .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-width: 1px;
    }
}