/* ---------------------------- */
/* Global Styles */
/* ---------------------------- */
body {
    background-color: #2e302f;
}

/* Max width for main page content */
.isize {
    max-width: 875px;
}

/* ---------------------------- */
/* Image Utilities */
/* ---------------------------- */
.img-fluid {
    width: 100%; /* prevents stretching in IE */
}

.w-40 { width: 40%; }
.w130 { min-width: 130px; }

.tall { padding: .8em 1rem .5rem 1rem; }
.wide { padding: .7em 0 .5rem 0; }

/* ---------------------------- */
/* Navbar / Header */
/* ---------------------------- */
.navbar-brand {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rb li {
    border-right: 1px solid #6c757d;
}
.rb li:last-child { border-right: none; }

@media all and (max-width: 768px) {
    .rb { border-right: none; }
}

.hit {
    min-height: 30px;
}

@media only screen and (min-width: 922px) {
    .hit { min-height: 50px; }
}

.nav-spacer {
    height: 56px;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* ---------------------------- */
/* Gallery Preview / Cards */
/* ---------------------------- */
.gallery-preview {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-preview .card-group {
    background: #2e302f;
    padding: 1.5rem;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.35);
}

/* ---------------------------- */
/* Barket Story Text Box */
/* ---------------------------- */
.barket-story {
    font-family: "Montserrat", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 3rem 1.75rem;
    margin: 1.5rem auto 2.5rem auto;
}

.barket-story p {
    font-weight: inherit;
}

/* Card transparency */
.c-clean {
    background: transparent;
    background-image: url("https://perpetuairon.com/bootstrap4-site/images/site/transpng.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-color: #666;
}

/* Card inner flex wrapper */
.card-core {
    flex: 1 1 auto;
    padding: 0.375rem 0.75rem;
}

.quote-panel {
    max-width: 760px;
    background: #232524;
    border: 1px solid #686868;
    border-radius: 8px;
    padding: 2rem;
}

.start-project-panel {
    line-height: 1.55;
}

.start-project-panel a {
    color: #f2a81a;
}

.start-project-panel .quote-button {
    color: #1d1d1d;
}

.start-project-panel .quote-button--secondary {
    color: #fcfaf2;
}

.contact-details {
    text-align: center;
}

.contact-panel {
    max-width: 620px;
}

.installation-page {
    padding-top: 1.5rem;
}

.installation-copy {
    padding: 1rem 0 1.5rem;
}

.installation-card-row {
    margin-top: 0.75rem;
}

.site-footer {
    background: #202221;
    border-top: 1px solid #686868;
    color: #fcfaf2;
    margin-top: 2.5rem;
    padding: 0.65rem 0;
}

.footer-bar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
}

.footer-contact {
    font-size: 0.92rem;
}

.site-footer a {
    color: #fcfaf2;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #f2a81a;
    text-decoration: underline;
}

.contact-actions {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    justify-content: center;
}

.contact-phone {
    color: #fcfaf2;
    font-weight: 700;
}

.contact-phone a {
    color: #f2a81a;
    text-decoration: underline;
}

.phone-mobile {
    display: none;
}

.phone-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .phone-mobile {
        display: inline-block;
    }

    .phone-desktop {
        display: none;
    }

    .footer-bar {
        flex-direction: column;
    }
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.quote-button {
    display: inline-block;
    color: #1d1d1d;
    background: #f2a81a;
    border: 1px solid #f2a81a;
    border-radius: 4px;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.quote-button:hover,
.quote-button:focus {
    color: #111;
    background: #ffc247;
    text-decoration: none;
}

.quote-button--secondary {
    color: #fcfaf2;
    background: transparent;
    border-color: #8b8b8b;
}

.quote-button--secondary:hover,
.quote-button--secondary:focus {
    color: #fcfaf2;
    background: #3a3c3b;
}

.quote-list {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    padding-left: 1.25rem;
}

/* ---------------------------- */
/* Pointer events fixes for mobile taps */
.card-core,
.hide {
    pointer-events: none;
}

.card img {
    pointer-events: auto;
}

@media all and (max-width: 768px) {
    .hide {
        pointer-events: none;
        cursor: default;
        color: #fcfaf2;
    }
}

/* Allow Barket CTA to stay clickable even inside .hide */
.hide.barket-cta-cell {
    pointer-events: auto;
}

.hide.barket-cta-cell .hide {
    pointer-events: auto;
}

/* ---------------------------- */
/* Barket CTA */
/* ---------------------------- */
.barket-cta-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.barket-cta {
    position: relative;
    display: block;
    width: 100%;
    min-height: 240px;
    height: 100%;
    background-color: #f2a81a;
    border-radius: 12px;
    overflow: hidden;
}

.barket-cta--fill {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.barket-cta__media {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.55);
    border-radius: inherit;
    transform: scale(1);
    transition: transform 0.35s ease, opacity 0.6s ease;
    opacity: 1;
    z-index: 0;
}

.barket-cta--fill .barket-cta__media {
    background-size: cover;
}

.barket-cta--static .barket-cta__media {
    background-size: 92% auto;
    border-radius: 12px;
}

.barket-cta__media--bottom {
    z-index: 0;
}

.barket-cta__media--top {
    z-index: 1;
}

.barket-cta__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7f2e7;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 0.75rem;
    transition: transform 0.35s ease;
    z-index: 2;
}

.barket-cta-link:hover .barket-cta__label,
.barket-cta-link:focus .barket-cta__label {
    transform: scale(1.025);
}

.barket-cta-link:hover .barket-cta__media,
.barket-cta-link:focus .barket-cta__media {
    transform: scale(1.02);
}

.barket-cta__media--top.is-fading {
    opacity: 0;
}

.barket-cta-cell .card {
    border: none !important;
}

.gallery-button-card {
    border: none !important;
}

.gallery-button-card.border,
.gallery-button-card.border-secondary {
    border: none !important;
}

.gallery-button-card .card-core {
    min-height: 240px;
}

.gallery-button-card .button-card,
.gallery-button-card .pricing-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-button-card .image-button {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .barket-cta {
        min-height: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .barket-cta--static .barket-cta__media {
        inset: 27px;
    }

    .barket-cta--static .barket-cta__media {
        background-size: 88% auto;
    }

    .gallery-button-card .card-core {
        min-height: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ---------------------------- */
/* Mini Hero / Announce */
.mini-hero-content {
    background: linear-gradient(135deg, #1f2120, #2c2e2d);
    color: #fcfaf2;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.mini-hero-content p {
    font-size: 1.4rem;
    font-weight: 500;
    max-width: 650px;
    line-height: 1.6;
    margin: 0 auto;
}

.mini-cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    background-color: #e07b39;
    color: #1f2120;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.mini-cta-button:hover {
    color: #111;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .mini-hero-content {
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .mini-hero-content p {
        font-size: 1.1rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .mini-cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}


.mini-announce {
    position: relative;
    z-index: 10;
    background: linear-gradient(90deg, #1f2120, #2c2e2d);
    color: #fcfaf2;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.mini-announce-cta {
    background: none;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.mini-announce-cta:hover {
    color: #ff963f;
    text-decoration: none;
}

@media (max-width: 768px) {
    .mini-announce {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
        text-align: center;
    }

    .mini-announce-cta {
        margin-left: 0;
        display: inline-block;
        margin-top: 0.3rem;
    }
}


/* ---------------------------- */
/* Custom Fullscreen Lightbox */
/* ---------------------------- */
#customLightboxOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    z-index: 10000;
}

.lightbox-frame {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#customLightboxOverlay img {
    max-width: 95vw;
    max-height: 78vh;
    object-fit: contain;
    border: 4px solid white;
    border-radius: 3px;
}

.lightbox-caption {
    max-width: min(760px, 92vw);
    color: #fcfaf2;
    text-align: center;
    margin-top: 0.75rem;
}

.lightbox-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.lightbox-description {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.35;
}

#customLightboxClose {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: url('../images/close.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    z-index: 10001;
    opacity: 0.8;
    border: 0;
}
#customLightboxClose:hover { opacity: 1; }

.lightbox-nav {
    position: fixed;
    top: 50%;
    width: 48px;
    height: 56px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    cursor: pointer;
    font-size: 2.25rem;
    line-height: 1;
    transform: translateY(-50%);
    z-index: 10001;
}

.lightbox-nav--prev {
    left: 16px;
}

.lightbox-nav--next {
    right: 16px;
}

@media (max-width: 768px) {
    .quote-panel {
        padding: 1.25rem;
    }

    .quote-button {
        width: 100%;
    }

    .lightbox-nav {
        width: 40px;
        height: 48px;
    }
}
/* build: 2026-03-19 | barket-cta styles */
