/**
 * Bushmans Section-Specific Styles
 *
 * @package Bushmans_Blocksy_Child
 */

/* ==========================================================================
   Layout Overrides
   ========================================================================== */

.ct-container-full {
    margin-top: 0 !important;
}

.ct-container-full[data-vertical-spacing*='top'] {
    padding-top: 0 !important;
}

/* Hide Blocksy hero section on homepage */
body.home .hero-section {
    display: none !important;
}

/* ==========================================================================
   Typography (font families)
   ========================================================================== */

.bushmans-hero__script,
.bushmans-legacy__script,
.bushmans-footer__script {
    font-family: var(--bushmans-font-script);
}

.bushmans-hero__heading,
.bushmans-process__title,
.bushmans-process__step-title,
.bushmans-process__number,
.bushmans-legacy__title,
.bushmans-products__title,
.bushmans-product-card__label h3,
.bushmans-footer__title,
.bushmans-footer__nav-title {
    font-family: var(--bushmans-font-display);
}

.bushmans-hero__quote p,
.bushmans-process__subtitle,
.bushmans-legacy__quote,
.bushmans-footer__address {
    font-family: var(--bushmans-font-body);
}

.bushmans-hero__cta,
.bushmans-btn,
.bushmans-legacy__label,
.bushmans-process__step-desc,
.bushmans-product-card__label p,
.bushmans-footer__form-fields,
.bushmans-footer__submit,
.bushmans-footer__bottom {
    font-family: var(--bushmans-font-ui);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.bushmans-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bushmans-hero__cover {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.bushmans-hero__cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

.bushmans-hero__cover .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

.bushmans-hero__quote {
    background: rgba(244, 241, 233, 0.9);
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Process Steps
   ========================================================================== */

.bushmans-process__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bushmans-process__number {
    margin: -16px -16px 0 0 !important;
}

.bushmans-process__steps {
    margin-top: var(--bushmans-space-xxl);
}

/* ==========================================================================
   Legacy Section
   ========================================================================== */

.bushmans-legacy__images {
    position: relative;
}

.bushmans-legacy__script {
    transform: rotate(-15deg);
    margin-bottom: 1em;
}

.bushmans-legacy__image-stack {
    position: relative;
}

.bushmans-legacy__image-overlay {
    position: absolute;
    bottom: -40px;
    right: -8%;
    max-width: 380px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */

.bushmans-product-card {
    position: relative;
}

.bushmans-product-card__image-wrap {
    overflow: hidden;
}

.bushmans-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bushmans-product-card__label {
    position: relative;
    margin-top: -24px;
    margin-left: -24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.bushmans-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bushmans-space-xl);
}

.bushmans-footer__nav-column {
    flex: 1;
    min-width: 150px;
}

.bushmans-footer__nav-column .wp-block-list,
.bushmans-footer__nav-column ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.bushmans-footer__nav-column li {
    list-style: none;
}

.bushmans-footer__nav-title {
    font-size: 14px !important;
}

.bushmans-footer__nav-column a {
    color: var(--bushmans-zeus);
    text-decoration: underline;
}

.bushmans-footer__nav-column a:hover {
    color: var(--bushmans-birch);
}

.bushmans-footer__form-fields input,
.bushmans-footer__form-fields textarea {
    width: 100%;
    padding: 17px 0 19px;
    border: none;
    border-bottom: 2px solid var(--bushmans-birch-10);
    background: transparent;
    font-family: var(--bushmans-font-body);
    font-size: 24px;
    line-height: 1;
    color: var(--bushmans-zeus);
}

.bushmans-footer__form-fields input::placeholder,
.bushmans-footer__form-fields textarea::placeholder {
    color: var(--bushmans-zeus-70);
}

.bushmans-footer__form-fields p {
    margin-bottom: var(--bushmans-space-s-plus);
}

.bushmans-footer__submit {
    display: inline-flex;
    align-items: center;
    gap: var(--bushmans-space-s-plus);
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: var(--bushmans-zeus);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5.6px;
    text-transform: uppercase;
    color: var(--bushmans-spring-wood);
    cursor: pointer;
}

.bushmans-footer__divider {
    border-color: var(--bushmans-birch-5);
    margin: var(--bushmans-space-xl-plus) 0 var(--bushmans-space-xxl);
}

.bushmans-footer__bottom {
    flex-wrap: wrap;
    align-items: center;
}

.bushmans-footer__bottom .bushmans-footer__logo img,
.bushmans-footer__bottom .bushmans-footer__logo .default-logo {
    display: block;
    width: 178px;
    height: auto;
    max-width: 100%;
}

.bushmans-footer__bottom a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.bushmans-btn .wp-block-button__link {
    font-family: var(--bushmans-font-ui);
}

/* ==========================================================================
   Responsive - Tablet (768px)
   ========================================================================== */

@media (max-width: 768px) {
    .bushmans-hero {
        min-height: auto !important;
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .bushmans-hero__heading {
        font-size: 80px !important;
    }

    .bushmans-process {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .bushmans-process__title {
        font-size: 48px !important;
    }

    .bushmans-process__steps {
        flex-direction: column;
    }

    .bushmans-process__step {
        flex-basis: 100% !important;
    }

    .bushmans-legacy {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .bushmans-legacy__columns {
        flex-direction: column;
    }

    .bushmans-legacy__title {
        font-size: 48px !important;
    }

    .bushmans-legacy__image-overlay {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1em;
    }

    .bushmans-products {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .bushmans-products__title {
        font-size: 48px !important;
    }

    .bushmans-products__grid {
        flex-direction: column;
    }

    .bushmans-footer {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .bushmans-footer__main {
        flex-direction: column;
    }

    .bushmans-footer__title {
        font-size: 64px !important;
    }

    .bushmans-footer__nav {
        flex-direction: column;
    }
}

/* ==========================================================================
   Responsive - Mobile (480px)
   ========================================================================== */

@media (max-width: 480px) {
    .bushmans-hero__heading {
        font-size: 48px !important;
    }

    .bushmans-hero__quote {
        max-width: 100%;
    }

    .bushmans-process__title {
        font-size: 36px !important;
    }

    .bushmans-legacy__title {
        font-size: 36px !important;
    }

    .bushmans-products__title {
        font-size: 36px !important;
    }

    .bushmans-footer__title {
        font-size: 48px !important;
    }

    .bushmans-footer__form-fields input,
    .bushmans-footer__form-fields textarea {
        font-size: 18px;
    }
}
