:root {
    --primary-green: #064E3B;
    --accent-green: #10B981;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #212529;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-green) !important;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}
.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--primary-green) !important;
}
.btn-contact-nav {
    background-color: var(--primary-green) !important;
    color: var(--white) !important;
    padding: 8px 15px !important;
    border-radius: 5px;
}
.btn-contact-nav:hover {
    background-color: var(--accent-green) !important;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(6, 78, 59, 0.9), rgba(6, 78, 59, 0.8)), url('https://images.unsplash.com/photo-1556905055-8f358a7a47b2?auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #e2e8f0;
}
.btn-custom {
    background-color: var(--white);
    color: var(--primary-green);
    padding: 12px 35px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    transition: 0.3s;
    border: 2px solid var(--white);
}
.btn-custom:hover {
    background-color: transparent;
    color: var(--white);
}

/* --- About Section --- */
.about-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
    text-align: center;
}
.about-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
    font-weight: 400;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin: 4rem 0 3rem;
}
.section-header h2 {
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.line {
    width: 50px;
    height: 3px;
    background: var(--primary-green);
    margin: 15px auto;
}

/* --- Product Cards --- */
.product-card {
    border: none;
    background: #fff;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card-img-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
}
.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .card-img-top {
    transform: scale(1.1);
}
.card-body {
    padding: 1.5rem;
    text-align: center;
}
.card-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.click-hint {
    font-size: 0.8rem;
    color: var(--primary-green);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Process Steps --- */
.process-step {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
    background: white;
    transition: 0.3s;
}
.process-step:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.step-number {
    background: var(--primary-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- POPUP / MODAL & ZOOM --- */
.modal-header {
    background-color: var(--primary-green);
    color: white;
}
.btn-close {
    filter: invert(1);
}

.carousel-item {
    overflow: hidden;
    cursor: crosshair; /* Zoom cursor */
    height: 600px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Zoom logic moved to inline style for instant response */
    transition: transform 0.1s ease-out; /* Smooth zoom in/out only */
}

/* --- CAROUSEL BUTTONS (FIXED) --- */
.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 1; 
    z-index: 105; /* Must be higher than 100 to click over zoom */
    cursor: pointer;
}

/* Green Circle Design */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-green);
    padding: 20px;
    border-radius: 50%;
    background-size: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    background-color: var(--accent-green);
}

/* --- Floating Buttons --- */
.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 30px;
    border-radius: 50px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: 0.3s;
    color: #FFF;
}
.float-btn:hover {
    transform: scale(1.1);
    color: white;
}
.whatsapp-float {
    bottom: 30px;
    background-color: #25d366;
}
.instagram-float {
    bottom: 100px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* --- Footer --- */
footer {
    background: #111;
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}
footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}
footer a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}
footer a:hover {
    color: var(--primary-green);
}

/* Map Container */
.map-container iframe {
    border-radius: 12px;
}