.portfolio-hero {
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.95)), url('../bg.jpeg') center/cover;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.portfolio-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.portfolio-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.portfolio-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
    opacity: 0.9;
}

.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.portfolio-grid h2 {
    text-align: center;
    color: var(--blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    grid-column: 1 / -1;
}

.portfolio-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.portfolio-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.over-contact {
    margin-top: 0 !important;
}

/* Background images for each item */
.financial {
    background: url('../imgs/finance.webp') center/cover;
}

.kredit {
    background: url('../imgs/credit.webp') center/cover;
}

.transport {
    background: url('../imgs/transport.webp') center/cover;
}

.sport {
    background: url('../imgs/sport.webp') center/cover;
}

.luftfahrt {
    background: url('../imgs/air.webp') center/cover;
}

.real-estate {
    background: url('../imgs/real.webp') center/cover;
}

.altersvorsorge {
    background: url('../imgs/old.webp') center/cover;
}

.healthcare {
    background: url('../imgs/health.webp') center/cover;
}

@media screen and (min-width: 1200px) {
    .portfolio-hero {
        padding: 6rem 2rem;
    }

    .portfolio-hero h1 {
        font-size: 3.5rem;
    }

    .portfolio-hero p {
        font-size: 1.25rem;
    }

    .portfolio-grid {
        padding: 4rem 2rem;
    }

    .portfolio-grid h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .portfolio-items-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .portfolio-item {
        height: 250px;
    }

    .portfolio-content h3 {
        font-size: 1.25rem;
    }
} 