﻿.alumini-hero-section {
    position: relative;
    background: url('../images/Wilson_Homepage.jpg') no-repeat center center / cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-left: 5%;
    box-sizing: border-box;
    text-align: center;
}

.alumini-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.alumini-hero-section .hero-text {
    position: relative;
    z-index: 2;
}

.alumini-hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
}

.alumini-hero-section p {
    font-size: 1.25rem;
    text-align: center;
}

.alumini-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px; /* Set height for rectangular aspect */
}

.alumini-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.alumini-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 10px;
}

.alumini-card:hover img {
    transform: scale(1.05);
    filter: brightness(60%);
}

.alumini-card:hover .alumini-overlay {
    opacity: 1;
}

.alumini-overlay h2 {
    font-size: 24px;
    margin: 0;
}

.alumini-overlay h4 {
    font-size: 16px;
    font-weight: 400;
    margin-top: 5px;
}

