.hero-section {
    background: linear-gradient(105deg, rgba(16, 35, 59, 0.92), rgba(27, 111, 214, 0.68)), url('https://images.pexels.com/photos/1181467/pexels-photo-1181467.jpeg?auto=compress&cs=tinysrgb&w=1920&h=800&q=80') center/cover;
    color: white;
    height: 300px;
    min-height: 50vh;
    max-height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 6rem 0;
}

/* Valori mobile come base, quelli desktop nella @media (min-width: 769px) in fondo */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.portfolio-card {
    border: none;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: none;
    height: 100%;
}

.portfolio-card:hover {
    /* transform: translateY(-10px); */
    box-shadow: none;
}

.portfolio-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.portfolio-category {
    background: linear-gradient(#1B6FD6, #1B6FD6);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #e9ecef;
}

.filter-btn {
    background: transparent;
    border: 2px solid #4facfe;
    color: #4facfe;
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(#1B6FD6, #1B6FD6);
    color: white;
    border-color: #4facfe;
}

.info-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 1rem;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.info-icon i {
    background: #EEF5FD;
    border-radius: 3px;
    padding: 1rem;
    width: 44px;
    height: 44px;
    line-height: 48px;
    border: 1px solid #C9DCEF;
}

@media (min-width: 769px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .portfolio-content {
        padding: 2rem;
    }

    .info-card {
        margin-bottom: 0;
    }
}
