/* ============ SITE CUSTOM STYLES - Hawaii Foodbank ============ */

/* ---- Local demo banner ---- */
.site-local-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    padding: 10px 16px;
    background: #143d20;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    text-align: center;
    border-bottom: 2px solid #faa61a;
    z-index: 99999;
    position: relative;
}

.site-local-banner__label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #faa61a;
    color: #143d20;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-local-banner a {
    color: #b8e86a;
    text-decoration: underline;
    font-weight: 600;
}

.site-local-banner a:hover {
    color: #fff;
}

/* ---- Disabled / unavailable links ---- */
.link-disabled,
a[aria-disabled="true"],
.et_pb_button[aria-disabled="true"] {
    cursor: not-allowed !important;
    pointer-events: auto;
    opacity: 0.55;
    text-decoration: none !important;
}

.link-disabled:hover,
a[aria-disabled="true"]:hover,
.et_pb_button[aria-disabled="true"]:hover {
    color: inherit !important;
    opacity: 0.55;
}

.et_pb_section_0_tb_footer .link-disabled:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.is-disabled-feature,
.is-disabled-feature input,
.is-disabled-feature button {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(12px);
    padding: 12px 18px;
    background: #1d522c;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100000;
    max-width: min(92vw, 420px);
    text-align: center;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Typography ---- */
body {
    font-size: 16px;
    color: #2d2d2d;
    font-weight: 400;
}

body, input, select {
    font-family: "Figtree", Helvetica, Arial, Lucida, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #1d522c;
    font-family: "Afacad Flux", sans-serif;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
}

h2 { font-weight: 600; }
h3 { font-weight: 600; }
h4 { font-weight: 600; }
h5 { font-weight: 600; }

.et_pb_slide_description .et_pb_slide_title {
    font-weight: 600;
}

/* ---- Colors ---- */
a {
    color: #619a38;
}

#et_search_icon:hover,
.mobile_menu_bar:before,
.mobile_menu_bar:after,
.et_toggle_slide_menu:after,
.et-social-icon a:hover,
.et_pb_member_social_links a:hover,
.et_pb_widget li a:hover {
    color: #faa61a;
}

.et_pb_bg_layout_light .et_pb_promo_button {
    color: #faa61a;
}

.footer-widget li:before,
.et_pb_pricing li:before {
    border-color: #faa61a;
}

/* ---- Custom Background ---- */
body.custom-background {
    background-color: #619a38;
}

/* ---- Header Section ---- */
.et_pb_section_0_tb_header {
    padding: 0;
    background-color: #7DC248 !important;
}

.et_pb_row_0_tb_header {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* ---- Navigation ---- */
.ta-nav-btn {
    text-align: center !important;
}

.ta-nav-column {
    column-gap: 15px;
}

.ta-nav-cta {
    margin-left: 10px;
}

@media only screen and (max-width: 1280px) and (min-width: 980px) {
    .ta-small-screen-nav { display: block !important; }
    .ta-nav-cta { display: none !important; }
    .ta-top-navigation { display: none !important; }
    .ta-nav-column { column-gap: 0px; }
}

/* ---- Location Select ---- */
.location-select-wrapper {
    position: relative;
    width: 180px;
}

.location-select {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border-bottom-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
    border: 1px solid #ccc;
    font-size: 15px;
    background: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/></svg>");
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 18px 18px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
}

/* ---- Buttons ---- */
body .et_pb_button {
    font-size: 15px;
    border-radius: 0px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}

body .et_pb_button:after {
    font-size: 24px;
}

/* ---- Flip Boxes Custom ---- */
.dmpro_flip_box_0 .dmpro-flip-box-front-side,
.dmpro_flip_box_1 .dmpro-flip-box-front-side,
.dmpro_flip_box_2 .dmpro-flip-box-front-side {
    background-color: #619a38;
    min-height: 250px;
    border-radius: 8px;
}

.dmpro_flip_box_0 .dmpro-flip-box-back-side,
.dmpro_flip_box_1 .dmpro-flip-box-back-side,
.dmpro_flip_box_2 .dmpro-flip-box-back-side {
    background-color: #1d522c;
    min-height: 250px;
    border-radius: 8px;
}

/* ---- Hero Slider Custom ---- */
.et_pb_fullwidth_slider_1 .et_pb_slide_0 {
    background-image: url('https://hawaiifoodbank.org/wp-content/uploads/2025/08/slider-bg-1.jpg');
    background-size: cover;
    background-position: center;
}

.et_pb_fullwidth_slider_1 .et_pb_slide_1 {
    background-image: url('https://hawaiifoodbank.org/wp-content/uploads/2025/08/slider-bg-2.jpg');
    background-size: cover;
    background-position: center;
}

.et_pb_fullwidth_slider_1 .et_pb_slide_2 {
    background-image: url('https://hawaiifoodbank.org/wp-content/uploads/2025/08/slider-bg-3.jpg');
    background-size: cover;
    background-position: center;
}

.et_pb_fullwidth_slider_1 .et_pb_slide_3 {
    background-image: url('https://hawaiifoodbank.org/wp-content/uploads/2025/08/slider-bg-4.jpg');
    background-size: cover;
    background-position: center;
}

/* ---- Find Food Section ---- */
.et_pb_section_5 {
    background-color: #1d522c;
    color: #fff;
}

.et_pb_section_5 .et_pb_module_heading {
    color: #fff;
}

.et_pb_section_5 .et_pb_text_inner p {
    color: rgba(255, 255, 255, 0.9);
}

.et_pb_section_5 .et_pb_button {
    color: #fff;
    border-color: #fff;
}

.et_pb_section_5 .et_pb_button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.et_pb_divider_0 {
    background-image: url('https://hawaiifoodbank.org/wp-content/uploads/2025/08/find-food-image.jpg');
    background-size: cover;
    background-position: center;
    min-height: 350px;
    border-radius: 8px;
}

/* ---- Parallax Section ---- */
.et_pb_section_8 {
    padding: 80px 0;
    color: #fff;
}

.et_pb_section_8 .et_pb_module_heading {
    color: #fff;
}

.et_pb_section_8 .et_pb_text_inner p {
    color: rgba(255, 255, 255, 0.9);
}

.et_pb_section_8 .et_pb_button {
    color: #fff;
    border-color: #faa61a;
    background: #faa61a;
}

.et_pb_section_8 .et_pb_button:hover {
    background: #e89400;
    border-color: #e89400;
}

/* ---- Ways to Give Section ---- */
.et_pb_section_9 {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.et_pb_section_9 h6 {
    color: #619a38;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.et_pb_section_9 h2 {
    color: #1d522c;
}

.et_pb_blurb_9,
.et_pb_blurb_10,
.et_pb_blurb_11 {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* ---- Footer ---- */
.et_pb_section_0_tb_footer {
    background-color: #1d522c;
    color: #fff;
    padding: 60px 0;
}

.et_pb_section_0_tb_footer .et_pb_module_heading {
    color: #faa61a;
    font-size: 18px;
}

.et_pb_section_0_tb_footer .et_pb_text_inner,
.et_pb_section_0_tb_footer .et_pb_text_inner p,
.et_pb_section_0_tb_footer .et_pb_text_inner a {
    color: rgba(255, 255, 255, 0.8);
}

.et_pb_section_0_tb_footer .et_pb_text_inner a:hover {
    color: #faa61a;
}

.et_pb_section_3_tb_footer {
    background-color: #143d20;
    padding: 20px 0;
}

.et_pb_section_3_tb_footer .et_pb_text_inner,
.et_pb_section_3_tb_footer .et_pb_text_inner p,
.et_pb_section_3_tb_footer .et_pb_text_inner a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.et_pb_section_3_tb_footer .et_pb_text_inner a:hover {
    color: #faa61a;
}

/* ---- Email Signup Footer Form ---- */
.ta-footer-form {
    margin-top: 20px;
}

@media (min-width: 767px) {
    .et_pb_newsletter_fields .et_pb_newsletter_button_wrap {
        flex-basis: 165px !important;
    }
    .et_pb_newsletter_form .et_pb_newsletter_field {
        flex-basis: calc(100% - 165px) !important;
    }
}

/* ---- Mobile Menu ---- */
.mobile_menu_bar {
    display: block;
    position: relative;
    cursor: pointer;
    padding: 15px 0;
}

.mobile_menu_bar:before {
    content: "\2261";
    font-size: 32px;
    color: #619a38;
}

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: "M";
}

/* ---- Small Screen Row ---- */
.ta-row-small-screen {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ta-column-small-screen {
    flex: 1;
    min-width: 280px;
}

/* ---- Responsive Adjustments ---- */
@media only screen and (max-width: 980px) {
    .ta-row-small-screen {
        flex-direction: column;
    }

    .ta-column-small-screen {
        width: 100%;
    }

    .et_pb_text_align_center-tablet {
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .et_pb_text_align_center-tablet {
        text-align: center;
    }
}
