﻿
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap');

:root {
    --green-primary: #2ecc71;
    --green-secondary: #27ae60;
    --green-light: #a8e6cf;
    --green-dark: #1e8449;
    --eco-blue: #3498db;
}

.header .topbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(5px);
    min-height: 45px !important;
    padding: 6px 0 !important;
    transition: all 0.2s ease;
}

.topbar .topbar-item {
    padding: 4px 12px !important;
}

.topbar .btn {
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    color: white;
    border-radius: 18px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.2);
}

    .topbar .btn:hover {
        background: linear-gradient(135deg, #27ae60, #229954);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
        color: white;
    }

.topbar-nav .nav-link {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.05));
    color: var(--green-primary);
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.15);
    transition: all 0.3s ease;
}

    .topbar-nav .nav-link:hover,
    .topbar-nav .nav-item.active .nav-link {
        background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
        color: white;
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
        transform: translateY(-2px);
    }

.home-page .particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    overflow: hidden;
}

.home-page .particle {
    position: absolute;
    background: var(--green-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particles 12s infinite linear;
    will-change: transform;
}

    .home-page .particle.leaf {
        width: 6px;
        height: 6px;
        background: var(--green-primary);
        border-radius: 50% 0;
        transform: rotate(45deg);
    }

    .home-page .particle.energy {
        width: 3px;
        height: 3px;
        background: var(--eco-blue);
        box-shadow: 0 0 6px var(--eco-blue);
    }

@keyframes float-particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-50px) rotate(180deg);
        opacity: 0;
    }
}

.home-page .hero-banner-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(46, 204, 113, 0.1) 0%, transparent 40%), radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 40%);
    animation: eco-pulse 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes eco-pulse {
    0%, 100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

.card-custom {
    transition: box-shadow 0.2s ease;
    border: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    position: relative;
}




@media (max-width: 768px) {
    .home-page .particles-container {
        display: none;
    }

    .topbar .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .header .topbar {
        min-height: 40px !important;
    }
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card-custom, .particle, .topbar .btn {
    transform: translateZ(0);
    backface-visibility: hidden;
}

body.home-page .header .topbar {
    z-index: 5 !important;
}

body.home-page .particles-container {
    z-index: 15 !important;
}
