/* Stili generali */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(1 151 81 / 70%), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}

/* Feature box */
.feature-box {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card hover effect */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.btn-primary {
    background-color: #2e8b57;
    border-color: #2e8b57;
}

.btn-primary:hover {
    background-color: #1e7145;
    border-color: #1a6b40;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Form controls */
.form-control:focus {
    border-color: #2e8b57;
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(46, 139, 87, 0.1);
    color: #2e8b57;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    h1.display-3 {
        font-size: 2.5rem;
    }
    
    h1.display-4 {
        font-size: 2rem;
    }
}

/* Bottoni */
.btn-primary {
    background-color: #2e8b57;
    border-color: #2e8b57;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e7145;
    border-color: #1a6b40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animazioni */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Colori del tema verde */
.text-primary {
    color: #2e8b57 !important;
}

.bg-primary {
    background-color: #2e8b57 !important;
}

.border-primary {
    border-color: #2e8b57 !important;
}

/* Navbar */
.navbar-dark {
    background-color: #238160 !important;
}

.nav-link.active {
    color: #fff !important;
    background-color: rgba(46, 139, 87, 0.5);
    border-radius: 4px;
}

/* Card headers */
.card-header.bg-primary {
    background-color: #2e8b57 !important;
}

/* Icone */
.fa-2x.text-primary, 
.fa-3x.text-primary {
    color: #2e8b57 !important;
}

/* Link */
a {
    color: #2e8b57;
}

a:hover {
    color: #1a6b40;
}