/* Ensure menu text is visible across all breakpoints */
/* Target standard Elementor menus and general WordPress menus */
body .elementor-nav-menu--main .elementor-item,
body .elementor-nav-menu--dropdown a,
body .menu-item a,
body .nav-menu a {
    color: #000000 !important; /* Force black for visibility against white/light backgrounds */
}

/* Ensure sub-menu items are visible */
body .elementor-nav-menu--dropdown a.elementor-sub-item,
body .sub-menu a {
    color: #333333 !important;
}

/* Specific fix for the maroon header on the home page (ID 1131) */
body.page-id-1131 .site-header a,
body.page-id-1131 .c-header a,
body.page-id-1131 header a,
body.page-id-1131 .elementor-location-header a {
  color: #ffffff !important; /* Force white text on maroon header */
}

/* Hover states for the home page header */
body.page-id-1131 .site-header a:hover,
body.page-id-1131 .c-header a:hover,
body.page-id-1131 header a:hover,
body.page-id-1131 .elementor-location-header a:hover {
  color: #d8c3c7 !important; /* Soft contrast for hover */
}

/* Hover states for standard menus */
body .elementor-nav-menu--main .elementor-item:hover,
body .elementor-nav-menu--dropdown a:hover,
body .menu-item a:hover {
    color: #6f1022 !important; /* Use the brand maroon color for hover */
}


/* --- Mobile Specific Fixes --- */
@media (max-width: 768px) {
    /* Menu text visibility inside mobile toggle/dropdown */
    body .elementor-nav-menu--dropdown,
    body .elementor-nav-menu--dropdown a,
    body .mobile-menu a,
    body .menu-item a {
        color: #000000 !important; /* Black text for mobile menus assuming white background */
    }

    /* Force the background of the mobile menu to white to ensure contrast */
    body .elementor-nav-menu--dropdown,
    body .mobile-menu,
    body .menu-wrapper {
        background-color: #ffffff !important;
    }

	/* Search bar text color fix for mobile */
	body .search-field, 
	body input[type="search"], 
	body .elementor-search-form__input,
	body .elementor-widget-search-form input[type="search"],
	body .woocommerce-product-search input[type="search"],
    body form.search-form input.search-field {
		color: #ffffff !important; /* Force white text */
		-webkit-text-fill-color: #ffffff !important; /* For iOS Safari */
        background-color: rgba(0,0,0,0.5) !important; /* Add a semi-transparent dark background so white text is visible */
	}
	
	/* Focus state for mobile search */
	body .search-field:focus, 
	body input[type="search"]:focus, 
	body .elementor-search-form__input:focus {
		color: #ffffff !important;
        background-color: rgba(0,0,0,0.8) !important;
	}
	
	/* Placeholder text color */
	body .search-field::placeholder, 
	body input[type="search"]::placeholder, 
	body .elementor-search-form__input::placeholder {
		color: rgba(255, 255, 255, 0.8) !important;
	}
}
