/* ================================================== */
/* GREEN ENERGY SECTION - Custom Styles */
/* ================================================== */

/* Main Section */
#section-green-energy {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Dark Overlay */
.green-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 5, 19, 0.83) 0%, rgba(23, 34, 40, 0.84) 100%);
    z-index: 0;
}

#section-green-energy .container {
    position: relative;
    z-index: 1;
}

/* Content Box */
.green-content-box {
    padding: 5px 0;
}

.green-content-box h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 20px;
}

.green-content-box .lead {
    font-size: 22px;
    color: #005aaa;
    font-weight: 600;
    margin-bottom: 25px;
}

.green-content-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

/* Stats Row - Minimalistički Profesionalni Stil */
.green-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.stat-box:last-child {
    border-right: none;
}

.stat-box:hover {
    background: rgba(115, 189, 131, 0.1);
}

.stat-box:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #005aaa;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-box:hover:after {
    transform: scaleX(1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: translateY(-5px);
}

.stat-icon i {
    font-size: 48px;
    color: #005aaa;
}

.stat-number {
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    line-height: 1.4;
}

/* Image Container */
.green-image-container {
    position: relative;
    padding: 40px;
}

.green-image-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.green-hover-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.green-image-box:hover .green-hover-image {
    transform: scale(1.15);
}

/* Green Badge - Sa Slikom */
.green-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6),
                0 0 0 8px rgba(255, 255, 255, 0.95),
                0 0 0 12px rgba(115, 189, 131, 0.4);
    animation: pulse-badge 3s ease-in-out infinite;
    z-index: 10;
    transition: all 0.4s ease;
}

.green-badge:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                0 0 0 10px rgba(255, 255, 255, 0.95),
                0 0 0 16px rgba(115, 189, 131, 0.6);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6),
                    0 0 0 8px rgba(255, 255, 255, 0.95),
                    0 0 0 12px rgba(115, 189, 131, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
                    0 0 0 10px rgba(255, 255, 255, 0.95),
                    0 0 0 16px rgba(115, 189, 131, 0.6);
    }
}

.badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 37%;
}

/* Responsive */
@media (max-width: 991px) {
    #section-green-energy {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .green-content-box {
        padding: 20px 0;
        margin-bottom: 40px;
    }
    
    .green-content-box h2 {
        font-size: 36px;
    }
    
    .green-image-container {
        padding: 20px;
    }
    
    .green-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-box {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .stat-box:nth-child(2n) {
        border-right: none;
    }
    
    .stat-box:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    #section-green-energy {
        padding: 60px 0;
    }
    
    .green-content-box {
        margin-bottom: 30px;
    }
    
    .green-content-box h2 {
        font-size: 28px;
    }
    
    .green-content-box .lead {
        font-size: 18px;
    }
    
    .green-stats-row {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }
    
    .stat-box {
        padding: 30px 15px;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .stat-box:nth-child(2n) {
        border-right: none;
    }
    
    .stat-box:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .green-badge {
        width: 100px;
        height: 100px;
        bottom: 10px;
        right: 10px;
    }
}
