/*
Theme Name:   Engitech Child
Theme URI:    http://wpdemo.archiwp.com/engitech/
Description:  Make your modifications to [Parent Theme] in this Engitech child theme.
Author:       OceanThemes
Author URI:   http://oceanthemes.net/
Template:     engitech
Version:      1.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  engitech-child
*/

/* =Theme customization starts here
------------------------------------------------------- */

.entry-date{
	display:none;
}

/* ===================== Portfolio Grid ===================== */
.portfolio-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Single uniform grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.portfolio-item h4 {
    margin: 12px;
    font-size: 1rem;
    text-align: center;
    color: #222;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===================== Popup ===================== */
.portfolio-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.8);
}

.popup-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    z-index: 10;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
}

.slider {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-images img {
    width: 100%;
    display: none;
    border-radius: 8px;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider h3 {
    margin-top: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #111;
}


/* .entry-meta time{
    display: none;
} */
time{
    display: none;
}
.portfolio-popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
justify-content:center;
align-items:center;
z-index:9999;
}

.popup-content{
background:#fff;
padding:20px;
max-width:900px;
width:90%;
position:relative;
}

.slide-item{
display:none;
text-align:center;
}

.slide-item img{
max-width:100%;
height:auto;
}

.image-title{
margin-top:10px;
font-size:18px;
font-weight:600;
}