/* ==========================================================================
   Stanley N. portfolio additions.
   The Boldz stylesheets are untouched; this file only adds the mobile
   "Hire Me" button, which reuses the existing .theme-btn.primary-bg look.
   ========================================================================== */

:root {
    /* Brand accent (replaces the Boldz lime green #B8FF34). */
    --primary: #8DF5FD;
}

/* Preloader bar: Boldz hard-codes a green gradient here; use the brand accent instead. */
.preloader-bar-wrap .preloader-bar {
    background: linear-gradient(89.99deg, rgba(141, 245, 253, 0), #8DF5FD);
}

/* The dot in "STANLEY N." (logo, menu, loader) in the brand accent. */
.logo-dot {
    color: var(--primary);
}

.mobile-hire-btn {
    display: none;
}

/* Sticky header: a fixed copy of the Boldz header (created in custom.js)
   that slides in after the original scrolls away. */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: var(--darkBg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-100%);
    transition: transform .4s ease;
}
.sticky-header.is-visible {
    transform: translateY(0);
}
.sticky-header .hero-sec-top {
    margin-bottom: 0 !important;
}
@media (max-width: 809px) {
    .sticky-header {
        padding: 12px 0;
    }
}

/* Header "Hire Me" button inside the Boldz quick-links menu: keep the button look
   (the menu's link rules would otherwise stack it as a column and turn the text white on hover). */
.main-menu ul li a.header-hire-btn,
.main-menu ul li a.header-hire-btn:hover {
    display: inline-flex;
    flex-direction: row;
    padding: 8px 16px;
    color: var(--dark);
}

/* Award rows: the real award names are longer than the template's, so tighten the 119px arrow/year gap
   and keep the year column fixed so it never overflows the row. */
.about-awards-wrap .award-box {
    gap: 24px;
}
.about-awards-wrap .award-box .award-year {
    flex: none;
    gap: 40px;
}
.about-awards-wrap .award-box .award-year span {
    min-width: 40px;
}
@media (max-width: 550px) {
    .about-awards-wrap .award-box .award-year {
        gap: 16px;
    }
}

/* Client logos: real logos shown as white marks (like the Boldz placeholders) in a fixed box.
   Seven logos loop at 7 x (180px + 112px gap) = 2044px. */
.client-logo-slide img {
    flex: none;
    width: 180px;
    height: 56px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.client-sec .client-logo-slide {
    animation: clientLogoSlideReal 30s infinite linear;
}
@keyframes clientLogoSlideReal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-2044px);
    }
}

/* Contact form: dropdown styled like the other dark fields, with the brand accent.
   The native option list otherwise renders white-on-white. */
.contact-form .input-group select {
    cursor: pointer;
    padding-right: 64px;
    transition: background-color .3s, box-shadow .3s;
}
.contact-form .input-group select:hover {
    background-color: rgba(255, 255, 255, 0.14);
}
.contact-form .input-group select:invalid {
    color: rgba(255, 255, 255, 0.7);
}
.contact-form .input-group select option {
    background: #111111;
    color: var(--whiteColor);
    font-size: 16px;
}
.contact-form .input-group select option:checked {
    background: var(--primary);
    color: var(--dark);
}
.contact-form .input-group select option[disabled] {
    color: rgba(255, 255, 255, 0.5);
}
/* Visible focus on all fields (Boldz removes the outline). */
.contact-form .input-group select:focus,
.contact-form .input-group input:focus,
.contact-form .input-group textarea:focus {
    box-shadow: inset 0 0 0 2px var(--primary);
}

/* "Why Clients Hire Me": one row of five cards. Boldz loops six cards (6 x (509px + 68px gap) = 3462px);
   five cards loop at 5 x 577px = 2885px, same speed per card. */
.testimonial-slide.value-slide {
    animation: valueSlider 25s infinite linear;
}
@keyframes valueSlider {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-2885px);
    }
}

/* CTA band (replaces the banner image after "Why Clients Hire Me"): accent panel, Boldz heading styles. */
.cta-band-sec {
    padding: 40px 0 120px;
}
.cta-band {
    background: var(--primary);
    color: var(--dark);
    border-radius: 4px;
    padding: 90px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}
