:root {
    --primary: #36a451;
    --primary-overlay: rgba(54, 164, 81, 0.82);
    --light-green: #a8d8b3;
    --mid-green: #9bd3ae;
    --white: #ffffff;
}

/* Base */
body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--primary);
}

.navbar-brand,
.nav-link {
    color: var(--white) !important;
    font-weight: 500;
}

.nav-link:hover {
    opacity: 0.85;
}

/* Section Title */
.section-title {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* underline bar */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: var(--light-green);
    border-radius: 2px;
}

/* Partner Strip */
.partner-strip {
    background-color: var(--light-green);
    padding: 2rem 0;
}

.partner-strip img {
    max-height: 60px;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 0;
}

.footer a{
    color: var(--white);
    text-decoration: none;
}

.footer a:hover{
    text-decoration: underline;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* ===== PRODUCTS SECTION ===== */

.products-section {
    position: relative;
    padding: 5rem 0;
    background-image: url("../images/projectos1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border: 1.5px solid var(--primary-overlay);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.products-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(128,128,128,0.65);
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Overlay */
.product-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--primary-overlay);
    padding: 1rem;
    text-align: center;
    transition: background 0.3s ease;
}

.product-card:hover .product-overlay {
    background: rgba(54, 164, 81, 0.92);
}

.product-overlay h3 {
    margin: 0;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* Responsive */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Accordion Styling */
.accordion-button {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-green);
    color: #1e5f30;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
    padding: 14px 18px;
    transition: all 0.2s ease;
    box-shadow: none;
}

/* hover effect */
.accordion-button:hover {
    background: rgba(255,255,255,1);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-green);
    color: #1e5f30;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background: rgba(255,255,255,0.95);
}

.products-section .container {
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--primary-overlay);
    border-radius: 14px;
    aspect-ratio: 1 / 1;
}

/* ===== INDUSTRIAL GALLERY ===== */

.industrial-gallery{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:35px;
    margin-top:40px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:10px;
    border:1.5px solid var(--primary-overlay);
    background:#000;
}

.gallery-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

/* subtle zoom */
.gallery-item:hover img{
    transform:scale(1.08);
}

/* caption */
.gallery-caption{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:14px;
    background:linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
    color:#fff;
    font-weight:600;
    letter-spacing:.5px;
}

/* responsive */

@media (max-width:992px){
    .industrial-gallery{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:600px){
    .industrial-gallery{
        grid-template-columns:1fr;
    }
}

.section-subtitle{
    margin-top:18px;
    font-size:18px;
    color:#ffffff;
    opacity:0.9;
    letter-spacing:.4px;
    text-shadow:0 2px 6px rgba(0,0,0,0.5);
}

/* ===== INFO SECTION ===== */
/* ===== INFO SECTION ===== */

.info-section{
    background:#ffffff;
    padding:70px 0;
}

.info-title{
    color:var(--primary);
    font-weight:700;
    margin-bottom:20px;
}

.info-list{
    list-style:none;
    padding:0;
}

.info-list li{
    padding:8px 0;
    border-bottom:1px solid rgba(0,0,0,0.06);
    font-size:16px;
}

.info-list a{
    color:var(--primary);
    font-weight:500;
    text-decoration:none;
}

.info-list a:hover{
    text-decoration:underline;
}


/* ===== CONTACT PANEL ===== */

.contact-panel{
    margin:auto;
    max-width:720px;
    padding:28px;
    border:1.5px solid var(--primary-overlay);
    border-radius:12px;
    background:#f7faf8;
}

.contact-panel h4{
    color:var(--primary);
    font-weight:600;
    margin-bottom:18px;
}

.contact-item{
    font-size:17px;
    margin:8px 0;
}

.contact-item i{
    color:var(--primary);
    margin-right:8px;
    font-size:18px;
}

.contact-item a{
    color:var(--primary);
    text-decoration:none;
}

.contact-item a:hover{
    text-decoration:underline;
}

.contact-item a:hover{
    text-decoration:underline;
}

/* ===== ABOUT SECTION ===== */

.about-section{
    background:#ffffff;
    padding:70px 0;
}

.about-text{
    font-size:17px;
    line-height:1.7;
    color:#333;
}

.about-text p{
    margin-bottom:18px;
}

.about-highlight{
    font-weight:700;
    color:var(--primary);
}

.about-image{
    max-width:420px;
    width:100%;
    border-radius:10px;
    border:1.5px solid var(--primary-overlay);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* ===== MAP SECTION ===== */

.map-section{
    background:#ffffff;
    padding:70px 0;
    border-top:1px solid rgba(0,0,0,0.05);
}

.map-container,
.location-image{
    height:360px;              /* controls final size */
    border-radius:12px;
    overflow:hidden;
    border:1.5px solid var(--primary-overlay);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition: transform .25s ease, box-shadow .25s ease;
}

.map-container:hover,
.location-image:hover{
    transform: translateY(-4px);
    box-shadow:0 14px 32px rgba(0,0,0,0.25);
}

.map-container iframe{
    width:100%;
    height:100%;
    border:0;
}

.location-image{
    width:100%;
    height:360px;              /* same height as map */
    object-fit:cover;          /* prevents distortion */
    border-radius:10px;
    border:1.5px solid var(--primary-overlay);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    margin-bottom:15px;
}

.location-address{
    font-weight:500;
    margin-top:14px;
    font-size:16px;
    color:#333;
}

.location-address i{
    color:var(--primary);
    margin-right:6px;
}

.map-section .row > div{
    margin-bottom:20px;
}


/* ===== HERO SECTION ===== */

.hero{
    background:var(--light-green);
    padding:25px 0; /* smaller height */
    border-bottom:1px solid rgba(0,0,0,0.06);
}

.hero h1{
    color:var(--primary);
    font-weight:700;
    font-size:34px;
    margin-bottom:10px;
}

.hero p{
    max-width:720px;
    margin:auto;
    font-size:17px;
    line-height:1.5;
    color:#ffffff; /* white text */
}

/* ===== CATALOG DOWNLOAD ===== */

.catalog-download{
    margin-top:10px;
}

.catalog-download a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    font-weight:600;
    color:#c62828;
    border:1.5px solid rgba(198,40,40,0.6);
    border-radius:10px;
    background:#fff6f6;
    text-decoration:none;
    transition:all .2s ease;
}

.catalog-download a:hover{
    background:#f8d7da;
    transform:translateY(-2px);
}

.catalog-download i{
    font-size:18px;
    color:#c62828;
}

/* ===== CATALOG IMAGE ===== */

.catalog-image{
    max-width:720px;
    width:100%;
    border-radius:10px;
    border:1.5px solid var(--primary-overlay);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition: transform .25s ease, box-shadow .25s ease;
}

.catalog-image:hover{
    transform: translateY(-4px);
    box-shadow:0 14px 32px rgba(0,0,0,0.25);
}