/* Portfolio container styling */
.portfolio {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* Aspect ratio for 3:2 */
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 5px auto;  
}

/* Individual photo slide styling */
.portfolio-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease; /* 2-second fade transition */
}

/* Show the active photo */
.portfolio-photo.active {
    opacity: 1;
    z-index: 1;
}