.cta-band .section-header-2 {
    margin-bottom: 0;
}
.cta-band .section-header-2 h6,
.cta-band .section-title2 {
    color: var(--dark);
}
.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.cta-band-actions .theme-btn {
    padding: 12px 24px;
}
.cta-band-actions .theme-btn:hover {
    background: var(--dark);
    color: var(--whiteColor);
}
.cta-band-actions .cta-band-solid {
    background: var(--dark);
    color: var(--whiteColor);
}
.cta-band-actions .cta-band-solid:hover {
    background: var(--whiteBg);
    color: var(--dark);
}
.cta-band-actions .cta-band-outline {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--dark);
}
@media (max-width: 809px) {
    .cta-band-sec {
        padding: 20px 0 80px;
    }
    .cta-band {
        padding: 60px 20px;
    }
}

/* Black-and-white effect on the banner image directly below the Services section. */
.service-sec-2 + .banner-sec .banner-img img {
    filter: grayscale(1);
}

/* Full-page design screenshot on a case study (tall image, natural height, centred column). */
.case-fullpage-sec {
    padding: 40px 0 100px;
}
.case-fullpage {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    background: #111111;
}
.case-fullpage img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 809px) {
    .case-fullpage-sec {
        padding: 20px 0 60px;
    }
}

/* Project card status label, e.g. "(status — live)": smaller than the project name. */
.work-box .work-bottom-content .work-price .work-status {
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.5px;
    opacity: 0.75;
}

/* Floating call button (icon only). Desktop: bottom-right corner. Mobile/tablet (<=1300px): above the Hire Me button. */
.float-call-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--dark);
    font-size: 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    transition: transform .3s, background .3s;
}
.float-call-btn:hover,
.float-call-btn:focus-visible {
    color: var(--dark);
    background: var(--whiteBg);
    transform: scale(1.06);
}
@media (max-width: 1300px) {
    .float-call-btn {
        right: 20px;
        bottom: 80px; /* 20px + 44px Hire Me button + 16px gap */
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    .float-call-btn.float-call-btn--solo {
        bottom: 20px;
    }
}

/* Menu button: hidden on desktop (header links are shown there),
   a hamburger icon on tablet/mobile where Boldz hides the header links. */
.show-navigation-popover.hamburger-btn {
    display: none;
}

@media (max-width: 1300px) {
    .show-navigation-popover.hamburger-btn {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
    }
    .show-navigation-popover.hamburger-btn:hover,
    .show-navigation-popover.hamburger-btn:focus-visible {
        background: transparent;
    }
    .hamburger-btn .hamburger-line {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--whiteColor);
        border-radius: 2px;
        transition: background .3s;
    }
    .hamburger-btn:hover .hamburger-line,
    .hamburger-btn:focus-visible .hamburger-line {
        background: var(--primary);
    }
}

/* Contact form: hidden spam trap, "how would you like to work" radio pills, result message. */
.contact-form .form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-form .form-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    line-height: 27px;
    font-family: var(--font_inter_tight);
}
.contact-form .radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.contact-form .input-group label.radio-option {
    position: relative;
    display: inline-flex;
    width: auto;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
}
.contact-form .input-group .radio-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
}
.contact-form .radio-option span {
    display: inline-flex;
    align-items: center;
    padding: 18px 32px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: background .3s, color .3s;
}
.contact-form .radio-option:hover span {
    background: rgba(255, 255, 255, 0.16);
}
.contact-form .radio-option input:checked + span {
    background: var(--primary);
    color: var(--dark);
}
.contact-form .radio-option input:focus-visible + span {
    box-shadow: inset 0 0 0 2px var(--whiteColor);
}
#result {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
}
#result a {
    color: var(--primary);
    text-decoration: underline;
    white-space: nowrap;
}
#result.is-error {
    color: #ff8a80;
}

/* Below 1300px the header quick links (Works / Hire Me) are hidden by Boldz,
   so a fixed Hire Me button keeps the contact route one tap away. */
@media (max-width: 1300px) {
    .mobile-hire-btn {
        display: inline-flex;
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 1000;
        min-height: 44px;
        padding: 12px 22px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    }
}

/* Hero: "View My Resume / CV" next to Hire Me, outline style (no fill, white text and border). */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.theme-btn.hero-cv-btn,
a.theme-btn.hero-cv-btn:hover,
a.theme-btn.hero-cv-btn:focus {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}
