/*
Theme Name: HoneyBizz Child
Description: Child theme for HoneyBizz
Author: 3L Strategy
Template: twentytwentyfive
Version: 1.0.0
*/

/* Your custom CSS goes below */
/* Remove gap between content and footer */
.wp-site-blocks > footer {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
}

main#wp--skip-link-target > * {
    outline: 2px solid red !important;
}

/* Footer */
.wp-site-blocks > footer {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
}

/* Last section before footer */
main#wp--skip-link-target > :last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
}



/* =========================================
   HONEYBIZZ - CONTACT FORM 7
   ========================================= */

.honeybizz-contact-form {
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    color: #111111;
}

/* Form title */
.honeybizz-contact-form h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 28px 0;
}

/* Labels */
.honeybizz-contact-form label {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* CF7 field wrappers */
.honeybizz-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 7px;
}

/* Inputs, selects and textarea */
.honeybizz-contact-form input[type="text"],
.honeybizz-contact-form input[type="email"],
.honeybizz-contact-form input[type="tel"],
.honeybizz-contact-form select,
.honeybizz-contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    background: #ffffff;
    color: #222222;

    border: 1px solid #d9d9d9;
    border-radius: 8px;

    padding: 12px 14px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Normal fields */
.honeybizz-contact-form input[type="text"],
.honeybizz-contact-form input[type="email"],
.honeybizz-contact-form input[type="tel"],
.honeybizz-contact-form select {
    min-height: 48px;
}

/* Message textarea */
.honeybizz-contact-form textarea {
    min-height: 145px;
    resize: vertical;
}

/* Placeholder */
.honeybizz-contact-form input::placeholder,
.honeybizz-contact-form textarea::placeholder {
    color: #9a9a9a;
    opacity: 1;
}

/* Select */
.honeybizz-contact-form select {
    cursor: pointer;
    color: #666666;
}

/* Focus */
.honeybizz-contact-form input:focus,
.honeybizz-contact-form select:focus,
.honeybizz-contact-form textarea:focus {
    border-color: #ffb21c;
    box-shadow: 0 0 0 3px rgba(255, 178, 28, 0.12);
}

/* Submit container */
.honeybizz-submit {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Submit button */
.honeybizz-contact-form input[type="submit"] {
    width: auto;

    background: linear-gradient(
        135deg,
        #ffb000 0%,
        #ffc337 100%
    );

    color: #ffffff;

    border: none;
    border-radius: 999px;

    padding: 13px 32px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Submit hover */
.honeybizz-contact-form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 176, 0, 0.25);
}

/* Submit active */
.honeybizz-contact-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Remove unnecessary CF7 paragraph spacing */
.honeybizz-contact-form p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Validation errors */
.honeybizz-contact-form .wpcf7-not-valid {
    border-color: #dc3232 !important;
}

.honeybizz-contact-form .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 5px;
}

/* CF7 response */
.honeybizz-contact-form + .wpcf7-response-output,
.wpcf7 .honeybizz-contact-form ~ .wpcf7-response-output {
    border-radius: 8px;
    padding: 12px 15px;
    margin: 20px 0 0 0;
    font-size: 14px;
}

/* Spinner */
.honeybizz-contact-form .wpcf7-spinner {
    margin: 0 0 0 10px;
}

/* Mobile */
@media (max-width: 600px) {

    .honeybizz-contact-form h2 {
        font-size: 24px;
    }

    .honeybizz-contact-form label {
        margin-bottom: 16px;
    }

    .honeybizz-contact-form input[type="submit"] {
        width: 100%;
    }
}