/* GPC Soluções em Energia - Custom CSS */

:root {
    --primary-color: #2d5016;
    --secondary-color: #4ade80;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.hero-section {
    background: var(--gradient);
    min-height: 100vh;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/hero-bg.jpg") center/cover;
    opacity: 0.3;
    z-index: 1;
}

/* Overlay semitransparente para melhorar legibilidade */
.hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8) 0%, rgba(34, 197, 94, 0.6) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.navbar-brand small {
    font-size: 0.7rem !important;
    opacity: 0.9;
}

.hero-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-stats small {
    font-size: 0.8rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.contact-info h5 {
    color: #fff;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hero-stats h3 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-badges .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.5rem;
    }
}
