@import "../css/common.css";
@import "../css/icons/tabler-icons/tabler-icons.css";

/* HERO SECTION */
.portfolio-hero {
    position: relative;
    height: 350px;
    background: url('../Images/Background/portfolio-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DARK OVERLAY */
.portfolio-hero .overlay-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    top: 0;
    left: 0;
}

/* CENTER CONTENT */
.hero-center {
    position: relative;
    text-align: center;
    color: #fff;
}

/* TITLE */
.hero-center h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'TrajanPro-Regular';
}
/* GOLD LINE */
.hero-center .underline {
    width: 60px;
    height: 3px;
    background: #EAA636;
    margin: 10px auto;
}

/* SUBTEXT */
.hero-center p {
    font-size: 16px;
    color: #ccc;
    margin-top: 10px;
}

.portfolio-section {
    padding: 80px 0;
    background: #0a0a09;
    color: #fff;
}

.portfolio-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'TrajanPro-Regular';
    color: #fff;
}

/* FILTERS */
.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.filters button {
    background: none;
    border: 1px solid transparent;
    color: #fff;
    padding: 8px 15px;
    margin-right: 5px;
    cursor: pointer;
    transition: 0.5s all ;
    border-radius: 5px;
}

.filters button.active, .filters button:hover {
    background: #EAA636;
    color: #0a0a09;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* ITEM */
.item {
    position: relative;
    overflow: hidden;
}

.item img {
    width: 100%;
    display: block;
    height: 300px;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    text-align: center;
}

.item .overlay h3 {
    font-family: 'TrajanPro-Regular';
    color: #fff;
}

.item:hover .overlay {
    opacity: 1;
}

/* PLAY ICON */
.play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
}

.portfolio-subtitle {
    color: #EAA636;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: 'TrajanPro-Regular';
    font-weight: 600;
    text-align: center;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .portfolio-hero {
        height: 250px;
    }

    .hero-center h1 {
        font-size: 28px;
    }
}