.portfolio-hero {
    position: relative;
    min-height: 420px;
    background: url('../images/portfolio-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.35));
}

.portfolio-hero .container {
    position: relative;
    z-index: 2;
}

.portfolio-hero-content {
    max-width: 720px;
}

.portfolio-hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin: 15px 0;
}

.portfolio-hero-content p {
    font-size: 18px;
    color: #eee;
}

.portfolio-section {
    padding: 80px 0;
    background: #fafafa;
}

.portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.portfolio-filter {
    border: 1px solid #d4af37;
    background: #fff;
    color: #111;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    transition: .3s;
}

.portfolio-filter.active,
.portfolio-filter:hover {
    background: #d4af37;
    color: #111;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .3s;
}

.portfolio-card:hover {
    transform: translateY(-8px);
}

.portfolio-media {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #111;
}

.portfolio-media img,
.portfolio-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.portfolio-card:hover .portfolio-media img {
    transform: scale(1.08);
}

.portfolio-view {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: #d4af37;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    transform: scale(.8);
    transition: .3s;
}

.portfolio-card:hover .portfolio-view {
    opacity: 1;
    transform: scale(1);
}

.portfolio-content {
    padding: 22px;
}

.portfolio-content span {
    color: #d4af37;
    font-weight: 700;
    font-size: 14px;
}

.portfolio-content h4 {
    margin: 8px 0;
    font-weight: 800;
    color: #111;
}

.portfolio-content p {
    color: #666;
    margin: 0;
    font-size: 15px;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: min(900px, 95%);
}

.video-modal-content video {
    width: 100%;
    border-radius: 18px;
    background: #000;
}

.video-close {
    position: absolute;
    top: -45px;
    right: 0;
    border: none;
    background: #d4af37;
    color: #111;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

@media(max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-hero-content h1 {
        font-size: 40px;
    }
}

@media(max-width: 575px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-hero {
        min-height: 340px;
    }

    .portfolio-hero-content h1 {
        font-size: 32px;
    }
}