/* =====================================================================
   Mohammad Kanch - Custom Overrides
   (kept separate from style.css / skins so template updates stay clean)
   ===================================================================== */

/* ---------- Hero / Home banner (matches client banner design) ---------- */

body.image .home-section .home-content {
    background-image: url("../images/hero/hero-bg.jpg");
    background-size: cover;
    background-position: center right;
}

body.image .home-section .right-dotted-shape {
    display: none;
}

body.image .home-section .home-content:before {
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.72) 68%, rgba(0,0,0,0.82) 100%);
}

.home-section .hero-section {
    position: relative;
}

.home-section .hero-text {
    position: relative;
    z-index: 1;
    padding-top: 70px;
}

.home-section .ghost-heading {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 2px;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.home-section .hero-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 70px;
    line-height: 70px;
    text-transform: none;
    color: #fff !important;
}

.home-section .hero-section h2 span.hero-line-sub {
    display: block;
    color: #fff !important;
    font-weight: 800;
}

.home-section .hero-section h2 span.hero-name {
    display: block;
    font-weight: 800;
    color: #fff !important;
}

.home-section .hero-section p.hero-subtitle {
    font-size: 18px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home-section .ghost-heading { font-size: 110px; }
    .home-section .hero-section h2 { font-size: 48px; }
}

@media (max-width: 991px) {
    .home-section .ghost-heading { font-size: 90px; top: -18px; }
    .home-section .hero-section h2 {font-size: 60px;line-height: 60px;}
}

@media (max-width: 767px) {
    .home-section .ghost-heading { font-size: 60px; top: -10px; }
    .home-section .hero-section h2 {font-size: 40px;line-height: 40px;}
    .home-section .hero-text { padding-top: 40px; }
}

/* ---------- Portfolio lightbox - premium redesign ---------- */

.work-section .preview-category {
    display: block;
    color: #f8c039;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.work-section .preview-divider {
    display: block;
    width: 46px;
    height: 2px;
    background-color: #f8c039;
    margin: 22px 0;
}

.work-section .preview-meta {
    width: 100%;
    margin: 0 0 22px !important;
}

.work-section .preview-meta li {
    display: flex;
    align-items: center;
    text-transform: none !important;
}

.work-section .preview-meta li span:nth-child(2) {
    position: static;
    left: auto;
    top: auto;
    font-weight: inherit;
}

.work-section .preview-meta li .material-icons {
    color: #f8c039;
    font-size: 20px;
    margin-right: 14px;
    flex-shrink: 0;
}

.work-section .preview-meta li .meta-label {
    display: block;
    color: #999;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: "IBM Plex Mono", monospace;
}

.work-section .preview-meta li .meta-value {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.work-section .preview-tagline {
    color: #bbb;
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    line-height: 26px;
    font-style: italic;
    max-width: 420px;
}

.work-section .preview-nav {
    position: fixed;
    z-index: 145;
    left: 50%;
    bottom: 7%;
    width: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    transition-delay: 0.15s;
}

.work-section .preview--open .preview-nav {
    opacity: 1;
    pointer-events: auto;
}

.work-section .preview-nav button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s;
}

.work-section .preview-nav button .material-icons {
    font-size: 18px;
}

.work-section .action--prev {
    background: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.work-section .action--prev:hover {
    border-color: #f8c039;
    color: #f8c039;
}

.work-section .action--next {
    background-color: #f8c039;
    border: 1px solid #f8c039;
    color: #292929;
}

.work-section .action--next:hover {
    background-color: #ffd873;
    border-color: #ffd873;
}

@media (max-width: 991px) {
    .work-section .preview-nav {
        left: 0;
        width: 100%;
        padding: 0 30px;
        bottom: 4%;
    }
}

/* ---------- Single blog post - headings/lists (posts have h4 + ol/ul now) ---------- */

.single-post-container h4 {
    color: #f8c039;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 19px;
    margin: 30px 0 12px;
}

.single-post-container ol,
.single-post-container ul {
    color: #eee;
    margin: 0 0 20px;
    padding-left: 22px;
}

.single-post-container ol li,
.single-post-container ul li {
    margin-bottom: 14px;
    line-height: 28px;
}

.single-post-container strong {
    color: #fff;
}

.single-post-container em {
    color: #f8c039;
    font-style: italic;
}

.reviews-section .review-card {
    background-color: #383838;
    padding: 40px 32px 32px;
    height: 100%;
    position: relative;
}

.reviews-section .review-stars {
    color: #f8c039;
    font-size: 15px;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.reviews-section .review-stars .material-icons,
.reviews-page-grid .review-stars .material-icons {
    font-size: 16px;
    vertical-align: middle;
}

.reviews-section .review-quote {
    color: #eee;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 24px;
    font-family: "IBM Plex Mono", monospace;
}

.reviews-section .review-author {
    display: flex;
    align-items: center;
}

.reviews-section .review-author .avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #f8c039;
    color: #292929;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.reviews-section .review-author h6 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.reviews-section .review-author span {
    color: #999;
    font-size: 13px;
}

.reviews-section .review-card-col {
    margin-bottom: 30px;
}

.reviews-section .placeholder-note {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 40px;
}

/* ---------- Client Reviews (dedicated reviews.html page) ---------- */

.reviews-page-grid .review-card {
    background-color: #383838;
    padding: 40px 32px 32px;
    height: 100%;
}

.reviews-page-grid .review-card-col {
    margin-bottom: 30px;
}

div#reviews-content {
    padding: 0 0 60px;
}
/* ---------- Portfolio filter tabs ---------- */

/* The template's JS (main_portfolio.js) uses Masonry to absolutely-position
   .grid__item elements for the resting grid layout. We neutralise only the
   positioning Masonry sets (so the simpler Bootstrap row/col flex layout
   takes over for show/hide filtering) - NOT transform, which GridFx's own
   click-to-expand lightbox animation needs to shrink/fade the other tiles
   when a project is opened. Blocking transform here was what broke that
   "opens in an animated way" effect. */
.work-section .grid,
.work-section .grid__item {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
}

.work-section .grid {
    display: flex;
    flex-wrap: wrap;
}

.work-section .grid__item a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
}

.work-section .grid__item a img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.work-section .grid__item.filtered-out {
    display: none !important;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 40px;
}

.portfolio-filters .filter-btn {
    background: transparent;
    color: #ffffff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 9px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s;
    text-transform: uppercase;
    box-shadow: none;
    outline: none;
    border: 0;
    outline: 1px solid #f8c039;
}

.portfolio-filters .filter-btn:hover {
    border-color: #f8c039;
    color: #f8c039;
}

.portfolio-filters .filter-btn.active {
    background-color: #f8c039;
    border-color: #f8c039;
    color: #292929;
}

@media (max-width: 767px) {
    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        margin-bottom: 25px;
    }
    .portfolio-filters .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}


.contact-section .box a,
.about-section ul li a {
    color: #fff;
    text-decoration: none;
}