﻿/* ======================================================================
   PORTFOLIO PAGE STYLES
   Updated: Full-width banner + Button style
   ====================================================================== */

.portfolio-filters {
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 1000px;
    padding: 0px 20px;
}


.portfolio-filter {display:inline-block; background:rgba(255,255,255,0.35); border:1px solid #ccc; border-radius:4px; padding:7px 10px; margin:3px; font-size:0.85rem; color:#1f2937; text-decoration:none; transition:all .2s ease; cursor:pointer; }

.portfolio-filter:hover {
    border-color: #d94632;
    color: #d94632;
}

.portfolio-filter.is-active {
    background: #d94632;
    border-color: #d94632;
    color: white;
}

/* Grid Container */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Portfolio Card */
.portfolio-item {
	background: rgba(255,255,255,0.35);
    border: 1px solid #eee;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    border-radius:8px;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Image */
.portfolio-item img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    object-position: top center;
    display: block;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
    margin-bottom:20px
}

/* ====================== */
/* FULL-WIDTH BANNER      */
/* ====================== */
.portfolio-type {
    position: absolute;
    top: 240px;
    left: 0;
    right: 0;
    background: #d94632;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    text-align: center;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

/* Caption Area */
.portfolio-caption {
    padding: 1.4rem 1.25rem;
    text-align: center;
    flex-grow: 1;
}

.portfolio-name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #1f2937;
    line-height: 1.3;
}

/* Button Style for "View Website" */
.portfolio-link {
    display: inline-block;
    background: #1f2937;
    color: white !important;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.portfolio-link:hover {
    background: #b22222;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 70, 50, 0.3);
    text-decoration: none !important;
}


/* Responsive */
@media (max-width: 1000px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .portfolio-item img {
        height: 240px !important;
    }
    
    .portfolio-type {
        font-size: 0.8rem;
        padding: 7px 10px;
    }
}