/* ===== GREENNEXUS SHARED STYLES ===== */

/* --- CSS Variables --- */
:root {
    --primary-blue: #0f2c59;
    --accent-green: #28a745;
    --light-gray: #f4f4f4;
    --text-dark: #333;
    --white: #ffffff;
}

/* --- Reset --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo span {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.cta-btn {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: var(--accent-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 5px;
}

/* --- FOOTER --- */
footer {
    background-color: #0a1e3d;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

footer a {
    color: #28a745;
    transition: color 0.3s;
}

footer a:hover {
    color: #34ce57;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    font-size: 30px;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- Mobile Responsive (Shared) --- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    .nav-links a:first-child {
        margin-left: 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
}
