/*
 Theme Name:   PostStructures Child
 Theme URI:    https://poststructures.com
 Description:  Post Structures child theme
 Author:       Dan Hutten
 Author URI:   https://digitalhexagon.com
 Template:     generatepress
 Version:      0.1
*/

/* Contact nav button */
.menu-item a {
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.nav-button > a {
    border: 1px solid var(--base);
    border-radius: 8px;
    padding: 1px 16px;
    margin-left: 10px;
}

.nav-button > a:hover{
    border: 1px solid var(--base);
}

/* Lightbox Overlay Styling */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    will-change: opacity;
}

.custom-lightbox.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Lightbox Image Zoom Animation */
.custom-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.custom-lightbox.is-active img {
    transform: scale(1);
}

/* Close Cursor Hint */
.custom-lightbox {
    cursor: zoom-out;
}

/* The Work - project card grid (Query Loop list reset) */
.gbp-project-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gbp-project-grid .gbp-project-card {
    margin: 0;
}

.gbp-project-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* The Work - sector filter pills */
.gbp-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.gbp-filter-pill {
    border: 1px solid var(--base);
    border-radius: 999px;
    padding: 8px 20px;
    background: transparent;
    color: var(--contrast-2);
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gbp-filter-pill.is-active,
.gbp-filter-pill:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--base-3);
}

.gbp-project-panel {
    display: none;
}

.gbp-project-panel.is-active {
    display: block;
}

/* [testimonial] shortcode */
.gbp-testimonial-single {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.gbp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

@media (max-width: 767px) {
    .gbp-testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.gbp-testimonial {
    margin: 0;
}

.gbp-testimonial__stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}