/* ============================================
   PORTFOLIO PAGE CSS — DJ BAGAHA
   ============================================ */

/* PAGE HERO */
.page-hero {
    height: 420px;
    background: url('../images/slide-banner-8.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.6));
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 50px;
}
.page-hero-content .eyebrow { margin-bottom: 12px; }
.page-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    font-weight: 300;
    margin-bottom: 12px;
}
.page-hero-content h1 em { font-style: italic; color: var(--gold); }
.page-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}
.breadcrumb-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 12px 0;
}
.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}
.breadcrumb-bar a { color: var(--gold); text-decoration: none; }
.breadcrumb-bar i { font-size: 9px; }

/* ACTIVE NAV */
.nav-link.active-page { color: var(--gold) !important; }

/* FILTER TABS */
.portfolio-page-section { padding: 80px 0 110px; background: var(--dark); }
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: center;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 9px 24px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a0a00;
}

/* PORTFOLIO GRID */
.port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.port-item { transition: opacity 0.4s, transform 0.4s; }
.port-item.hidden { opacity: 0; pointer-events: none; position: absolute; }
.port-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--dark2);
}
.port-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.port-item:hover .port-img-wrap img { transform: scale(1.07); }
.port-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-zoom {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border: none;
    color: #1a0a00;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.port-zoom:hover { background: var(--gold-light); transform: scale(1.1); }
.port-info {
    padding: 16px 0 8px;
    border-bottom: 1px solid var(--border);
}
.port-info span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
}
.port-info h4 {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--white);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}
.lightbox-box {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lbFadeIn 0.3s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.lb-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border: none;
    color: #1a0a00;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.3s;
}
.lb-close:hover { background: var(--gold-light); }
#lbImg {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}
.lb-info {
    text-align: center;
    padding: 14px 0 0;
}
.lb-info span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
}
.lb-info h4 {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--white);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .port-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { height: 340px; }
}
@media (max-width: 576px) {
    .port-grid { grid-template-columns: 1fr; }
    .page-hero { height: 300px; }
    .page-hero-content h1 { font-size: 2.2rem; }
    .filter-tabs { gap: 6px; }
    .filter-btn { padding: 8px 16px; font-size: 10px; }
}

/* ============ INNER PAGES COMMON ============ */
.inner-section { padding: 90px 0; background: var(--dark); }
.scrolled { background: rgba(6,10,22,0.97) !important; }

/* ============ SERVICES PAGE ============ */
.svc-card-full {
    background: var(--dark2);
    border: 1px solid var(--border);
    padding: 38px 30px;
    height: 100%;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.svc-card-full::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.4s;
}
.svc-card-full:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.svc-card-full:hover::before { transform: scaleX(1); }
.scf-icon {
    width: 56px; height: 56px;
    background: rgba(201,168,76,0.08);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: all 0.4s;
}
.scf-icon i { font-size: 22px; color: var(--gold); }
.svc-card-full:hover .scf-icon { background: var(--gold); }
.svc-card-full:hover .scf-icon i { color: #1a0a00; }
.svc-card-full h3 { font-size: 1.3rem; font-weight: 400; color: var(--white); margin-bottom: 12px; }
.svc-card-full p { font-size: 13.5px; color: var(--text-muted); line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.svc-list { list-style: none; padding: 0; margin-bottom: 24px; }
.svc-list li { font-size: 13px; color: rgba(255,255,255,0.5); padding: 5px 0; display: flex; align-items: center; gap: 10px; }
.svc-list li i { color: var(--gold); font-size: 10px; }
.svc-card-full.horizontal { display: flex; gap: 24px; align-items: flex-start; }
.svc-card-full.horizontal .scf-icon { flex-shrink: 0; }

/* ============ ABOUT PAGE ============ */
.about-page-img { position: relative; }
.about-page-img img { width: 100%; display: block; object-fit: cover; }
.about-exp-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--gold);
    padding: 22px 26px;
    text-align: center;
}
.about-exp-badge h3 { font-size: 2.5rem; color: #1a0a00; line-height: 1; margin: 0; font-weight: 600; }
.about-exp-badge p { font-size: 11px; color: #1a0a00; margin: 4px 0 0; font-weight: 600; letter-spacing: 0.5px; }
.skill-bar-item { margin-bottom: 20px; }
.sb-label { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.sb-track { background: rgba(255,255,255,0.06); height: 3px; }
.sb-fill { height: 100%; background: var(--gold); transition: width 1.2s ease; }

/* ============ CONTACT PAGE ============ */
.contact-info-page { display: flex; flex-direction: column; gap: 20px; }
.cip-item { display: flex; align-items: flex-start; gap: 16px; }
.cip-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,0.08);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cip-icon i { font-size: 16px; color: var(--gold); }
.cip-item h5 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 500; }
.cip-item p { font-size: 14px; color: rgba(255,255,255,0.5); margin: 0; }
.contact-form-box {
    background: var(--dark2);
    border: 1px solid var(--border);
    padding: 40px;
}
.contact-form label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.contact-form select {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: rgba(255,255,255,0.5);
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    outline: none;
    transition: border 0.3s;
    appearance: none;
}
.contact-form select:focus { border-color: var(--gold); }
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    gap: 14px;
}
.form-success i { font-size: 50px; color: var(--gold); }
.form-success h4 { font-size: 1.5rem; color: var(--white); font-weight: 300; }
.form-success p { font-size: 14px; color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .about-exp-badge { bottom: -15px; right: -10px; padding: 16px 20px; }
    .svc-card-full.horizontal { flex-direction: column; gap: 16px; }
    .contact-form-box { padding: 28px 20px; }
}
@media (max-width: 576px) {
    .about-exp-badge { position: static; margin-top: 15px; display: inline-block; }
    .about-page-img img { max-height: 320px; }
}

/* ============ EXTRA MOBILE FIXES — portfolio.css ============ */
@media (max-width: 768px) {
    .page-hero { height: 280px; }
    .page-hero-content h1 { font-size: 2.2rem; }
    .inner-section { padding: 50px 0; }
    .svc-card-full { padding: 28px 20px; }
    .svc-card-full.horizontal { flex-direction: column; gap: 14px; }
    .contact-form-box { padding: 24px 16px; }
    .about-exp-badge { bottom: -10px; right: -5px; padding: 14px 18px; }
    .about-exp-badge h3 { font-size: 1.8rem; }
    .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; }
    .port-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 576px) {
    .page-hero { height: 240px; }
    .page-hero-content h1 { font-size: 1.8rem; }
    .port-grid { grid-template-columns: 1fr; }
    .about-exp-badge { position: static; margin-top: 12px; display: inline-block; }
    .skill-bar-item { margin-bottom: 16px; }
    .cip-item { gap: 12px; }
    .contact-info-page { gap: 14px; }
}
